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 p_175108_2_) |
void |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public void writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public void changePitch()