Class Chest

java.lang.Object
  extended by ItemArray<C>
      extended by BaseContainerBlock<kc>
          extended by Chest
All Implemented Interfaces:
ComplexBlock, Inventory

public class Chest
extends BaseContainerBlock<kc>
implements ComplexBlock

Chest.java - Interface to chests.


Field Summary
Modifier and Type Field and Description
 
Fields inherited from class ItemArray
container
 
Constructor Summary
Constructor and Description
Chest(kc chest)
           
 
Method Summary
Modifier and Type Method and Description
 DoubleChest findAttachedChest()
           
 
Methods inherited from class BaseContainerBlock
equals, getBlock, getName, getX, getY, getZ, hashCode, setName, toString, update
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ComplexBlock
getBlock, getX, getY, getZ, update
 
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

Chest

public Chest(kc chest)
Method Detail

findAttachedChest

public DoubleChest findAttachedChest()