Uses of Enum Class
net.minecraft.entity.EntityClassification
Package
Description
-
Uses of EntityClassification in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate final EntityClassification
EntityType.Builder.category
private final EntityClassification
EntityType.category
Modifier and TypeFieldDescriptionprivate static final Map<String,
EntityClassification> EntityClassification.BY_NAME
static final com.mojang.serialization.Codec<EntityClassification>
EntityClassification.CODEC
Modifier and TypeMethodDescriptionstatic EntityClassification
static EntityClassification
EntityClassification.create
(String name, String id, int maxNumberOfCreatureIn, boolean isPeacefulCreatureIn, boolean isAnimalIn, int despawnDistance) EntityType.getCategory()
static EntityClassification
Returns the enum constant of this class with the specified name.static EntityClassification[]
EntityClassification.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic <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_) ModifierConstructorDescriptionprivate
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_, Predicate<EntityType<?>> velocityUpdateSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, BiFunction<FMLPlayMessages.SpawnEntity, World, T> customClientFactory) -
Uses of EntityClassification in net.minecraft.entity.ai.brain.task
ModifierConstructorDescriptionLookAtEntityTask
(EntityClassification p_i50350_1_, float p_i50350_2_) -
Uses of EntityClassification in net.minecraft.world.biome
Modifier and TypeFieldDescriptionprotected final Map<EntityClassification,
List<MobSpawnInfo.Spawners>> MobSpawnInfo.Builder.spawners
private final Map<EntityClassification,
List<MobSpawnInfo.Spawners>> MobSpawnInfo.spawners
private final Set<EntityClassification>
MobSpawnInfo.typesView
Modifier and TypeMethodDescriptionMobSpawnInfo.Builder.addSpawn
(EntityClassification p_242575_1_, MobSpawnInfo.Spawners p_242575_2_) MobSpawnInfo.getMobs
(EntityClassification p_242559_1_) ModifierConstructorDescriptionprivate
MobSpawnInfo
(float p_i241946_1_, Map<EntityClassification, List<MobSpawnInfo.Spawners>> p_i241946_2_, Map<EntityType<?>, MobSpawnInfo.SpawnCosts> p_i241946_3_, boolean p_i241946_4_) -
Uses of EntityClassification in net.minecraft.world.gen
Modifier and TypeMethodDescriptionChunkGenerator.getMobsAt
(Biome p_230353_1_, StructureManager p_230353_2_, EntityClassification p_230353_3_, BlockPos p_230353_4_) 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
Modifier and TypeMethodDescriptionfinal List<MobSpawnInfo.Spawners>
Structure.getSpawnList
(EntityClassification classification) -
Uses of EntityClassification in net.minecraft.world.spawner
Modifier and TypeFieldDescriptionprivate static final EntityClassification[]
WorldEntitySpawner.SPAWNING_CATEGORIES
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<EntityClassification>
WorldEntitySpawner.EntityDensityManager.mobCategoryCounts
private final it.unimi.dsi.fastutil.objects.Object2IntMap<EntityClassification>
WorldEntitySpawner.EntityDensityManager.unmodifiableMobCategoryCounts
Modifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.Object2IntMap<EntityClassification>
WorldEntitySpawner.EntityDensityManager.getMobCategoryCounts()
Modifier and TypeMethodDescriptionprivate 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_, 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 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_) ModifierConstructorDescriptionprivate
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
Modifier and TypeMethodDescriptiondefault EntityClassification
IForgeEntity.getClassification
(boolean forSpawnCount) Returns The classification of this entityModifier and TypeMethodDescriptionIForgeStructure.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
Modifier and TypeFieldDescriptionprivate final Map<EntityClassification,
List<MobSpawnInfo.Spawners>> StructureSpawnManager.StructureSpawnInfo.spawns
private final Set<EntityClassification>
MobSpawnInfoBuilder.typesView
Modifier and TypeMethodDescriptionMobSpawnInfoBuilder.getSpawner
(EntityClassification type) static 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 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.ModifierConstructorDescriptionprivate
StructureSpawnInfo
(Map<EntityClassification, List<MobSpawnInfo.Spawners>> spawns, boolean insideOnly) -
Uses of EntityClassification in net.minecraftforge.debug.entity
-
Uses of EntityClassification in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic List<MobSpawnInfo.Spawners>
ForgeEventFactory.getPotentialSpawns
(IWorld world, EntityClassification type, BlockPos pos, List<MobSpawnInfo.Spawners> oldList) -
Uses of EntityClassification in net.minecraftforge.event.world
Modifier and TypeFieldDescriptionprivate final EntityClassification
WorldEvent.PotentialSpawns.type
Modifier and TypeFieldDescriptionprivate final Map<EntityClassification,
List<MobSpawnInfo.Spawners>> StructureSpawnListGatherEvent.entitySpawns
private final Map<EntityClassification,
List<MobSpawnInfo.Spawners>> StructureSpawnListGatherEvent.entitySpawnsUnmodifiable
private final Map<EntityClassification,
List<MobSpawnInfo.Spawners>> StructureSpawnListGatherEvent.entitySpawnsUnmodifiableLists
Modifier and TypeMethodDescriptionStructureSpawnListGatherEvent.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.Modifier and TypeMethodDescriptionvoid
StructureSpawnListGatherEvent.addEntitySpawn
(EntityClassification classification, MobSpawnInfo.Spawners spawner) Adds a spawn to the list of spawns for the given classification.void
StructureSpawnListGatherEvent.addEntitySpawns
(EntityClassification classification, List<MobSpawnInfo.Spawners> spawners) Adds spawns to the list of spawns for the given classification.StructureSpawnListGatherEvent.getEntitySpawns
(EntityClassification classification) Gets an unmodifiable view of the the list representing the entity spawns for the given classification.private 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.ModifierConstructorDescriptionPotentialSpawns
(IWorld world, EntityClassification type, BlockPos pos, List<MobSpawnInfo.Spawners> oldList)