Class CyclopsCoreNeoForge

java.lang.Object
org.cyclops.cyclopscore.helper.ModBaseCommon<CyclopsCoreNeoForge>
org.cyclops.cyclopscore.init.ModBaseNeoForge<CyclopsCoreNeoForge>
org.cyclops.cyclopscore.CyclopsCoreNeoForge
All Implemented Interfaces:
org.cyclops.cyclopscore.init.IModBase

public class CyclopsCoreNeoForge extends ModBaseNeoForge<CyclopsCoreNeoForge>
The main mod class of CyclopsCore.
  • Field Details

  • Constructor Details

    • CyclopsCoreNeoForge

      public CyclopsCoreNeoForge(net.neoforged.bus.api.IEventBus modEventBus)
  • Method Details

    • constructClientProxy

      protected IClientProxy constructClientProxy()
      Specified by:
      constructClientProxy in class ModBaseNeoForge<CyclopsCoreNeoForge>
    • constructCommonProxy

      protected ICommonProxy constructCommonProxy()
      Specified by:
      constructCommonProxy in class ModBaseNeoForge<CyclopsCoreNeoForge>
    • constructModCompatLoader

      protected org.cyclops.cyclopscore.modcompat.ModCompatLoader constructModCompatLoader()
      Overrides:
      constructModCompatLoader in class org.cyclops.cyclopscore.helper.ModBaseCommon<CyclopsCoreNeoForge>
    • constructBaseCommand

      protected com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack> constructBaseCommand(net.minecraft.commands.Commands.CommandSelection selection, net.minecraft.commands.CommandBuildContext context)
      Overrides:
      constructBaseCommand in class ModBaseNeoForge<CyclopsCoreNeoForge>
    • setup

      protected void setup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
      Description copied from class: ModBaseNeoForge
      Called on the Forge setup lifecycle event.
      Overrides:
      setup in class ModBaseNeoForge<CyclopsCoreNeoForge>
      Parameters:
      event - The setup event.
    • onServerStarting

      protected void onServerStarting(net.neoforged.neoforge.event.server.ServerStartingEvent event)
      Description copied from class: ModBaseNeoForge
      Register the things that are related to when the server is starting.
      Overrides:
      onServerStarting in class ModBaseNeoForge<CyclopsCoreNeoForge>
      Parameters:
      event - The Forge server starting event.
    • hasDefaultCreativeModeTab

      protected boolean hasDefaultCreativeModeTab()
      Overrides:
      hasDefaultCreativeModeTab in class org.cyclops.cyclopscore.helper.ModBaseCommon<CyclopsCoreNeoForge>
    • onConfigsRegister

      public void onConfigsRegister(org.cyclops.cyclopscore.config.ConfigHandlerCommon configHandler)
      Overrides:
      onConfigsRegister in class org.cyclops.cyclopscore.helper.ModBaseCommon<CyclopsCoreNeoForge>
    • isLoaded

      public boolean isLoaded()
      Returns:
      If this mod has been fully loaded. (The FMLLoadCompleteEvent has been called)
    • clog

      public static void clog(String message)
      Log a new info message for this mod.
      Parameters:
      message - The message to show.
    • clog

      public static void clog(org.apache.logging.log4j.Level level, String message)
      Log a new message of the given level for this mod.
      Parameters:
      level - The level in which the message must be shown.
      message - The message to show.