net.minecraft.world.level.biome

public class MobSpawnSettings

dhx
net.minecraft.world.level.biome.MobSpawnSettings
net.minecraft.class_5483
net.minecraft.world.biome.SpawnSettings
net.minecraft.world.level.biome.BiomeSettingsMobs

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_26645
LOGGER
private static final float
e
DEFAULT_CREATURE_SPAWN_PROBABILITY
field_30983
field_30983
public static final WeightedRandomList<MobSpawnSettings$SpawnerData>
a
EMPTY_MOB_LIST
field_30982
EMPTY_ENTRY_POOL
public static final MobSpawnSettings
b
EMPTY
field_26646
INSTANCE
public static final com.mojang.serialization.MapCodec<MobSpawnSettings>
c
CODEC
field_26403
CODEC
private final float
f
creatureGenerationProbability
field_26404
creatureSpawnProbability
private final Map<MobCategory, WeightedRandomList<MobSpawnSettings$SpawnerData>>
g
spawners
field_26405
spawners
private final Map<EntityType<?>, MobSpawnSettings$MobSpawnCost>
h
mobSpawnCosts
field_26406
spawnCosts

Constructor summary

ModifierConstructor
(float creatureSpawnProbability, Map<MobCategory, WeightedRandomList<MobSpawnSettings$SpawnerData>> spawners, Map<EntityType<?>, MobSpawnSettings$MobSpawnCost> spawnCosts)

Method summary

Modifier and TypeMethod
public WeightedRandomList<MobSpawnSettings$SpawnerData>
a(bvl arg0)
getMobs(MobCategory arg0)
method_31004(class_1311 arg0)
getSpawnEntries(SpawnGroup spawnGroup)
public MobSpawnSettings$MobSpawnCost
a(but<?> arg0)
getMobSpawnCost(EntityType<?> arg0)
method_31003(class_1299<?> arg0)
getSpawnDensity(EntityType<?> entityType)
public float
a()
getCreatureProbability()
method_31002()
getCreatureSpawnProbability()