|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectItemArray<ay>
DoubleChest
public class DoubleChest extends ItemArray<ay> implements ComplexBlock, Inventory
Modifier and Type | Field and Description |
---|
Fields inherited from class ItemArray |
---|
container |
Constructor and Description |
---|
DoubleChest(ay chest)
|
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 |
---|
public DoubleChest(ay chest)
Method Detail |
---|
public java.lang.String getName()
getName
in interface Inventory
public void setName(java.lang.String value)
setName
in interface Inventory
public int getX()
ComplexBlock
getX
in interface ComplexBlock
public int getY()
ComplexBlock
getY
in interface ComplexBlock
public int getZ()
ComplexBlock
getZ
in interface ComplexBlock
public void update()
ComplexBlock
update
in interface ComplexBlock
update
in interface Inventory
public Block getBlock()
ComplexBlock
getBlock
in interface ComplexBlock
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |