Examples of MapObjectStronghold


Examples of amidst.map.MapObjectStronghold

      for (int y = 0; y < size; y++) {
        int chunkX = x + frag.getChunkX();
        int chunkY = y + frag.getChunkY();
        if (checkChunk(chunkX, chunkY)) { // TODO: This does not need a per-chunk test!
          // FIXME: Possible use of checkChunk causing negative icons to be misaligned!
          frag.addObject(new MapObjectStronghold(x << 4, y << 4).setParent(this));
        }
      }
    }
  }
View Full Code Here

Examples of amidst.map.MapObjectStronghold

      Point strongholdLocation = MinecraftUtil.findValidLocation((x << 4) + 8, (y << 4) + 8, 112, biomeArrayList, random);
      if (strongholdLocation != null) {
        x = strongholdLocation.x >> 4;
        y = strongholdLocation.y >> 4;
      }
      strongholds[i] = new MapObjectStronghold((x << 4), (y << 4));
      angle += 6.283185307179586D / 3.0D;
    }
  }
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.