net.minecraft.block.entity

public class TrialSpawnerBlockEntity

extends BlockEntity implements TrialSpawnerLogic$TrialSpawner, Spawner

All mapped superinterfaces:

DebugTrackable, EntryConvertible, TrialSpawnerLogic$TrialSpawner, Spawner

net.minecraft.world.level.block.entity.TrialSpawnerBlockEntity
net.minecraft.class_8961
net.minecraft.block.entity.TrialSpawnerBlockEntity

Field summary

Modifier and TypeField
private final TrialSpawnerLogic
trialSpawner
field_47355
logic

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
private TrialSpawnerLogic
createDefaultSpawner()
method_67406()
createDefaultLogic()
protected void
loadAdditional(ValueInput input)
method_11014(class_11368 arg0)
readData(ReadView arg0)
protected void
saveAdditional(ValueOutput output)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
public BlockEntityUpdateS2CPacket
getUpdatePacket()
method_38235()
toUpdatePacket()
public NbtCompound
getUpdateTag(HolderLookup$Provider registries)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public void
setEntityId(EntityType<?> type, RandomSource random)
method_46408(class_1299<?> arg0, class_5819 arg1)
setEntityType(EntityType<?> arg0, Random arg1)
public void
setEntityData(TypedEntityData<EntityType<?>> entityData, RandomSource random)
method_1_6461(class_11580<class_1299<?>> arg0, class_5819 arg1)
setEntityData(TypedEntityData<EntityType<?>> arg0, Random arg1)
public TrialSpawnerLogic
getTrialSpawner()
method_55150()
getSpawner()
public TrialSpawnerState
getState()
method_55151()
getSpawnerState()
public void
setState(Level level, TrialSpawnerState state)
method_55146(class_1937 arg0, class_8967 arg1)
setSpawnerState(World arg0, TrialSpawnerState arg1)
public void
markUpdated()
method_55152()
updateListeners()
public Packet
getUpdatePacket()
method_38235()
toUpdatePacket()