Class BasicEventHooks

java.lang.Object
net.minecraftforge.fmllegacy.hooks.BasicEventHooks

public class BasicEventHooks extends Object
  • Constructor Details

    • BasicEventHooks

      public BasicEventHooks()
  • Method Details

    • firePlayerChangedDimensionEvent

      public static void firePlayerChangedDimensionEvent​(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim)
    • firePlayerLoggedIn

      public static void firePlayerLoggedIn​(Player player)
    • firePlayerLoggedOut

      public static void firePlayerLoggedOut​(Player player)
    • firePlayerRespawnEvent

      public static void firePlayerRespawnEvent​(Player player, boolean endConquered)
    • firePlayerItemPickupEvent

      public static void firePlayerItemPickupEvent​(Player player, ItemEntity item, ItemStack clone)
    • firePlayerCraftingEvent

      public static void firePlayerCraftingEvent​(Player player, ItemStack crafted, Container craftMatrix)
    • firePlayerSmeltedEvent

      public static void firePlayerSmeltedEvent​(Player player, ItemStack smelted)
    • onRenderTickStart

      public static void onRenderTickStart​(float timer)
    • onRenderTickEnd

      public static void onRenderTickEnd​(float timer)
    • onPlayerPreTick

      public static void onPlayerPreTick​(Player player)
    • onPlayerPostTick

      public static void onPlayerPostTick​(Player player)
    • onPreWorldTick

      public static void onPreWorldTick​(Level world)
    • onPostWorldTick

      public static void onPostWorldTick​(Level world)
    • onPreClientTick

      public static void onPreClientTick()
    • onPostClientTick

      public static void onPostClientTick()
    • onPreServerTick

      public static void onPreServerTick()
    • onPostServerTick

      public static void onPostServerTick()