Examples of IntVector3


Examples of org.spout.api.math.IntVector3

  public boolean execute(int x, int y, int z, boolean neighbours) {
    // Spout.getLogger().info("Resolving lower for " + x + ", " + y + ", " + z);
    for (int f = 0; f < allFaces.length; f++) {
      BlockFace face = allFaces[f];
      IntVector3 offset = face.getIntOffset();
      int nx = x + offset.getX();
      int ny = y + offset.getY();
      int nz = z + offset.getZ();

      short nId = material.getId(nx, ny, nz);
      if (nId == BlockMaterial.UNGENERATED.getId()) {
        continue;
      }
View Full Code Here

Examples of org.spout.api.math.IntVector3

      if (centerOcclusionSet.get(face)) {
        continue;
      }

      IntVector3 offset = face.getIntOffset();
      int nx = x + offset.getX();
      int ny = y + offset.getY();
      int nz = z + offset.getZ();

      short nId = material.getId(nx, ny, nz);
      if (nId == BlockMaterial.UNGENERATED.getId()) {
        continue;
      }
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.