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

Method isThundering

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

Returns true if the current thunder strength (weighted with the rain strength) is greater than 0.9

()

Source from the content-addressed store, hash-verified

3553 * Returns true if the current thunder strength (weighted with the rain strength) is greater than 0.9
3554 */
3555 public boolean isThundering()
3556 {
3557 return (double)this.getThunderStrength(1.0F) > 0.9D;
3558 }
3559
3560 /**
3561 * Returns true if the current rain strength is greater than 0.2

Callers 4

updateWeatherMethod · 0.45
updateBlocksMethod · 0.45
isValidLightLevelMethod · 0.45

Calls 1

getThunderStrengthMethod · 0.95

Tested by

no test coverage detected