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

Method isRaining

src/main/java/net/minecraft/world/World.java:3563–3566  ·  view source on GitHub ↗

Returns true if the current rain strength is greater than 0.2

()

Source from the content-addressed store, hash-verified

3561 * Returns true if the current rain strength is greater than 0.2
3562 */
3563 public boolean isRaining()
3564 {
3565 return (double)this.getRainStrength(1.0F) > 0.2D;
3566 }
3567
3568 public boolean canLightningStrike(BlockPos strikePosition)
3569 {

Callers 8

canLightningStrikeMethod · 0.95
updateWeatherMethod · 0.45
updateBlocksMethod · 0.45
updateWeatherMethod · 0.45
updateTickMethod · 0.45
shouldExecuteMethod · 0.45

Calls 1

getRainStrengthMethod · 0.95

Tested by

no test coverage detected