net.minecraft.world.level.biome

public class MobSpawnSettings

btg
net.minecraft.world.level.biome.MobSpawnSettings
net.minecraft.class_5483
net.minecraft.world.biome.SpawnSettings
net.minecraft.world.biome.MobSpawnInfo
net.minecraft.server.v1_16_R3.BiomeSettingsMobs

Field summary

Modifier and TypeField
public static final org.apache.logging.log4j.Logger
a
LOGGER
field_26645
LOGGER
field_242550_a
public static final MobSpawnSettings
b
EMPTY
field_26646
INSTANCE
field_242551_b
public static final com.mojang.serialization.MapCodec<MobSpawnSettings>
c
CODEC
field_26403
CODEC
field_242552_c
private final float
d
creatureGenerationProbability
field_26404
creatureSpawnProbability
field_242553_d
private final Map<MobCategory, List<MobSpawnSettings$SpawnerData>>
e
spawners
field_26405
spawners
field_242554_e
private final Map<EntityType<?>, MobSpawnSettings$MobSpawnCost>
f
mobSpawnCosts
field_26406
spawnCosts
field_242555_f
private final boolean
g
playerSpawnFriendly
field_26692
playerSpawnFriendly
field_242556_g

Constructor summary

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

Method summary

Modifier and TypeMethod
public List<MobSpawnSettings$SpawnerData>
a(aqo arg0)
getMobs(MobCategory arg0)
method_31004(class_1311 arg0)
getSpawnEntry(SpawnGroup spawnGroup)
func_242559_a(EntityClassification arg0)
public MobSpawnSettings$MobSpawnCost
a(aqe<?> arg0)
getMobSpawnCost(EntityType<?> arg0)
method_31003(class_1299<?> arg0)
getSpawnDensity(EntityType<?> entityType)
func_242558_a(EntityType<?> arg0)
public float
a()
getCreatureProbability()
method_31002()
getCreatureSpawnProbability()
func_242557_a()
public boolean
b()
playerSpawnFriendly()
method_31082()
isPlayerSpawnFriendly()
func_242562_b()