Class BlockEnergyBatteryConfig
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<org.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon<IntegratedDynamics>,net.minecraft.world.level.block.Block,IntegratedDynamics>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigRegistry<org.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon<IntegratedDynamics>,net.minecraft.world.level.block.Block,IntegratedDynamics>
org.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon<IntegratedDynamics>
org.cyclops.integrateddynamics.block.BlockEnergyBatteryConfig
- All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<org.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon<IntegratedDynamics>,,net.minecraft.world.level.block.Block, IntegratedDynamics>> org.cyclops.cyclopscore.config.extendedconfig.IModelProviderConfig
public class BlockEnergyBatteryConfig
extends org.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon<IntegratedDynamics>
Config for
BlockEnergyBattery.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intstatic intstatic intstatic intFields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
configProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable org.cyclops.cyclopscore.config.extendedconfig.BlockClientConfig<IntegratedDynamics> protected Collection<net.minecraft.world.item.ItemStack> protected voidfillCreativeTab(net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent event) Collection<net.minecraft.world.item.ItemStack> protected voidregisterCapability(net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent event) Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon
createDefaultItemProperties, getBlockClientConfig, getConfigurableType, getDefaultItemConstructor, getDefaultItemConstructor, getFullTranslationKey, getItemConstructor, getItemInstance, getModelName, getRegistry, getTranslationKey, setItemInstanceMethods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigRegistry
getResourceKeyMethods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
addInstanceTransformer, compareTo, downCast, getConfigPropertyPrefix, getElementConstructor, getInstance, getMod, getNamedId, getSubUniqueName, initializeInstance, onConfigPropertyReload, onRegistered, onRegistryRegistered, save, showDoubleInitError
-
Field Details
-
capacity
public static int capacity -
energyRateCapacityFraction
public static int energyRateCapacityFraction -
minEnergyRate
public static int minEnergyRate -
maxCreativeTabCapacity
public static int maxCreativeTabCapacity -
maxCreativeCapacity
public static int maxCreativeCapacity
-
-
Constructor Details
-
BlockEnergyBatteryConfig
public BlockEnergyBatteryConfig()
-
-
Method Details
-
registerCapability
protected void registerCapability(net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent event) -
fillCreativeTab
protected void fillCreativeTab(net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent event) -
getDefaultCreativeTabEntries
- Overrides:
getDefaultCreativeTabEntriesin classorg.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon<IntegratedDynamics>
-
dynamicCreativeTabEntries
-
constructBlockClientConfig
@Nullable public @Nullable org.cyclops.cyclopscore.config.extendedconfig.BlockClientConfig<IntegratedDynamics> constructBlockClientConfig()- Overrides:
constructBlockClientConfigin classorg.cyclops.cyclopscore.config.extendedconfig.BlockConfigCommon<IntegratedDynamics>
-