Class DoubleChest

java.lang.Object
  extended by ItemArray<ay>
      extended by DoubleChest
All Implemented Interfaces:
ComplexBlock, Inventory

public class DoubleChest
extends ItemArray<ay>
implements ComplexBlock, Inventory


Field Summary
Modifier and Type Field and Description
 
Fields inherited from class ItemArray
container
 
Constructor Summary
Constructor and Description
DoubleChest(ay chest)
           
 
Method Summary
Modifier and Type Method and Description
 Block getBlock()
          Returns the Block associated with this ComplexBlock
 java.lang.String getName()
           
 int getX()
          Returns the X coordinates of this block
 int getY()
          Returns the Y coordinates of this block
 int getZ()
          Returns the Z coordinates of this block
 void setName(java.lang.String value)
           
 void update()
          Sends the updated block information to clients.
 
Methods inherited from class ItemArray
addItem, clearContents, getContents, getContentsSize, getEmptySlot, getItemFromId, getItemFromId, getItemFromId, getItemFromId, getItemFromSlot, hasItem, hasItem, hasItem, hasItem, hasItem, removeItem, removeItem, removeItem, removeItem, setContents, setSlot, setSlot, setSlot, setSlot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Inventory
addItem, clearContents, getContents, getContentsSize, getEmptySlot, getItemFromId, getItemFromId, getItemFromId, getItemFromId, getItemFromSlot, hasItem, hasItem, hasItem, hasItem, hasItem, removeItem, removeItem, removeItem, removeItem, setContents, setSlot, setSlot, setSlot, setSlot
 

Constructor Detail

DoubleChest

public DoubleChest(ay chest)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Inventory

setName

public void setName(java.lang.String value)
Specified by:
setName in interface Inventory

getX

public int getX()
Description copied from interface: ComplexBlock
Returns the X coordinates of this block

Specified by:
getX in interface ComplexBlock
Returns:
X

getY

public int getY()
Description copied from interface: ComplexBlock
Returns the Y coordinates of this block

Specified by:
getY in interface ComplexBlock
Returns:
Y

getZ

public int getZ()
Description copied from interface: ComplexBlock
Returns the Z coordinates of this block

Specified by:
getZ in interface ComplexBlock
Returns:
Z

update

public void update()
Description copied from interface: ComplexBlock
Sends the updated block information to clients.

Specified by:
update in interface ComplexBlock
Specified by:
update in interface Inventory

getBlock

public Block getBlock()
Description copied from interface: ComplexBlock
Returns the Block associated with this ComplexBlock

Specified by:
getBlock in interface ComplexBlock
Returns:
Block