public abstract class EntityConfig extends ExtendedConfig<EntityConfig>
MobConfig.
For entities with custom models there is ModelEntityConfig.ExtendedConfigIInitListener.StepconfigProperties| Constructor and Description |
|---|
EntityConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends net.minecraft.entity.Entity> element)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurableType |
getHolderType()
Return the configurable type for which this config holds data
|
protected abstract net.minecraft.client.renderer.entity.Render |
getRender() |
int |
getTrackingRange()
The range at which MC will send tracking updates.
|
java.lang.String |
getUnlocalizedName()
Get the unlocalized name (must be unique!) for this configurable.
|
int |
getUpdateFrequency()
The frequency of tracking updates.
|
void |
onRegistered()
Overridable method that is immediately called after the element of this config is registered.
|
boolean |
sendVelocityUpdates()
Whether to send velocity information packets as well.
|
compareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isEnabled, isHardDisabled, onInit, save, setEnabled, showDoubleInitErrorpublic EntityConfig(boolean enabled,
java.lang.String namedId,
java.lang.String comment,
java.lang.Class<? extends net.minecraft.entity.Entity> 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<EntityConfig>public ConfigurableType getHolderType()
ExtendedConfiggetHolderType in class ExtendedConfig<EntityConfig>public void onRegistered()
ExtendedConfigonRegistered in class ExtendedConfig<EntityConfig>public int getTrackingRange()
public int getUpdateFrequency()
public boolean sendVelocityUpdates()
protected abstract net.minecraft.client.renderer.entity.Render getRender()