public class EntityEntry extends IForgeRegistryEntry.Impl<EntityEntry>
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
delegate
Constructor and Description |
---|
EntityEntry(java.lang.Class<? extends Entity> cls,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
EntityList.EntityEggInfo |
getEgg() |
java.lang.Class<? extends Entity> |
getEntityClass() |
java.lang.String |
getName() |
protected void |
init() |
Entity |
newInstance(World world) |
void |
setEgg(EntityList.EntityEggInfo egg) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public EntityEntry(java.lang.Class<? extends Entity> cls, java.lang.String name)
protected void init()
public java.lang.Class<? extends Entity> getEntityClass()
public java.lang.String getName()
public EntityList.EntityEggInfo getEgg()
public void setEgg(EntityList.EntityEggInfo egg)