Package org.spout.vanilla.world.generator.nether.structure.fortress

Examples of org.spout.vanilla.world.generator.nether.structure.fortress.Fortress.placeObject()


      final Fortress fortress = new Fortress(random);
      final int x = blockX + random.nextInt(VARIATION * 2 + 1) - VARIATION;
      final int y = random.nextInt(RAND_Y + 1) + BASE_Y;
      final int z = blockZ + random.nextInt(VARIATION * 2 + 1) - VARIATION;
      if (fortress.canPlaceObject(world, x, y, z)) {
        fortress.placeObject(world, x, y, z);
      }
    }
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.