public abstract class FluidConfig extends ExtendedConfig<FluidConfig>
ExtendedConfigIInitListener.StepconfigProperties| Constructor and Description |
|---|
FluidConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends net.minecraftforge.fluids.Fluid> element)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurableType |
getHolderType()
Return the configurable type for which this config holds data
|
java.lang.String |
getUnlocalizedName()
Get the unlocalized name (must be unique!) for this configurable.
|
boolean |
isDisableable()
Override this method to prevent configs to be disabled from the config file.
|
compareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isEnabled, isHardDisabled, onInit, onRegistered, save, setEnabled, showDoubleInitErrorpublic FluidConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends net.minecraftforge.fluids.Fluid> 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 java.lang.String getUnlocalizedName()
ExtendedConfiggetUnlocalizedName in class ExtendedConfig<FluidConfig>public ConfigurableType getHolderType()
ExtendedConfiggetHolderType in class ExtendedConfig<FluidConfig>public boolean isDisableable()
ExtendedConfigisDisableable in class ExtendedConfig<FluidConfig>