|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.entity.EntityList
public class EntityList
Field Summary | |
---|---|
static Map |
classToStringMapping
Provides a mapping between a string and an entity classes |
static HashMap |
entityEggs
This is a HashMap of the Creative Entity Eggs/Spawners. |
static Map |
IDtoClassMapping
provides a mapping between an entityID and an Entity Class |
static Map |
stringToClassMapping
Provides a mapping between entity classes and a string |
Constructor Summary | |
---|---|
EntityList()
|
Method Summary | |
---|---|
static void |
addMapping(Class par0Class,
String par1Str,
int par2)
adds a mapping between Entity classes and both a string representation and an ID |
static void |
addMapping(Class par0Class,
String par1Str,
int par2,
int par3,
int par4)
Adds a entity mapping with egg info. |
static Entity |
createEntityByID(int par0,
World par1World)
Create a new instance of an entity in the world by using an entity ID. |
static Entity |
createEntityByName(String par0Str,
World par1World)
Create a new instance of an entity in the world by using the entity name. |
static Entity |
createEntityFromNBT(NBTTagCompound par0NBTTagCompound,
World par1World)
create a new instance of an entity from NBT store |
static Class |
getClassFromID(int par0)
Return the class assigned to this entity ID. |
static int |
getEntityID(Entity par0Entity)
gets the entityID of a specific entity |
static String |
getEntityString(Entity par0Entity)
Gets the string representation of a specific entity. |
static String |
getStringFromID(int par0)
Finds the class using IDtoClassMapping and classToStringMapping |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Map stringToClassMapping
public static Map classToStringMapping
public static Map IDtoClassMapping
public static HashMap entityEggs
Constructor Detail |
---|
public EntityList()
Method Detail |
---|
public static void addMapping(Class par0Class, String par1Str, int par2)
public static void addMapping(Class par0Class, String par1Str, int par2, int par3, int par4)
public static Entity createEntityByName(String par0Str, World par1World)
public static Entity createEntityFromNBT(NBTTagCompound par0NBTTagCompound, World par1World)
public static Entity createEntityByID(int par0, World par1World)
public static int getEntityID(Entity par0Entity)
public static Class getClassFromID(int par0)
public static String getEntityString(Entity par0Entity)
public static String getStringFromID(int par0)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |