Class EntityList

java.lang.Object
net.minecraft.src.EntityList

public class EntityList extends Object
  • Field Details

    • entityEggs

      public static HashMap entityEggs
      This is a HashMap of the Creative Entity Eggs/Spawners.
  • Constructor Details

    • EntityList

      public EntityList()
  • Method Details

    • addMapping

      public static void addMapping(Class par0Class, String par1Str, int par2)
      adds a mapping between Entity classes and both a string representation and an ID
    • addMapping

      public static void addMapping(Class par0Class, String par1Str, int par2, int par3, int par4)
      Adds a entity mapping with egg info.
    • addMapping

      public static void addMapping(Class par0Class, String par1Str, int par2, int par3, int par4, int variant)
    • createEntityByName

      public static Entity createEntityByName(String par0Str, World par1World)
      Create a new instance of an entity in the world by using the entity name.
    • createEntityFromNBT

      public static Entity createEntityFromNBT(NBTTagCompound par0NBTTagCompound, World par1World)
      create a new instance of an entity from NBT store
    • createEntityByID

      public static Entity createEntityByID(int par0, World par1World)
      Create a new instance of an entity in the world by using an entity ID.
    • getEntityID

      public static int getEntityID(Entity par0Entity)
      gets the entityID of a specific entity
    • getEntityIDFromClass

      public static int getEntityIDFromClass(Class entityClass)
      Gets the entityID of a specific entity from its class
    • getClassFromID

      public static Class getClassFromID(int par0)
      Return the class assigned to this entity ID.
    • getEntityString

      public static String getEntityString(Entity par0Entity)
      Gets the string representation of a specific entity.
    • getStringFromID

      public static String getStringFromID(int par0)
      Finds the class using IDtoClassMapping and classToStringMapping
    • removeMapping

      public static boolean removeMapping(String sName, boolean bRemoveEgg)