net.minecraft.world.level

public record SpawnData

dhd
net.minecraft.world.level.SpawnData
net.minecraft.class_1952
net.minecraft.unmapped.C_edcjbljn
net.minecraft.block.spawner.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
entityToSpawn
f_186561_
private final Optional<SpawnData$CustomSpawnRules>
e
customSpawnRules
comp_65
f_swncnqkj
customSpawnRules
customSpawnRules
f_186562_
private final Optional<EquipmentTable>
f
equipment
comp_2648
f_cawwjdph
equipment
equipment
f_315543_
public static final String
a
ENTITY_TAG
field_40893
f_zcgqutrr
ENTITY_KEY
ENTITY_TAG
f_254695_
public static final com.mojang.serialization.Codec<SpawnData>
b
CODEC
field_34460
f_ilsksuse
CODEC
CODEC
f_186559_
public static final com.mojang.serialization.Codec<SimpleWeightedRandomList<SpawnData>>
c
LIST_CODEC
field_34461
f_kquvrajh
DATA_POOL_CODEC
DATA_POOL_CODEC
f_186560_

Constructor summary

ModifierConstructor
public ()
public (CompoundTag entityToSpawn, Optional<SpawnData$CustomSpawnRules> customSpawnRules, Optional<EquipmentTable> equipment)

Method summary

Modifier and TypeMethod
public CompoundTag
a()
getEntityToSpawn()
method_38093()
m_upcwhsjp()
getNbt()
getEntityToSpawn()
m_186567_()
public Optional<SpawnData$CustomSpawnRules>
b()
getCustomSpawnRules()
method_38097()
m_hnvblbtt()
getCustomSpawnRules()
getCustomSpawnRules()
m_186574_()
public Optional<EquipmentTable>
c()
getEquipment()
method_59717()
m_qdakmkgl()
getEquipment()
m_318950_()
public CompoundTag
d()
entityToSpawn()
comp_64()
m_hzqmtgsf()
entity()
entityToSpawn()
f_186561_()
public Optional<SpawnData$CustomSpawnRules>
e()
customSpawnRules()
comp_65()
m_ulnjbjev()
customSpawnRules()
customSpawnRules()
f_186562_()
public Optional<EquipmentTable>
f()
equipment()
comp_2648()
m_jnjsrzap()
equipment()
equipment()
f_315543_()