Class CommonEvents

java.lang.Object
com.petrolpark.event.CommonEvents

public class CommonEvents extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addReloadListeners(net.minecraftforge.event.AddReloadListenerEvent event)
     
    static void
    onAttachCapabilitiesEntity(net.minecraftforge.event.AttachCapabilitiesEvent<net.minecraft.world.entity.Entity> event)
     
    static void
    onPlayerCloned(net.minecraftforge.event.entity.player.PlayerEvent.Clone event)
     
    static void
    onPotionBrewed(net.minecraftforge.event.brewing.PotionBrewEvent.Post event)
    Preserve Contaminants of Potions, and start decaying newly brewed Potions.
    static void
    onTickLevel(net.minecraftforge.event.TickEvent.LevelTickEvent event)
     
    static void
    registerCommands(net.minecraftforge.event.RegisterCommandsEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommonEvents

      public CommonEvents()
  • Method Details

    • registerCommands

      public static void registerCommands(net.minecraftforge.event.RegisterCommandsEvent event)
    • onTickLevel

      public static void onTickLevel(net.minecraftforge.event.TickEvent.LevelTickEvent event)
    • addReloadListeners

      public static void addReloadListeners(net.minecraftforge.event.AddReloadListenerEvent event)
    • onAttachCapabilitiesEntity

      public static void onAttachCapabilitiesEntity(net.minecraftforge.event.AttachCapabilitiesEvent<net.minecraft.world.entity.Entity> event)
    • onPlayerCloned

      public static void onPlayerCloned(net.minecraftforge.event.entity.player.PlayerEvent.Clone event)
    • onPotionBrewed

      public static void onPotionBrewed(net.minecraftforge.event.brewing.PotionBrewEvent.Post event)
      Preserve Contaminants of Potions, and start decaying newly brewed Potions.
      Parameters:
      event -