net.minecraft.world.level

public record SpawnData

cbl
net.minecraft.world.level.SpawnData
net.minecraft.class_1952
net.minecraft.unmapped.C_edcjbljn
net.minecraft.world.MobSpawnerEntry
net.minecraft.world.MobSpawnerEntry
net.minecraft.src.C_1620_
net.minecraft.world.level.MobSpawnerData

Field summary

Modifier and TypeField
private final CompoundTag
d
entityToSpawn
comp_64
f_fwsalxge
entity
f_fwsalxge
f_186561_
private final Optional<SpawnData$CustomSpawnRules>
e
customSpawnRules
comp_65
f_swncnqkj
customSpawnRules
f_swncnqkj
f_186562_
public static final com.mojang.serialization.Codec<SpawnData>
a
CODEC
field_34460
f_ilsksuse
CODEC
f_ilsksuse
f_186559_
public static final com.mojang.serialization.Codec<SimpleWeightedRandomList<SpawnData>>
b
LIST_CODEC
field_34461
f_kquvrajh
DATA_POOL_CODEC
f_kquvrajh
f_186560_
public static final String
c
DEFAULT_TYPE
field_30977
f_xumslcvz
DEFAULT_ENTITY_ID
DEFAULT_ENTITY_ID
f_151630_

Constructor summary

ModifierConstructor
public ()
public (CompoundTag f_186562_, Optional<SpawnData$CustomSpawnRules> arg1)

Method summary

Modifier and TypeMethod
public CompoundTag
a()
getEntityToSpawn()
method_38093()
m_upcwhsjp()
getNbt()
m_upcwhsjp()
m_186567_()
public Optional<SpawnData$CustomSpawnRules>
b()
getCustomSpawnRules()
method_38097()
m_hnvblbtt()
getCustomSpawnRules()
m_hnvblbtt()
m_186574_()
public CompoundTag
c()
entityToSpawn()
comp_64()
m_hzqmtgsf()
entity()
m_hzqmtgsf()
f_186561_()
public Optional<SpawnData$CustomSpawnRules>
d()
customSpawnRules()
comp_65()
m_ulnjbjev()
customSpawnRules()
m_ulnjbjev()
f_186562_()