001 002 public class DoubleChest extends ItemArray<ay> implements ComplexBlock, Inventory { 003 private final Block block; 004 private String name = "Large Chest"; 005 006 public DoubleChest(ay chest) { 007 super(chest); 008 block = chest.getChestBlock(); 009 } 010 011 public String getName() { 012 return name; 013 } 014 015 public void setName(String value) { 016 name = value; 017 } 018 019 public int getX() { 020 return block.getX(); 021 } 022 023 public int getY() { 024 return block.getY(); 025 } 026 027 public int getZ() { 028 return block.getZ(); 029 } 030 031 public void update() { 032 container.d(); 033 } 034 035 public Block getBlock() { 036 return block; 037 } 038 039 }