|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcpw.mods.fml.common.registry.EntityRegistry.EntityRegistration
public class EntityRegistry.EntityRegistration
Constructor Summary | |
---|---|
EntityRegistry.EntityRegistration(ModContainer mc,
Class<? extends Entity> entityClass,
String entityName,
int id,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates)
|
Method Summary | |
---|---|
Entity |
doCustomSpawning(EntitySpawnPacket packet)
|
ModContainer |
getContainer()
|
Class<? extends Entity> |
getEntityClass()
|
String |
getEntityName()
|
int |
getModEntityId()
|
int |
getTrackingRange()
|
int |
getUpdateFrequency()
|
boolean |
hasCustomSpawning()
|
boolean |
sendsVelocityUpdates()
|
void |
setCustomSpawning(com.google.common.base.Function<EntitySpawnPacket,Entity> callable,
boolean usesVanillaSpawning)
|
boolean |
usesVanillaSpawning()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityRegistry.EntityRegistration(ModContainer mc, Class<? extends Entity> entityClass, String entityName, int id, int trackingRange, int updateFrequency, boolean sendsVelocityUpdates)
Method Detail |
---|
public Class<? extends Entity> getEntityClass()
public ModContainer getContainer()
public String getEntityName()
public int getModEntityId()
public int getTrackingRange()
public int getUpdateFrequency()
public boolean sendsVelocityUpdates()
public boolean usesVanillaSpawning()
public boolean hasCustomSpawning()
public Entity doCustomSpawning(EntitySpawnPacket packet) throws Exception
Exception
public void setCustomSpawning(com.google.common.base.Function<EntitySpawnPacket,Entity> callable, boolean usesVanillaSpawning)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |