Пример #1
0
 @Override
 public int getX() {
   return m_fakeBlock.getX();
 }
Пример #2
0
 @Override
 public byte getLightLevel() {
   return m_fakeBlock.getLightLevel();
 }
Пример #3
0
 @Override
 public World getWorld() {
   return m_fakeBlock.getWorld();
 }
Пример #4
0
 @Override
 public Material getType() {
   return m_fakeBlock.getType();
 }
Пример #5
0
 @Override
 public int getTypeId() {
   return m_fakeBlock.getTypeId();
 }
Пример #6
0
 @Override
 public boolean hasMetadata(String string) {
   return m_fakeBlock.hasMetadata(string);
 }
Пример #7
0
 public FakeBlockState(FakeBlock fakeBlock, BlockState blockState) {
   m_parent = blockState;
   m_fakeBlock = fakeBlock;
   m_materialData = new MaterialData(m_fakeBlock.getType(), m_fakeBlock.getData());
 }
Пример #8
0
 @Override
 public byte getRawData() {
   return m_fakeBlock.getData();
 }
Пример #9
0
 @Override
 public List<MetadataValue> getMetadata(String string) {
   return m_fakeBlock.getMetadata(string);
 }
Пример #10
0
 @Override
 public Chunk getChunk() {
   return m_fakeBlock.getChunk();
 }
Пример #11
0
 @Override
 public Location getLocation(Location lctn) {
   return m_fakeBlock.getLocation(lctn);
 }
Пример #12
0
 @Override
 public Location getLocation() {
   return m_fakeBlock.getLocation();
 }
Пример #13
0
 private FakeBlock appendChild(FakeBlock parent, String name) {
   return parent.append().create(name, Dimensions.zero());
 }
Пример #14
0
 @Override
 protected void setUp() {
   root = FakeBlock.root().create("a", Dimensions.zero());
 }