YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.EntityList Class Reference

Static Public Member Functions

static void addMapping (Class par0Class, String par1Str, int par2)
 
static void addMapping (Class par0Class, String par1Str, int par2, int par3, int par4)
 
static Entity createEntityByName (String par0Str, World par1World)
 
static Entity createEntityFromNBT (NBTTagCompound par0NBTTagCompound, World par1World)
 
static Entity createEntityByID (int par0, World par1World)
 
static int getEntityID (Entity par0Entity)
 
static Class getClassFromID (int par0)
 
static String getEntityString (Entity par0Entity)
 
static String getStringFromID (int par0)
 

Static Public Attributes

static Map stringToClassMapping = new HashMap()
 
static Map classToStringMapping = new HashMap()
 
static Map IDtoClassMapping = new HashMap()
 
static HashMap entityEggs = new LinkedHashMap()
 

Member Function Documentation

static void net.minecraft.entity.EntityList.addMapping ( Class  par0Class,
String  par1Str,
int  par2 
)
static

adds a mapping between Entity classes and both a string representation and an ID

static void net.minecraft.entity.EntityList.addMapping ( Class  par0Class,
String  par1Str,
int  par2,
int  par3,
int  par4 
)
static

Adds a entity mapping with egg info.

static Entity net.minecraft.entity.EntityList.createEntityByID ( int  par0,
World  par1World 
)
static

Create a new instance of an entity in the world by using an entity ID.

static Entity net.minecraft.entity.EntityList.createEntityByName ( String  par0Str,
World  par1World 
)
static

Create a new instance of an entity in the world by using the entity name.

static Entity net.minecraft.entity.EntityList.createEntityFromNBT ( NBTTagCompound  par0NBTTagCompound,
World  par1World 
)
static

create a new instance of an entity from NBT store

static Class net.minecraft.entity.EntityList.getClassFromID ( int  par0)
static

Return the class assigned to this entity ID.

static int net.minecraft.entity.EntityList.getEntityID ( Entity  par0Entity)
static

gets the entityID of a specific entity

static String net.minecraft.entity.EntityList.getEntityString ( Entity  par0Entity)
static

Gets the string representation of a specific entity.

static String net.minecraft.entity.EntityList.getStringFromID ( int  par0)
static

Finds the class using IDtoClassMapping and classToStringMapping

Member Data Documentation

Map net.minecraft.entity.EntityList.classToStringMapping = new HashMap()
static

Provides a mapping between a string and an entity classes

HashMap net.minecraft.entity.EntityList.entityEggs = new LinkedHashMap()
static

This is a HashMap of the Creative Entity Eggs/Spawners.

Map net.minecraft.entity.EntityList.IDtoClassMapping = new HashMap()
static

provides a mapping between an entityID and an Entity Class

Map net.minecraft.entity.EntityList.stringToClassMapping = new HashMap()
static

Provides a mapping between entity classes and a string


The documentation for this class was generated from the following file: