net.minecraft.world.level

public class SpawnData

extends WeightedEntry$IntrusiveBase

All mapped superinterfaces:

WeightedEntry

bxg
net.minecraft.world.level.SpawnData
net.minecraft.class_1952
net.minecraft.world.MobSpawnerEntry
net.minecraft.src.C_1620_
net.minecraft.world.level.MobSpawnerData

Field summary

Modifier and TypeField
public static final int
a
DEFAULT_WEIGHT
field_30976
DEFAULT_WEIGHT
f_151629_
public static final String
b
DEFAULT_TYPE
field_30977
DEFAULT_ENTITY_ID
f_151630_
private final CompoundTag
c
tag
field_9307
entityNbt
f_47257_

Constructor summary

ModifierConstructor
public ()
public (CompoundTag nbt)
public (int weight, CompoundTag entityNbt)

Method summary

Modifier and TypeMethod
public CompoundTag
b()
save()
method_8679()
toNbt()
m_47264_()
public CompoundTag
c()
getTag()
method_8678()
getEntityNbt()
m_47265_()
getEntity()