Package net.minecraftforge.fml.hooks
Class BasicEventHooks
java.lang.Object
net.minecraftforge.fml.hooks.BasicEventHooks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
firePlayerChangedDimensionEvent
(PlayerEntity player, RegistryKey<World> fromDim, RegistryKey<World> toDim) static void
firePlayerCraftingEvent
(PlayerEntity player, ItemStack crafted, IInventory craftMatrix) static void
firePlayerItemPickupEvent
(PlayerEntity player, ItemEntity item, ItemStack clone) static void
firePlayerLoggedIn
(PlayerEntity player) static void
firePlayerLoggedOut
(PlayerEntity player) static void
firePlayerRespawnEvent
(PlayerEntity player, boolean endConquered) static void
firePlayerSmeltedEvent
(PlayerEntity player, ItemStack smelted) static void
onPlayerPostTick
(PlayerEntity player) static void
onPlayerPreTick
(PlayerEntity player) static void
static void
static void
onPostWorldTick
(World world) static void
static void
static void
onPreWorldTick
(World world) static void
onRenderTickEnd
(float timer) static void
onRenderTickStart
(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()
-