net.minecraft.world

public record MobSpawnerEntry

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

Field summary

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

Constructor summary

ModifierConstructor
public ()
public (NbtCompound entityToSpawn, Optional<MobSpawnerEntry$CustomSpawnRules> customSpawnRules)

Method summary

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