@Override public int getX() { return m_fakeBlock.getX(); }
@Override public byte getLightLevel() { return m_fakeBlock.getLightLevel(); }
@Override public World getWorld() { return m_fakeBlock.getWorld(); }
@Override public Material getType() { return m_fakeBlock.getType(); }
@Override public int getTypeId() { return m_fakeBlock.getTypeId(); }
@Override public boolean hasMetadata(String string) { return m_fakeBlock.hasMetadata(string); }
public FakeBlockState(FakeBlock fakeBlock, BlockState blockState) { m_parent = blockState; m_fakeBlock = fakeBlock; m_materialData = new MaterialData(m_fakeBlock.getType(), m_fakeBlock.getData()); }
@Override public byte getRawData() { return m_fakeBlock.getData(); }
@Override public List<MetadataValue> getMetadata(String string) { return m_fakeBlock.getMetadata(string); }
@Override public Chunk getChunk() { return m_fakeBlock.getChunk(); }
@Override public Location getLocation(Location lctn) { return m_fakeBlock.getLocation(lctn); }
@Override public Location getLocation() { return m_fakeBlock.getLocation(); }
private FakeBlock appendChild(FakeBlock parent, String name) { return parent.append().create(name, Dimensions.zero()); }
@Override protected void setUp() { root = FakeBlock.root().create("a", Dimensions.zero()); }