YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.tileentity.TileEntityNote Class Reference
Inheritance diagram for net.minecraft.tileentity.TileEntityNote:
net.minecraft.tileentity.TileEntity

Public Member Functions

void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
void changePitch ()
 
void triggerNote (World par1World, int par2, int par3, int par4)
 
- Public Member Functions inherited from net.minecraft.tileentity.TileEntity
World getWorldObj ()
 
void setWorldObj (World par1World)
 
boolean func_70309_m ()
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
void updateEntity ()
 
int getBlockMetadata ()
 
void onInventoryChanged ()
 
double getDistanceFrom (double par1, double par3, double par5)
 
double getMaxRenderDistanceSquared ()
 
Block getBlockType ()
 
Packet getDescriptionPacket ()
 
boolean isInvalid ()
 
void invalidate ()
 
void validate ()
 
boolean receiveClientEvent (int par1, int par2)
 
void updateContainingBlockInfo ()
 
void func_85027_a (CrashReportCategory par1CrashReportCategory)
 
boolean canUpdate ()
 
void onDataPacket (INetworkManager net, Packet132TileEntityData pkt)
 
void onChunkUnload ()
 
boolean shouldRefresh (int oldID, int newID, int oldMeta, int newMeta, World world, int x, int y, int z)
 
boolean shouldRenderInPass (int pass)
 
AxisAlignedBB getRenderBoundingBox ()
 

Public Attributes

byte note = 0
 
boolean previousRedstoneState = false
 
- Public Attributes inherited from net.minecraft.tileentity.TileEntity
World worldObj
 
int xCoord
 
int yCoord
 
int zCoord
 
int blockMetadata = -1
 
Block blockType
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.tileentity.TileEntity
static void addMapping (Class par0Class, String par1Str)
 
static TileEntity createAndLoadEntity (NBTTagCompound par0NBTTagCompound)
 
- Static Public Attributes inherited from net.minecraft.tileentity.TileEntity
static final AxisAlignedBB INFINITE_EXTENT_AABB = AxisAlignedBB.getBoundingBox(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY)
 
- Protected Attributes inherited from net.minecraft.tileentity.TileEntity
boolean tileEntityInvalid
 

Member Function Documentation

void net.minecraft.tileentity.TileEntityNote.changePitch ( )

change pitch by -> (currentPitch + 1) % 25

void net.minecraft.tileentity.TileEntityNote.readFromNBT ( NBTTagCompound  par1NBTTagCompound)

Reads a tile entity from NBT.

void net.minecraft.tileentity.TileEntityNote.triggerNote ( World  par1World,
int  par2,
int  par3,
int  par4 
)

plays the stored note

void net.minecraft.tileentity.TileEntityNote.writeToNBT ( NBTTagCompound  par1NBTTagCompound)

Writes a tile entity to NBT.

Member Data Documentation

byte net.minecraft.tileentity.TileEntityNote.note = 0

Note to play

boolean net.minecraft.tileentity.TileEntityNote.previousRedstoneState = false

stores the latest redstone state


The documentation for this class was generated from the following file: