Klasse BundleEvents

java.lang.Object
de.luckymcdev.foundryengine.common.event.BundleEvents

public class BundleEvents extends Object
  • Felddetails

    • REGISTRY

      public static final EventGroupHolder<RegistryEvent> REGISTRY
    • VANILLA_GAME

      public static final EventGroupHolder<net.neoforged.neoforge.event.VanillaGameEvent> VANILLA_GAME
    • COMMON_SETUP

      public static final EventGroupHolder<net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent> COMMON_SETUP
    • CLIENT_SETUP

      public static final EventGroupHolder<net.neoforged.fml.event.lifecycle.FMLClientSetupEvent> CLIENT_SETUP
    • DEDICATED_SERVER_SETUP

      public static final EventGroupHolder<net.neoforged.fml.event.lifecycle.FMLDedicatedServerSetupEvent> DEDICATED_SERVER_SETUP
    • POST_INIT

      public static final EventGroupHolder<net.neoforged.fml.event.lifecycle.InterModProcessEvent> POST_INIT
    • DATA_GEN

      public static final EventGroupHolder<BundleDataGenEvent> DATA_GEN
  • Konstruktordetails

    • BundleEvents

      public BundleEvents()
  • Methodendetails

    • custom

      public static <T extends net.neoforged.bus.api.Event> void custom(Class<T> eventClass, EventCallback<T> callback)
    • registry

      public static void registry(EventCallback<RegistryEvent> callback)
    • vanillaGame

      public static void vanillaGame(EventCallback<net.neoforged.neoforge.event.VanillaGameEvent> callback)
    • commonSetup

      public static void commonSetup(EventCallback<net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent> callback)
    • clientSetup

      public static void clientSetup(EventCallback<net.neoforged.fml.event.lifecycle.FMLClientSetupEvent> callback)
    • dedicatedServerSetup

      public static void dedicatedServerSetup(EventCallback<net.neoforged.fml.event.lifecycle.FMLDedicatedServerSetupEvent> callback)
    • postInit

      public static void postInit(EventCallback<net.neoforged.fml.event.lifecycle.InterModProcessEvent> callback)
    • dataGen

      public static void dataGen(EventCallback<BundleDataGenEvent> callback)