net.minecraft.block.entity

public class MobSpawnerBlockEntity

extends BlockEntity implements Spawner

All mapped superinterfaces:

DebugTrackable, EntryConvertible, Spawner

net.minecraft.world.level.block.entity.SpawnerBlockEntity
net.minecraft.class_2636
net.minecraft.block.entity.MobSpawnerBlockEntity

Field summary

Modifier and TypeField
private final MobSpawnerLogic
spawner
field_12114
logic

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
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 static void
clientTick(Level level, BlockPos pos, BlockState state, SpawnerBlockEntity entity)
method_31696(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2636 arg3)
clientTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)
public static void
serverTick(Level level, BlockPos pos, BlockState state, SpawnerBlockEntity entity)
method_31697(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2636 arg3)
serverTick(World world, BlockPos pos, BlockState state, MobSpawnerBlockEntity blockEntity)
public BlockEntityUpdateS2CPacket
getUpdatePacket()
method_38235()
toUpdatePacket()
public NbtCompound
getUpdateTag(HolderLookup$Provider registries)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public boolean
triggerEvent(int b0, int b1)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
public void
setEntityId(EntityType<?> type, RandomSource random)
method_46408(class_1299<?> arg0, class_5819 arg1)
setEntityType(EntityType<?> arg0, Random arg1)
public MobSpawnerLogic
getSpawner()
method_11390()
getLogic()
public Packet
getUpdatePacket()
method_38235()
toUpdatePacket()