Package net.minecraftforge.fml.hooks
Class BasicEventHooks
java.lang.Object
net.minecraftforge.fml.hooks.BasicEventHooks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfirePlayerChangedDimensionEvent(PlayerEntity player, RegistryKey<World> fromDim, RegistryKey<World> toDim) static voidfirePlayerCraftingEvent(PlayerEntity player, ItemStack crafted, IInventory craftMatrix) static voidfirePlayerItemPickupEvent(PlayerEntity player, ItemEntity item, ItemStack clone) static voidfirePlayerLoggedIn(PlayerEntity player) static voidfirePlayerLoggedOut(PlayerEntity player) static voidfirePlayerRespawnEvent(PlayerEntity player, boolean endConquered) static voidfirePlayerSmeltedEvent(PlayerEntity player, ItemStack smelted) static voidonPlayerPostTick(PlayerEntity player) static voidonPlayerPreTick(PlayerEntity player) static voidstatic voidstatic voidonPostWorldTick(World world) static voidstatic voidstatic voidonPreWorldTick(World world) static voidonRenderTickEnd(float timer) static voidonRenderTickStart(float timer)
-
Constructor Details
-
BasicEventHooks
public BasicEventHooks()
-
-
Method Details
-
firePlayerChangedDimensionEvent
public static void firePlayerChangedDimensionEvent(PlayerEntity player, RegistryKey<World> fromDim, RegistryKey<World> toDim) -
firePlayerLoggedIn
-
firePlayerLoggedOut
-
firePlayerRespawnEvent
-
firePlayerItemPickupEvent
-
firePlayerCraftingEvent
public static void firePlayerCraftingEvent(PlayerEntity player, ItemStack crafted, IInventory craftMatrix) -
firePlayerSmeltedEvent
-
onRenderTickStart
public static void onRenderTickStart(float timer) -
onRenderTickEnd
public static void onRenderTickEnd(float timer) -
onPlayerPreTick
-
onPlayerPostTick
-
onPreWorldTick
-
onPostWorldTick
-
onPreClientTick
public static void onPreClientTick() -
onPostClientTick
public static void onPostClientTick() -
onPreServerTick
public static void onPreServerTick() -
onPostServerTick
public static void onPostServerTick()
-