Beispiel #1
0
 public CraftBlockState(final Block block) {
   this.world = (SpoutcraftWorld) block.getWorld();
   this.x = block.getX();
   this.y = block.getY();
   this.z = block.getZ();
   this.type = block.getTypeId();
   this.light = block.getLightLevel();
   this.chunk = (SpoutcraftChunk) block.getChunk();
   this.location = new FastLocation(x, y, z, 0, 0, world);
 }