Package org.cyclops.commoncapabilities
Class CommonCapabilities
java.lang.Object
org.cyclops.cyclopscore.helper.ModBaseCommon<CommonCapabilities>
org.cyclops.cyclopscore.init.ModBaseNeoForge<CommonCapabilities>
org.cyclops.commoncapabilities.CommonCapabilities
- All Implemented Interfaces:
org.cyclops.cyclopscore.init.IModBase
public class CommonCapabilities
extends org.cyclops.cyclopscore.init.ModBaseNeoForge<CommonCapabilities>
The main mod class of this mod.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.cyclopscore.init.ModBaseNeoForge
org.cyclops.cyclopscore.init.ModBaseNeoForge.EnumReferenceKey<T>
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.init.ModBaseNeoForge
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterCapabilitiesLoaded
(net.neoforged.fml.event.lifecycle.InterModEnqueueEvent event) static void
Log a new info message for this mod.static void
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.ConfigHandlerCommon 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.ModBaseNeoForge
constructBaseCommand, constructCapabilityConstructorRegistry, constructConfigHandler, constructIMCHandler, constructLoggerHelper, constructPacketHandler, get, getCapabilityConstructorRegistry, getConfigHandler, getContainer, getGenericReference, getImcHandler, getKeyRegistry, getModEventBus, getModHelpers, getModName, getMods, getPacketHandler, getProxy, getReferenceValue, getWorldStorages, onRegisterCommands, onRegisterKeyMappings, onServerAboutToStart, onServerStarted, onServerStarting, onServerStopping, putGenericReference, registerWorldStorage, setupClient
Methods inherited from class org.cyclops.cyclopscore.helper.ModBaseCommon
constructDefaultCreativeModeTab, constructDefaultCreativeModeTabConfig, constructModCompatLoader, constructRegistryManager, equals, getCommon, getCommonMods, getDefaultCreativeTab, getDefaultCreativeTabEntries, getLoggerHelper, getModCompatLoader, getModId, getRegistryManager, hashCode, registerDefaultCreativeTabEntry, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.cyclops.cyclopscore.init.IModBase
log, log
-
Field Details
-
_instance
The unique instance of this mod.
-
-
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 classorg.cyclops.cyclopscore.init.ModBaseNeoForge<CommonCapabilities>
-
loadModCompats
protected void loadModCompats(org.cyclops.cyclopscore.modcompat.ModCompatLoader modCompatLoader) - Overrides:
loadModCompats
in classorg.cyclops.cyclopscore.helper.ModBaseCommon<CommonCapabilities>
-
constructClientProxy
protected org.cyclops.cyclopscore.proxy.IClientProxy constructClientProxy()- Specified by:
constructClientProxy
in classorg.cyclops.cyclopscore.init.ModBaseNeoForge<CommonCapabilities>
-
constructCommonProxy
protected org.cyclops.cyclopscore.proxy.ICommonProxy constructCommonProxy()- Specified by:
constructCommonProxy
in classorg.cyclops.cyclopscore.init.ModBaseNeoForge<CommonCapabilities>
-
hasDefaultCreativeModeTab
protected boolean hasDefaultCreativeModeTab()- Overrides:
hasDefaultCreativeModeTab
in classorg.cyclops.cyclopscore.helper.ModBaseCommon<CommonCapabilities>
-
onConfigsRegister
protected void onConfigsRegister(org.cyclops.cyclopscore.config.ConfigHandlerCommon configHandler) - Overrides:
onConfigsRegister
in classorg.cyclops.cyclopscore.helper.ModBaseCommon<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
Log a new info message for this mod.- Parameters:
message
- The message to show.
-
clog
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.
-