Class CommonCapabilities

java.lang.Object
org.cyclops.cyclopscore.helper.ModBaseCommon<CommonCapabilities>
org.cyclops.cyclopscore.init.ModBase<CommonCapabilities>
org.cyclops.cyclopscore.init.ModBaseVersionable<CommonCapabilities>
org.cyclops.commoncapabilities.CommonCapabilities
All Implemented Interfaces:
org.cyclops.cyclopscore.init.IModBase, org.cyclops.cyclopscore.tracking.IModVersion

public class CommonCapabilities extends org.cyclops.cyclopscore.init.ModBaseVersionable<CommonCapabilities>
The main mod class of this mod.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.cyclops.cyclopscore.init.ModBase

    org.cyclops.cyclopscore.init.ModBase.EnumReferenceKey<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The unique instance of this mod.

    Fields inherited from class org.cyclops.cyclopscore.init.ModBase

    REFKEY_CRASH_ON_INVALID_RECIPE, REFKEY_CRASH_ON_MODCOMPAT_CRASH, REFKEY_INFOBOOK_REWARDS, REFKEY_RETROGEN, REFKEY_TEXTURE_PATH_GUI, REFKEY_TEXTURE_PATH_MODELS, REFKEY_TEXTURE_PATH_SKINS
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommonCapabilities(net.neoforged.bus.api.IEventBus modEventBus)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterCapabilitiesLoaded(net.neoforged.fml.event.lifecycle.InterModEnqueueEvent event)
     
    static void
    clog(String message)
    Log a new info message for this mod.
    static void
    clog(org.apache.logging.log4j.Level level, String message)
    Log a new message of the given level for this mod.
    protected org.cyclops.cyclopscore.proxy.IClientProxy
     
    protected org.cyclops.cyclopscore.proxy.ICommonProxy
     
    protected boolean
     
    protected void
    loadModCompats(org.cyclops.cyclopscore.modcompat.ModCompatLoader modCompatLoader)
     
    protected void
    onConfigsRegister(org.cyclops.cyclopscore.config.ConfigHandler configHandler)
     
    void
    onRegister(net.neoforged.neoforge.registries.NewRegistryEvent event)
     
    void
    onRegistriesLoad(net.neoforged.neoforge.registries.RegisterEvent event)
     
    protected void
    setup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
     

    Methods inherited from class org.cyclops.cyclopscore.init.ModBaseVersionable

    getInfo, getUpdateUrl, getVersion, isVersionInfo, needsUpdate, setVersionInfo

    Methods inherited from class org.cyclops.cyclopscore.init.ModBase

    constructBaseCommand, constructCapabilityConstructorRegistry, constructConfigHandler, constructIMCHandler, constructLoggerHelper, constructPacketHandler, equals, get, getCapabilityConstructorRegistry, getConfigHandler, getContainer, getGenericReference, getImcHandler, getKeyRegistry, getLoggerHelper, getModEventBus, getModHelpers, getModId, getModName, getMods, getPacketHandler, getPacketHandlerCommon, getProxy, getReferenceValue, getWorldStorages, hashCode, log, log, onConfigsRegister, onRegisterCommands, onRegisterKeyMappings, onServerAboutToStart, onServerStarted, onServerStarting, onServerStopping, putGenericReference, registerWorldStorage, setupClient, toString

    Methods inherited from class org.cyclops.cyclopscore.helper.ModBaseCommon

    constructDefaultCreativeModeTab, constructDefaultCreativeModeTabConfig, constructModCompatLoader, constructRegistryManager, getCommon, getCommonMods, getDefaultCreativeTab, getDefaultCreativeTabEntries, getModCompatLoader, getRegistryManager, registerDefaultCreativeTabEntry

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • CommonCapabilities

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

    • setup

      protected void setup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
      Overrides:
      setup in class org.cyclops.cyclopscore.init.ModBase<CommonCapabilities>
    • loadModCompats

      protected void loadModCompats(org.cyclops.cyclopscore.modcompat.ModCompatLoader modCompatLoader)
      Overrides:
      loadModCompats in class org.cyclops.cyclopscore.init.ModBase<CommonCapabilities>
    • constructClientProxy

      protected org.cyclops.cyclopscore.proxy.IClientProxy constructClientProxy()
      Specified by:
      constructClientProxy in class org.cyclops.cyclopscore.init.ModBase<CommonCapabilities>
    • constructCommonProxy

      protected org.cyclops.cyclopscore.proxy.ICommonProxy constructCommonProxy()
      Specified by:
      constructCommonProxy in class org.cyclops.cyclopscore.init.ModBase<CommonCapabilities>
    • hasDefaultCreativeModeTab

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

      protected void onConfigsRegister(org.cyclops.cyclopscore.config.ConfigHandler configHandler)
      Overrides:
      onConfigsRegister in class org.cyclops.cyclopscore.init.ModBase<CommonCapabilities>
    • onRegister

      public void onRegister(net.neoforged.neoforge.registries.NewRegistryEvent event)
    • onRegistriesLoad

      public void onRegistriesLoad(net.neoforged.neoforge.registries.RegisterEvent event)
    • afterCapabilitiesLoaded

      public void afterCapabilitiesLoaded(net.neoforged.fml.event.lifecycle.InterModEnqueueEvent event)
    • 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.