Uses of Class
net.minecraft.entity.EntityClassification
-
-
Uses of EntityClassification in net.minecraft.entity
Fields in net.minecraft.entity declared as EntityClassification Modifier and Type Field Description private EntityClassification
EntityType.Builder. category
private EntityClassification
EntityType. category
Fields in net.minecraft.entity with type parameters of type EntityClassification Modifier and Type Field Description private static java.util.Map<java.lang.String,EntityClassification>
EntityClassification. BY_NAME
static com.mojang.serialization.Codec<EntityClassification>
EntityClassification. CODEC
Methods in net.minecraft.entity that return EntityClassification Modifier and Type Method Description static EntityClassification
EntityClassification. byName(java.lang.String p_233670_0_)
static EntityClassification
EntityClassification. create(java.lang.String name, java.lang.String id, int maxNumberOfCreatureIn, boolean isPeacefulCreatureIn, boolean isAnimalIn, int despawnDistance)
EntityClassification
EntityType. getCategory()
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.Methods in net.minecraft.entity with parameters of type EntityClassification Modifier and Type Method Description static <T extends Entity>
EntityType.Builder<T>EntityType.Builder. createNothing(EntityClassification p_220319_0_)
static <T extends Entity>
EntityType.Builder<T>EntityType.Builder. of(EntityType.IFactory<T> p_220322_0_, EntityClassification p_220322_1_)
Constructors in net.minecraft.entity with parameters of type EntityClassification Constructor Description Builder(EntityType.IFactory<T> p_i50479_1_, EntityClassification p_i50479_2_)
EntityType(EntityType.IFactory<T> p_i231489_1_, EntityClassification p_i231489_2_, boolean p_i231489_3_, boolean p_i231489_4_, boolean p_i231489_5_, boolean p_i231489_6_, com.google.common.collect.ImmutableSet<Block> p_i231489_7_, EntitySize p_i231489_8_, int p_i231489_9_, int p_i231489_10_)
EntityType(EntityType.IFactory<T> p_i231489_1_, EntityClassification p_i231489_2_, boolean p_i231489_3_, boolean p_i231489_4_, boolean p_i231489_5_, boolean p_i231489_6_, com.google.common.collect.ImmutableSet<Block> p_i231489_7_, EntitySize p_i231489_8_, int p_i231489_9_, int p_i231489_10_, 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)
-
Uses of EntityClassification in net.minecraft.entity.ai.brain.task
Constructors in net.minecraft.entity.ai.brain.task with parameters of type EntityClassification Constructor Description LookAtEntityTask(EntityClassification p_i50350_1_, float p_i50350_2_)
-
Uses of EntityClassification in net.minecraft.world.biome
Fields in net.minecraft.world.biome with type parameters of type EntityClassification Modifier and Type Field Description protected java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
MobSpawnInfo.Builder. spawners
private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
MobSpawnInfo. spawners
private java.util.Set<EntityClassification>
MobSpawnInfo. typesView
Methods in net.minecraft.world.biome that return types with arguments of type EntityClassification Modifier and Type Method Description java.util.Set<EntityClassification>
MobSpawnInfo. getSpawnerTypes()
Methods in net.minecraft.world.biome with parameters of type EntityClassification Modifier and Type Method Description MobSpawnInfo.Builder
MobSpawnInfo.Builder. addSpawn(EntityClassification p_242575_1_, MobSpawnInfo.Spawners p_242575_2_)
java.util.List<MobSpawnInfo.Spawners>
MobSpawnInfo. getMobs(EntityClassification p_242559_1_)
Constructor parameters in net.minecraft.world.biome with type arguments of type EntityClassification Constructor Description MobSpawnInfo(float p_i241946_1_, java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>> p_i241946_2_, java.util.Map<EntityType<?>,MobSpawnInfo.SpawnCosts> p_i241946_3_, boolean p_i241946_4_)
-
Uses of EntityClassification in net.minecraft.world.gen
Methods in net.minecraft.world.gen with parameters of type EntityClassification Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
ChunkGenerator. getMobsAt(Biome p_230353_1_, StructureManager p_230353_2_, EntityClassification p_230353_3_, BlockPos p_230353_4_)
java.util.List<MobSpawnInfo.Spawners>
NoiseChunkGenerator. getMobsAt(Biome p_230353_1_, StructureManager p_230353_2_, EntityClassification p_230353_3_, BlockPos p_230353_4_)
-
Uses of EntityClassification in net.minecraft.world.gen.feature.structure
Methods in net.minecraft.world.gen.feature.structure with parameters of type EntityClassification Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
Structure. getSpawnList(EntityClassification classification)
-
Uses of EntityClassification in net.minecraft.world.spawner
Fields in net.minecraft.world.spawner declared as EntityClassification Modifier and Type Field Description private static EntityClassification[]
WorldEntitySpawner. SPAWNING_CATEGORIES
Fields in net.minecraft.world.spawner with type parameters of type EntityClassification Modifier and Type Field Description private it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<EntityClassification>
WorldEntitySpawner.EntityDensityManager. mobCategoryCounts
private it.unimi.dsi.fastutil.objects.Object2IntMap<EntityClassification>
WorldEntitySpawner.EntityDensityManager. unmodifiableMobCategoryCounts
Methods in net.minecraft.world.spawner that return types with arguments of type EntityClassification Modifier and Type Method Description it.unimi.dsi.fastutil.objects.Object2IntMap<EntityClassification>
WorldEntitySpawner.EntityDensityManager. getMobCategoryCounts()
Methods in net.minecraft.world.spawner with parameters of type EntityClassification Modifier and Type Method Description private boolean
WorldEntitySpawner.EntityDensityManager. canSpawnForCategory(EntityClassification p_234991_1_)
private static boolean
WorldEntitySpawner. canSpawnMobAt(ServerWorld p_234976_0_, StructureManager p_234976_1_, ChunkGenerator p_234976_2_, EntityClassification p_234976_3_, MobSpawnInfo.Spawners p_234976_4_, BlockPos p_234976_5_)
private static MobSpawnInfo.Spawners
WorldEntitySpawner. getRandomSpawnMobAt(ServerWorld p_234977_0_, StructureManager p_234977_1_, ChunkGenerator p_234977_2_, EntityClassification p_234977_3_, java.util.Random p_234977_4_, BlockPos p_234977_5_)
private static boolean
WorldEntitySpawner. isValidSpawnPostitionForType(ServerWorld p_234975_0_, EntityClassification p_234975_1_, StructureManager p_234975_2_, ChunkGenerator p_234975_3_, MobSpawnInfo.Spawners p_234975_4_, BlockPos.Mutable p_234975_5_, double p_234975_6_)
private static java.util.List<MobSpawnInfo.Spawners>
WorldEntitySpawner. mobsAt(ServerWorld p_241463_0_, StructureManager p_241463_1_, ChunkGenerator p_241463_2_, EntityClassification p_241463_3_, BlockPos p_241463_4_, Biome p_241463_5_)
static void
WorldEntitySpawner. spawnCategoryForChunk(EntityClassification p_234967_0_, ServerWorld p_234967_1_, Chunk p_234967_2_, WorldEntitySpawner.IDensityCheck p_234967_3_, WorldEntitySpawner.IOnSpawnDensityAdder p_234967_4_)
static void
WorldEntitySpawner. spawnCategoryForPosition(EntityClassification p_234966_0_, ServerWorld p_234966_1_, IChunk p_234966_2_, BlockPos p_234966_3_, WorldEntitySpawner.IDensityCheck p_234966_4_, WorldEntitySpawner.IOnSpawnDensityAdder p_234966_5_)
Constructor parameters in net.minecraft.world.spawner with type arguments of type EntityClassification Constructor Description EntityDensityManager(int p_i231621_1_, it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<EntityClassification> p_i231621_2_, MobDensityTracker p_i231621_3_)
-
Uses of EntityClassification in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return EntityClassification Modifier and Type Method Description default EntityClassification
IForgeEntity. getClassification(boolean forSpawnCount)
Returns The classification of this entityMethods in net.minecraftforge.common.extensions with parameters of type EntityClassification Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
IForgeStructure. getSpawnList(EntityClassification classification)
Helper method to get the list of entity spawns for this structure for the given classification. -
Uses of EntityClassification in net.minecraftforge.common.world
Fields in net.minecraftforge.common.world with type parameters of type EntityClassification Modifier and Type Field Description private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnManager.StructureSpawnInfo. spawns
private java.util.Set<EntityClassification>
MobSpawnInfoBuilder. typesView
Methods in net.minecraftforge.common.world that return types with arguments of type EntityClassification Modifier and Type Method Description java.util.Set<EntityClassification>
MobSpawnInfoBuilder. getSpawnerTypes()
Methods in net.minecraftforge.common.world with parameters of type EntityClassification Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
MobSpawnInfoBuilder. getSpawner(EntityClassification type)
static java.util.List<MobSpawnInfo.Spawners>
StructureSpawnManager. getSpawnList(Structure<?> structure, EntityClassification classification)
Gets the entity spawn lists for entities of a given classification for a given structure.static java.util.List<MobSpawnInfo.Spawners>
StructureSpawnManager. getStructureSpawns(StructureManager structureManager, EntityClassification classification, BlockPos pos)
Looks up if a given position is within a structure and returns any entity spawns that structure has for the given classification, or null if none are found.Constructor parameters in net.minecraftforge.common.world with type arguments of type EntityClassification Constructor Description StructureSpawnInfo(java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>> spawns, boolean insideOnly)
-
Uses of EntityClassification in net.minecraftforge.debug.entity
Fields in net.minecraftforge.debug.entity declared as EntityClassification Modifier and Type Field Description static EntityClassification
CreateEntityClassificationTest. test
-
Uses of EntityClassification in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type EntityClassification Modifier and Type Method Description static java.util.List<MobSpawnInfo.Spawners>
ForgeEventFactory. getPotentialSpawns(IWorld world, EntityClassification type, BlockPos pos, java.util.List<MobSpawnInfo.Spawners> oldList)
-
Uses of EntityClassification in net.minecraftforge.event.world
Fields in net.minecraftforge.event.world declared as EntityClassification Modifier and Type Field Description private EntityClassification
WorldEvent.PotentialSpawns. type
Fields in net.minecraftforge.event.world with type parameters of type EntityClassification Modifier and Type Field Description private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnListGatherEvent. entitySpawns
private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnListGatherEvent. entitySpawnsUnmodifiable
private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnListGatherEvent. entitySpawnsUnmodifiableLists
Methods in net.minecraftforge.event.world that return EntityClassification Modifier and Type Method Description EntityClassification
WorldEvent.PotentialSpawns. getType()
Methods in net.minecraftforge.event.world that return types with arguments of type EntityClassification Modifier and Type Method Description java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnListGatherEvent. getEntitySpawns()
Gets an unmodifiable view of the map of spawns based on entity classification that is used to fill in the various spawn lists for the structure.Methods in net.minecraftforge.event.world with parameters of type EntityClassification Modifier and Type Method Description void
StructureSpawnListGatherEvent. addEntitySpawn(EntityClassification classification, MobSpawnInfo.Spawners spawner)
Adds a spawn to the list of spawns for the given classification.void
StructureSpawnListGatherEvent. addEntitySpawns(EntityClassification classification, java.util.List<MobSpawnInfo.Spawners> spawners)
Adds spawns to the list of spawns for the given classification.java.util.List<MobSpawnInfo.Spawners>
StructureSpawnListGatherEvent. getEntitySpawns(EntityClassification classification)
Gets an unmodifiable view of the the list representing the entity spawns for the given classification.private java.util.List<MobSpawnInfo.Spawners>
StructureSpawnListGatherEvent. getOrCreateEntitySpawns(EntityClassification classification)
Gets the internal spawn list for a given entity classification, or adds one if needed.void
StructureSpawnListGatherEvent. removeEntitySpawn(EntityClassification classification, MobSpawnInfo.Spawners spawner)
Removes a spawn from the list of spawns for the given classification.Constructors in net.minecraftforge.event.world with parameters of type EntityClassification Constructor Description PotentialSpawns(IWorld world, EntityClassification type, BlockPos pos, java.util.List<MobSpawnInfo.Spawners> oldList)
-