MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / canSeeSky

Method canSeeSky

src/main/java/net/minecraft/world/chunk/Chunk.java:904–910  ·  view source on GitHub ↗
(BlockPos pos)

Source from the content-addressed store, hash-verified

902 }
903
904 public boolean canSeeSky(BlockPos pos)
905 {
906 int i = pos.getX() & 15;
907 int j = pos.getY();
908 int k = pos.getZ() & 15;
909 return j >= this.heightMap[k << 4 | i];
910 }
911
912 private TileEntity createNewTileEntity(BlockPos pos)
913 {

Callers 2

getLightForMethod · 0.95
runMethod · 0.95

Calls 3

getXMethod · 0.65
getYMethod · 0.65
getZMethod · 0.65

Tested by

no test coverage detected