001 /** 002 * ComplexBlock.java - Interface for complex blocks like chests and signs 003 * 004 * @author James 005 */ 006 public interface ComplexBlock { 007 008 /** 009 * Returns the X coordinates of this block 010 * 011 * @return X 012 */ 013 public int getX(); 014 015 /** 016 * Returns the Y coordinates of this block 017 * 018 * @return Y 019 */ 020 public int getY(); 021 022 /** 023 * Returns the Z coordinates of this block 024 * 025 * @return Z 026 */ 027 public int getZ(); 028 029 /** 030 * Sends the updated block information to clients. 031 */ 032 public void update(); 033 034 /** 035 * Returns the Block associated with this ComplexBlock 036 * 037 * @return Block 038 */ 039 public Block getBlock(); 040 }