net.minecraft.world.level.biome

public class MobSpawnSettings

cnw
net.minecraft.world.level.biome.MobSpawnSettings
net.minecraft.class_5483
net.minecraft.world.biome.SpawnSettings
net.minecraft.src.C_1660_
net.minecraft.world.level.biome.BiomeSettingsMobs

Field summary

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

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(bgc arg0)
getMobs(MobCategory arg0)
method_31004(class_1311 arg0)
getSpawnEntries(SpawnGroup spawnGroup)
m_151798_(C_528_ arg0)
public MobSpawnSettings$MobSpawnCost
a(bfn<?> arg0)
getMobSpawnCost(EntityType<?> arg0)
method_31003(class_1299<?> arg0)
getSpawnDensity(EntityType<?> entityType)
m_48345_(C_513_<?> arg0)
public float
a()
getCreatureProbability()
method_31002()
getCreatureSpawnProbability()
m_48344_()