|
| static EntityRegistry | instance () |
| |
| static void | registerModEntity (Class<?extends Entity > entityClass, String entityName, int id, Object mod, int trackingRange, int updateFrequency, boolean sendsVelocityUpdates) |
| |
| static void | registerGlobalEntityID (Class<?extends Entity > entityClass, String entityName, int id) |
| |
| static void | registerGlobalEntityID (Class<?extends Entity > entityClass, String entityName, int id, int backgroundEggColour, int foregroundEggColour) |
| |
| static void | addSpawn (Class<?extends EntityLiving > entityClass, int weightedProb, int min, int max, EnumCreatureType typeOfCreature, BiomeGenBase...biomes) |
| |
| static void | addSpawn (String entityName, int weightedProb, int min, int max, EnumCreatureType spawnList, BiomeGenBase...biomes) |
| |
| static void | removeSpawn (Class<?extends EntityLiving > entityClass, EnumCreatureType typeOfCreature, BiomeGenBase...biomes) |
| |
| static void | removeSpawn (String entityName, EnumCreatureType spawnList, BiomeGenBase...biomes) |
| |
| static int | findGlobalUniqueEntityId () |
| |
| static EntityRegistration | registerModLoaderEntity (Object mod, Class<?extends Entity > entityClass, int entityTypeId, int updateRange, int updateInterval, boolean sendVelocityInfo) |
| |
| static void cpw.mods.fml.common.registry.EntityRegistry.addSpawn |
( |
Class<?extends EntityLiving > |
entityClass, |
|
|
int |
weightedProb, |
|
|
int |
min, |
|
|
int |
max, |
|
|
EnumCreatureType |
typeOfCreature, |
|
|
BiomeGenBase... |
biomes |
|
) |
| |
|
static |
| static void cpw.mods.fml.common.registry.EntityRegistry.addSpawn |
( |
String |
entityName, |
|
|
int |
weightedProb, |
|
|
int |
min, |
|
|
int |
max, |
|
|
EnumCreatureType |
spawnList, |
|
|
BiomeGenBase... |
biomes |
|
) |
| |
|
static |
| static int cpw.mods.fml.common.registry.EntityRegistry.findGlobalUniqueEntityId |
( |
) | |
|
|
static |
| static EntityRegistry cpw.mods.fml.common.registry.EntityRegistry.instance |
( |
) | |
|
|
static |
| EntityRegistration cpw.mods.fml.common.registry.EntityRegistry.lookupModSpawn |
( |
Class<?extends Entity > |
clazz, |
|
|
boolean |
keepLooking |
|
) |
| |
| static void cpw.mods.fml.common.registry.EntityRegistry.registerGlobalEntityID |
( |
Class<?extends Entity > |
entityClass, |
|
|
String |
entityName, |
|
|
int |
id |
|
) |
| |
|
static |
| static void cpw.mods.fml.common.registry.EntityRegistry.registerGlobalEntityID |
( |
Class<?extends Entity > |
entityClass, |
|
|
String |
entityName, |
|
|
int |
id, |
|
|
int |
backgroundEggColour, |
|
|
int |
foregroundEggColour |
|
) |
| |
|
static |
| static void cpw.mods.fml.common.registry.EntityRegistry.registerModEntity |
( |
Class<?extends Entity > |
entityClass, |
|
|
String |
entityName, |
|
|
int |
id, |
|
|
Object |
mod, |
|
|
int |
trackingRange, |
|
|
int |
updateFrequency, |
|
|
boolean |
sendsVelocityUpdates |
|
) |
| |
|
static |
Register the mod entity type with FML
- Parameters
-
| entityClass | The entity class |
| entityName | A unique name for the entity |
| id | A mod specific ID for the entity |
| mod | The mod |
| trackingRange | The range at which MC will send tracking updates |
| updateFrequency | The frequency of tracking updates |
| sendsVelocityUpdates | Whether to send velocity information packets as well |
| static EntityRegistration cpw.mods.fml.common.registry.EntityRegistry.registerModLoaderEntity |
( |
Object |
mod, |
|
|
Class<?extends Entity > |
entityClass, |
|
|
int |
entityTypeId, |
|
|
int |
updateRange, |
|
|
int |
updateInterval, |
|
|
boolean |
sendVelocityInfo |
|
) |
| |
|
static |
DO NOT USE THIS METHOD
- Parameters
-
| entityClass | |
| entityTypeId | |
| updateRange | |
| updateInterval | |
| sendVelocityInfo | |
| static void cpw.mods.fml.common.registry.EntityRegistry.removeSpawn |
( |
Class<?extends EntityLiving > |
entityClass, |
|
|
EnumCreatureType |
typeOfCreature, |
|
|
BiomeGenBase... |
biomes |
|
) |
| |
|
static |
| static void cpw.mods.fml.common.registry.EntityRegistry.removeSpawn |
( |
String |
entityName, |
|
|
EnumCreatureType |
spawnList, |
|
|
BiomeGenBase... |
biomes |
|
) |
| |
|
static |
| boolean cpw.mods.fml.common.registry.EntityRegistry.tryTrackingEntity |
( |
EntityTracker |
entityTracker, |
|
|
Entity |
entity |
|
) |
| |
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/cpw/mods/fml/common/registry/EntityRegistry.java