Package net.minecraft.entity
Class EntityList
- java.lang.Object
-
- net.minecraft.entity.EntityList
-
public class EntityList extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityList.EntityEggInfo
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.Integer,EntityList.EntityEggInfo>
entityEggs
-
Constructor Summary
Constructors Constructor Description EntityList()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Entity
createEntityByID(int entityID, World worldIn)
+ Create a new instance of an entity in the world by using an entity ID.static Entity
createEntityByName(java.lang.String entityName, World worldIn)
+ Create a new instance of an entity in the world by using the entity name.static Entity
createEntityFromNBT(NBTTagCompound nbt, World worldIn)
+ create a new instance of an entity from NBT storestatic void
func_151514_a()
static java.lang.Class<? extends Entity>
getClassFromID(int entityID)
static EntityConstructor<? extends Entity>
getConstructorFromID(int entityID)
static int
getEntityID(Entity entityIn)
+ gets the entityID of a specific entitystatic java.util.List<java.lang.String>
getEntityNameList()
static java.lang.String
getEntityString(Entity entityIn)
+ Gets the string representation of a specific entity.static int
getIDFromString(java.lang.String entityName)
+ Returns the ID assigned to it's string representationstatic java.lang.String
getStringFromID(int entityID)
+ Finds the class using IDtoClassMapping and classToStringMappingstatic boolean
isStringEntityName(Entity entityIn, java.lang.String entityName)
static boolean
isStringValidEntityName(java.lang.String entityName)
-
-
-
Field Detail
-
entityEggs
public static final java.util.Map<java.lang.Integer,EntityList.EntityEggInfo> entityEggs
-
-
Method Detail
-
createEntityByName
public static Entity createEntityByName(java.lang.String entityName, World worldIn)
+ Create a new instance of an entity in the world by using the entity name.
-
createEntityFromNBT
public static Entity createEntityFromNBT(NBTTagCompound nbt, World worldIn)
+ create a new instance of an entity from NBT store
-
createEntityByID
public static Entity createEntityByID(int entityID, World worldIn)
+ Create a new instance of an entity in the world by using an entity ID.
-
getEntityID
public static int getEntityID(Entity entityIn)
+ gets the entityID of a specific entity
-
getClassFromID
public static java.lang.Class<? extends Entity> getClassFromID(int entityID)
-
getConstructorFromID
public static EntityConstructor<? extends Entity> getConstructorFromID(int entityID)
-
getEntityString
public static java.lang.String getEntityString(Entity entityIn)
+ Gets the string representation of a specific entity.
-
getIDFromString
public static int getIDFromString(java.lang.String entityName)
+ Returns the ID assigned to it's string representation
-
getStringFromID
public static java.lang.String getStringFromID(int entityID)
+ Finds the class using IDtoClassMapping and classToStringMapping
-
func_151514_a
public static void func_151514_a()
-
getEntityNameList
public static java.util.List<java.lang.String> getEntityNameList()
-
isStringEntityName
public static boolean isStringEntityName(Entity entityIn, java.lang.String entityName)
-
isStringValidEntityName
public static boolean isStringValidEntityName(java.lang.String entityName)
-
-