Modifier and Type | Field and Description |
---|---|
private EntityClassification |
EntityType.classification |
private EntityClassification |
EntityType.Builder.classification |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,EntityClassification> |
EntityClassification.VALUES_MAP |
Modifier and Type | Method and Description |
---|---|
static EntityClassification |
EntityClassification.create(java.lang.String name,
java.lang.String id,
int maxNumberOfCreatureIn,
boolean isPeacefulCreatureIn,
boolean isAnimalIn) |
EntityClassification |
EntityType.getClassification() |
static EntityClassification |
EntityClassification.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityClassification[] |
EntityClassification.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Entity> |
EntityType.Builder.create(EntityClassification classificationIn) |
static <T extends Entity> |
EntityType.Builder.create(EntityType.IFactory<T> factoryIn,
EntityClassification classificationIn) |
Constructor and Description |
---|
Builder(EntityType.IFactory<T> factoryIn,
EntityClassification classificationIn) |
EntityType(EntityType.IFactory<T> factoryIn,
EntityClassification classificationIn,
boolean serializableIn,
boolean summonableIn,
boolean immuneToFireIn,
boolean p_i51559_6_,
EntitySize sizeIn) |
EntityType(EntityType.IFactory<T> factoryIn,
EntityClassification classificationIn,
boolean serializableIn,
boolean summonableIn,
boolean immuneToFireIn,
boolean p_i51559_6_,
EntitySize sizeIn,
java.util.function.Predicate<EntityType<?>> velocityUpdateSupplier,
java.util.function.ToIntFunction<EntityType<?>> trackingRangeSupplier,
java.util.function.ToIntFunction<EntityType<?>> updateIntervalSupplier,
java.util.function.BiFunction<FMLPlayMessages.SpawnEntity,World,T> customClientFactory) |
Constructor and Description |
---|
LookAtEntityTask(EntityClassification p_i50350_1_,
float p_i50350_2_) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<EntityClassification,java.util.List<Biome.SpawnListEntry>> |
Biome.spawns |
Modifier and Type | Method and Description |
---|---|
protected void |
Biome.addSpawn(EntityClassification type,
Biome.SpawnListEntry spawnListEntry) |
java.util.List<Biome.SpawnListEntry> |
Biome.getSpawns(EntityClassification creatureType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Biome.SpawnListEntry> |
OverworldChunkGenerator.getPossibleCreatures(EntityClassification creatureType,
BlockPos pos) |
java.util.List<Biome.SpawnListEntry> |
NetherChunkGenerator.getPossibleCreatures(EntityClassification creatureType,
BlockPos pos) |
java.util.List<Biome.SpawnListEntry> |
ChunkGenerator.getPossibleCreatures(EntityClassification creatureType,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
it.unimi.dsi.fastutil.objects.Object2IntMap<EntityClassification> |
ServerWorld.countEntities() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
WorldEntitySpawner.getSpawnList(ChunkGenerator<?> p_222261_0_,
EntityClassification p_222261_1_,
Biome.SpawnListEntry p_222261_2_,
BlockPos p_222261_3_,
World world) |
private static Biome.SpawnListEntry |
WorldEntitySpawner.getSpawnList(ChunkGenerator<?> p_222264_0_,
EntityClassification p_222264_1_,
java.util.Random p_222264_2_,
BlockPos p_222264_3_,
World world) |
static void |
WorldEntitySpawner.spawnEntitiesInChunk(EntityClassification p_226701_0_,
ServerWorld p_226701_1_,
Chunk p_226701_2_,
BlockPos p_226701_3_) |
Modifier and Type | Method and Description |
---|---|
default EntityClassification |
IForgeEntity.getClassification(boolean forSpawnCount)
Returns The classification of this entity
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Biome.SpawnListEntry> |
ForgeEventFactory.getPotentialSpawns(IWorld world,
EntityClassification type,
BlockPos pos,
java.util.List<Biome.SpawnListEntry> oldList) |
Modifier and Type | Field and Description |
---|---|
private EntityClassification |
WorldEvent.PotentialSpawns.type |
Modifier and Type | Method and Description |
---|---|
EntityClassification |
WorldEvent.PotentialSpawns.getType() |
Constructor and Description |
---|
PotentialSpawns(IWorld world,
EntityClassification type,
BlockPos pos,
java.util.List<Biome.SpawnListEntry> oldList) |