Package net.minecraft.src
Class TileEntityNote
- java.lang.Object
-
- net.minecraft.src.TileEntity
-
- net.minecraft.src.TileEntityNote
-
public class TileEntityNote extends TileEntity
-
-
Field Summary
Fields Modifier and Type Field Description byte
note
boolean
previousRedstoneState
-
Fields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord
-
-
Constructor Summary
Constructors Constructor Description TileEntityNote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changePitch()
void
readFromNBT(NBTTagCompound var1)
void
triggerNote(World var1, int var2, int var3, int var4)
void
writeToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.src.TileEntity
createAndLoadEntity, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, invalidate, isInvalid, onInventoryChanged, onTileEntityPowered, updateContainingBlockInfo, updateEntity, validate
-
-
-
-
Method Detail
-
writeToNBT
public void writeToNBT(NBTTagCompound var1)
- Overrides:
writeToNBT
in classTileEntity
-
readFromNBT
public void readFromNBT(NBTTagCompound var1)
- Overrides:
readFromNBT
in classTileEntity
-
changePitch
public void changePitch()
-
triggerNote
public void triggerNote(World var1, int var2, int var3, int var4)
-
-