Interface ComplexBlock

All Known Implementing Classes:
Chest, DoubleChest, Furnace, MobSpawner, Sign

public interface ComplexBlock

ComplexBlock.java - Interface for complex blocks like chests and signs


Method Summary
Modifier and Type Method and Description
 Block getBlock()
          Returns the Block associated with this ComplexBlock
 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 update()
          Sends the updated block information to clients.
 

Method Detail

getX

int getX()
Returns the X coordinates of this block

Returns:
X

getY

int getY()
Returns the Y coordinates of this block

Returns:
Y

getZ

int getZ()
Returns the Z coordinates of this block

Returns:
Z

update

void update()
Sends the updated block information to clients.


getBlock

Block getBlock()
Returns the Block associated with this ComplexBlock

Returns:
Block