public class MusicBlockTileEntity
extends net.minecraft.tileentity.TileEntity
implements net.minecraft.tileentity.ITickableTileEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
MusicBlockTileEntity.BlockSoundRecord |
| Constructor and Description |
|---|
MusicBlockTileEntity() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
Called when you receive a TileEntityData packet for the location this
TileEntity is currently in.
|
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT compound) |
void |
tick() |
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitypublic void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound)
load in class net.minecraft.tileentity.TileEntitypublic net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT compound)
save in class net.minecraft.tileentity.TileEntitypublic net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntity@Nullable public net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class net.minecraft.tileentity.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket in interface net.minecraftforge.common.extensions.IForgeTileEntitynet - The NetworkManager the packet originated frompkt - The data packet