public class EntityList
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityList.EntityEggInfo |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map |
classToStringMapping
Provides a mapping between a string and an entity classes
|
static java.util.HashMap |
entityEggs
This is a HashMap of the Creative Entity Eggs/Spawners.
|
static java.util.Map |
IDtoClassMapping
provides a mapping between an entityID and an Entity Class
|
static java.util.Map |
stringToClassMapping
Provides a mapping between entity classes and a string
|
| Constructor and Description |
|---|
EntityList() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMapping(java.lang.Class p_75618_0_,
java.lang.String p_75618_1_,
int p_75618_2_)
adds a mapping between Entity classes and both a string representation and an ID
|
static void |
addMapping(java.lang.Class p_75614_0_,
java.lang.String p_75614_1_,
int p_75614_2_,
int p_75614_3_,
int p_75614_4_)
Adds a entity mapping with egg info.
|
static Entity |
createEntityByID(int p_75616_0_,
World p_75616_1_)
Create a new instance of an entity in the world by using an entity ID.
|
static Entity |
createEntityByName(java.lang.String p_75620_0_,
World p_75620_1_)
Create a new instance of an entity in the world by using the entity name.
|
static Entity |
createEntityFromNBT(NBTTagCompound p_75615_0_,
World p_75615_1_)
create a new instance of an entity from NBT store
|
static void |
func_151514_a() |
static java.util.Set |
func_151515_b() |
static java.lang.Class |
getClassFromID(int p_90035_0_)
Return the class assigned to this entity ID.
|
static int |
getEntityID(Entity p_75619_0_)
gets the entityID of a specific entity
|
static java.lang.String |
getEntityString(Entity p_75621_0_)
Gets the string representation of a specific entity.
|
static java.lang.String |
getStringFromID(int p_75617_0_)
Finds the class using IDtoClassMapping and classToStringMapping
|
public static java.util.Map stringToClassMapping
public static java.util.Map classToStringMapping
public static java.util.Map IDtoClassMapping
public static java.util.HashMap entityEggs
public static void addMapping(java.lang.Class p_75618_0_,
java.lang.String p_75618_1_,
int p_75618_2_)
public static void addMapping(java.lang.Class p_75614_0_,
java.lang.String p_75614_1_,
int p_75614_2_,
int p_75614_3_,
int p_75614_4_)
public static Entity createEntityByName(java.lang.String p_75620_0_, World p_75620_1_)
public static Entity createEntityFromNBT(NBTTagCompound p_75615_0_, World p_75615_1_)
public static Entity createEntityByID(int p_75616_0_, World p_75616_1_)
public static int getEntityID(Entity p_75619_0_)
public static java.lang.Class getClassFromID(int p_90035_0_)
public static java.lang.String getEntityString(Entity p_75621_0_)
public static java.lang.String getStringFromID(int p_75617_0_)
public static void func_151514_a()
public static java.util.Set func_151515_b()