Class ForgeEventFactoryClient

java.lang.Object
net.minecraftforge.client.event.ForgeEventFactoryClient

public class ForgeEventFactoryClient extends Object
  • Constructor Details

    • ForgeEventFactoryClient

      public ForgeEventFactoryClient()
  • Method Details

    • post

      private static boolean post(net.minecraftforge.eventbus.api.Event e)
    • fire

      private static <E extends net.minecraftforge.eventbus.api.Event> E fire(E e)
    • gatherLayers

      public static void gatherLayers(Map<EntityType<?>,EntityRenderer<?>> renderers, Map<PlayerSkin.Model,EntityRenderer<? extends Player>> playerRenderers, EntityRendererProvider.Context context)
    • onScreenMouseReleasedPre

      public static boolean onScreenMouseReleasedPre(Screen guiScreen, double mouseX, double mouseY, int button)
    • onScreenMouseReleasedPost

      public static boolean onScreenMouseReleasedPost(Screen guiScreen, double mouseX, double mouseY, int button, boolean handled)
    • onScreenMouseClickedPre

      public static boolean onScreenMouseClickedPre(Screen guiScreen, double mouseX, double mouseY, int button)
    • onScreenMouseClickedPost

      public static boolean onScreenMouseClickedPost(Screen guiScreen, double mouseX, double mouseY, int button, boolean handled)
    • onMouseButtonPre

      public static boolean onMouseButtonPre(int button, int action, int mods)
    • onMouseButtonPost

      public static void onMouseButtonPost(int button, int action, int mods)
    • onScreenMouseScrollPre

      public static boolean onScreenMouseScrollPre(Screen guiScreen, double mouseX, double mouseY, double deltaX, double deltaY)
    • onScreenMouseScrollPost

      public static void onScreenMouseScrollPost(Screen guiScreen, double mouseX, double mouseY, double deltaX, double deltaY)
    • onMouseScroll

      public static boolean onMouseScroll(MouseHandler mouseHelper, double deltaX, double deltaY)
    • onScreenMouseDragPre

      public static boolean onScreenMouseDragPre(Screen guiScreen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
    • onScreenMouseDragPost

      public static void onScreenMouseDragPost(Screen guiScreen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
    • onScreenOpening

      @Nullable public static @Nullable Screen onScreenOpening(Screen old, Screen screen)
    • onScreenClose

      public static void onScreenClose(Screen screen)