net.minecraft.world.level.biome

public class MobSpawnSettings

bya
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
public static final org.apache.logging.log4j.Logger
a
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>
b
EMPTY_MOB_LIST
field_30982
EMPTY_ENTRY_POOL
f_151796_
public static final MobSpawnSettings
c
EMPTY
field_26646
INSTANCE
f_48326_
public static final com.mojang.serialization.MapCodec<MobSpawnSettings>
d
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_
private final boolean
i
playerSpawnFriendly
field_26692
playerSpawnFriendly
f_48331_

Constructor summary

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

Method summary

Modifier and TypeMethod
public WeightedRandomList<MobSpawnSettings$SpawnerData>
a(atx arg0)
getMobs(MobCategory arg0)
method_31004(class_1311 arg0)
getSpawnEntries(SpawnGroup spawnGroup)
m_151798_(C_528_ arg0)
public MobSpawnSettings$MobSpawnCost
a(atk<?> 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_()
public boolean
b()
playerSpawnFriendly()
method_31082()
isPlayerSpawnFriendly()
m_48353_()