public class TileEntityNote extends TileEntity
Modifier and Type | Field and Description |
---|---|
byte |
note |
boolean |
previousRedstoneState |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj
Constructor and Description |
---|
TileEntityNote() |
Modifier and Type | Method and Description |
---|---|
void |
changePitch() |
void |
readFromNBT(NBTTagCompound compound) |
void |
triggerNote(World worldIn,
BlockPos posIn) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getUpdateTag, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public void changePitch()