Class MineColonies

java.lang.Object
com.minecolonies.core.MineColonies

public class MineColonies extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    MineColonies(net.neoforged.fml.javafmlmod.FMLModContainer modContainer, net.neoforged.api.distmarker.Dist dist)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    createEntityAttribute(net.neoforged.neoforge.event.entity.EntityAttributeCreationEvent event)
     
    static com.ldtteam.common.config.Configurations<ClientConfiguration,ServerConfiguration,CommonConfiguration>
    Get the config handler.
    static void
    onLoadComplete(net.neoforged.fml.event.lifecycle.FMLLoadCompleteEvent event)
    Called when MC loading is about to finish.
    static void
    onNetworkRegistry(net.neoforged.neoforge.network.event.RegisterPayloadHandlersEvent event)
     
    static void
    preInit(@NotNull net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
    Event handler for forge pre init event.
    static void
    registerCaps(net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent event)
    High event priority so we register before forge defaults.
    static void
    registerNewRegistries(net.neoforged.neoforge.registries.NewRegistryEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MineColonies

      public MineColonies(net.neoforged.fml.javafmlmod.FMLModContainer modContainer, net.neoforged.api.distmarker.Dist dist)
  • Method Details

    • registerNewRegistries

      public static void registerNewRegistries(net.neoforged.neoforge.registries.NewRegistryEvent event)
    • preInit

      public static void preInit(@NotNull @NotNull net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
      Event handler for forge pre init event.
      Parameters:
      event - the forge pre init event.
    • registerCaps

      public static void registerCaps(net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent event)
      High event priority so we register before forge defaults.
    • createEntityAttribute

      public static void createEntityAttribute(net.neoforged.neoforge.event.entity.EntityAttributeCreationEvent event)
    • onLoadComplete

      public static void onLoadComplete(net.neoforged.fml.event.lifecycle.FMLLoadCompleteEvent event)
      Called when MC loading is about to finish.
      Parameters:
      event - event
    • getConfig

      public static com.ldtteam.common.config.Configurations<ClientConfiguration,ServerConfiguration,CommonConfiguration> getConfig()
      Get the config handler.
      Returns:
      the config handler.
    • onNetworkRegistry

      public static void onNetworkRegistry(net.neoforged.neoforge.network.event.RegisterPayloadHandlersEvent event)