Checks if a Chunk has been generated at this location. @return true if a chunk has been generated at this location
()
| 620 | * @return true if a chunk has been generated at this location |
| 621 | */ |
| 622 | public boolean isGenerated() { |
| 623 | World world = this.getWorld(); |
| 624 | Preconditions.checkNotNull(world, "Location has no world!"); |
| 625 | return world.isChunkGenerated(locToBlock(x) >> 4, locToBlock(z) >> 4); |
| 626 | } |
| 627 | |
| 628 | /** |
| 629 | * Sets the position of this Location and returns itself |
nothing calls this directly
no test coverage detected