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