public class BlockContainerConfig extends BlockConfig
ExtendedConfigIInitListener.StepconfigProperties| Constructor and Description |
|---|
BlockContainerConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends net.minecraft.block.Block> element)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurableType |
getHolderType()
Return the configurable type for which this config holds data
|
java.util.Set<Upgrades.Upgrade> |
getUpgrades() |
void |
onRegistered()
Overridable method that is immediately called after the element of this config is registered.
|
getBlockInstance, getFullUnlocalizedName, getItemBlockClass, getOreDictionaryId, getUnlocalizedName, isMultipartEnabledcompareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isEnabled, isHardDisabled, onInit, save, setEnabled, showDoubleInitErrorpublic BlockContainerConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends net.minecraft.block.Block> element)
enabled - If this should is enabled.namedId - The unique name ID for the configurable.comment - The comment to add in the config file for this configurable.element - The class of this configurable.public ConfigurableType getHolderType()
ExtendedConfiggetHolderType in class BlockConfigpublic java.util.Set<Upgrades.Upgrade> getUpgrades()
public void onRegistered()
ExtendedConfigonRegistered in class ExtendedConfig<BlockConfig>