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

Method getPrecipitationHeight

src/main/java/net/minecraft/world/World.java:1560–1563  ·  view source on GitHub ↗
(BlockPos pos)

Source from the content-addressed store, hash-verified

1558 }
1559
1560 public BlockPos getPrecipitationHeight(BlockPos pos)
1561 {
1562 return this.getChunkFromBlockCoords(pos).getPrecipitationHeight(pos);
1563 }
1564
1565 /**
1566 * Finds the highest block on the x and z coordinate that is solid or liquid, and returns its y coord.

Callers 5

addRainParticlesMethod · 0.95
renderRainSnowMethod · 0.95
canLightningStrikeMethod · 0.95
updateBlocksMethod · 0.45

Calls 1

Tested by

no test coverage detected