Examples of biomeAt()


Examples of se.llbit.chunky.map.BiomeLayer.biomeAt()

  }

  public String biomeAt(int blockX, int blockZ) {
    if (biomes instanceof BiomeLayer) {
      BiomeLayer biomeLayer = (BiomeLayer) biomes;
      return biomeLayer.biomeAt(blockX, blockZ);
    } else {
      return "unknown";
    }
  }
}
View Full Code Here

Examples of se.llbit.chunky.world.Chunk.biomeAt()

      ChunkPosition cp = ChunkPosition.get(cx, cz);
      Chunk hoveredChunk = chunky.getWorld().getChunk(cp);
      if (!hoveredChunk.isEmpty()) {
        mapLabel.setText(String.format("%s, biome: %s",
            ""+hoveredChunk.toString(),
            hoveredChunk.biomeAt(bx, bz)));
      } else {
        mapLabel.setText(hoveredChunk.toString());
      }
      return cp;
    }
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.