public abstract class MobConfig extends ExtendedConfig<MobConfig>
ExtendedConfigIInitListener.StepconfigProperties| Constructor and Description |
|---|
MobConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<?> element)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getBackgroundEggColor()
Get the background color of the spawn egg.
|
abstract int |
getForegroundEggColor()
Get the foreground color of the spawn egg.
|
ConfigurableType |
getHolderType()
Return the configurable type for which this config holds data
|
abstract net.minecraft.client.renderer.entity.Render |
getRender()
Get the render for this configurable.
|
java.lang.String |
getUnlocalizedName()
Get the unlocalized name (must be unique!) for this configurable.
|
boolean |
hasSpawnEgg() |
compareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isEnabled, isHardDisabled, onInit, onRegistered, save, setEnabled, showDoubleInitErrorpublic MobConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<?> 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<MobConfig>public ConfigurableType getHolderType()
ExtendedConfiggetHolderType in class ExtendedConfig<MobConfig>public boolean hasSpawnEgg()
public abstract int getBackgroundEggColor()
public abstract int getForegroundEggColor()
public abstract net.minecraft.client.renderer.entity.Render getRender()