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
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterCapabilitiesLoaded(net.neoforged.fml.event.lifecycle.InterModEnqueueEvent event) static voidLog a new info message for this mod.static voidLog a new message of the given level for this mod.protected org.cyclops.cyclopscore.proxy.IClientProxyprotected org.cyclops.cyclopscore.proxy.ICommonProxyClass<?>[]protected booleanprotected voidloadModCompats(org.cyclops.cyclopscore.modcompat.ModCompatLoader modCompatLoader) protected voidonConfigsRegister(org.cyclops.cyclopscore.config.ConfigHandlerCommon configHandler) voidonRegister(net.neoforged.neoforge.registries.NewRegistryEvent event) voidonRegistriesLoad(net.neoforged.neoforge.registries.RegisterEvent event) protected voidsetup(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, onServerStarted, onServerStarting, onServerStopping, putGenericReference, registerGameTests, registerWorldStorage, setupClientMethods inherited from class org.cyclops.cyclopscore.helper.ModBaseCommon
constructDefaultCreativeModeTab, constructDefaultCreativeModeTabConfig, constructModCompatLoader, constructRegistryManager, equals, getCommon, getCommonMods, getDefaultCreativeTab, getDefaultCreativeTabEntries, getLoggerHelper, getModCompatLoader, getModId, getRegistryManager, hashCode, registerDefaultCreativeTabEntry, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
setupin classorg.cyclops.cyclopscore.init.ModBaseNeoForge<CommonCapabilities>
-
loadModCompats
protected void loadModCompats(org.cyclops.cyclopscore.modcompat.ModCompatLoader modCompatLoader) - Overrides:
loadModCompatsin classorg.cyclops.cyclopscore.helper.ModBaseCommon<CommonCapabilities>
-
constructClientProxy
protected org.cyclops.cyclopscore.proxy.IClientProxy constructClientProxy()- Specified by:
constructClientProxyin classorg.cyclops.cyclopscore.init.ModBaseNeoForge<CommonCapabilities>
-
constructCommonProxy
protected org.cyclops.cyclopscore.proxy.ICommonProxy constructCommonProxy()- Specified by:
constructCommonProxyin classorg.cyclops.cyclopscore.init.ModBaseNeoForge<CommonCapabilities>
-
hasDefaultCreativeModeTab
protected boolean hasDefaultCreativeModeTab()- Overrides:
hasDefaultCreativeModeTabin classorg.cyclops.cyclopscore.helper.ModBaseCommon<CommonCapabilities>
-
onConfigsRegister
protected void onConfigsRegister(org.cyclops.cyclopscore.config.ConfigHandlerCommon configHandler) - Overrides:
onConfigsRegisterin classorg.cyclops.cyclopscore.helper.ModBaseCommon<CommonCapabilities>
-
getGameTestClasses
- Overrides:
getGameTestClassesin 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.
-