Page MenuHomeDevCentral

Add quality of life Suhayl plugin
ClosedPublic

Authored by dereckson on Sat, Aug 23, 15:12.

Details

Summary

Allow to reduce rain rate.

Speed up happy ghasts.

Test Plan

Tested on server:

  • no rain during quick test periods
  • happy ghasts are fast
  • adult happy ghasts not harmed anymore by snowballs

Diff Detail

Repository
rQVR Quilvaryn
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 5824
Build 6106: arc lint + arc unit

Event Timeline

dereckson created this revision.

EOL at EOF

plugins/suhayl/src/main/java/org/eu/loupsgris/quilvaryn/listeners/RainReducer.java
22 ↗(On Diff #9425)

https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/weather/WeatherChangeEvent.html#toWeatherState()

public boolean toWeatherState()
Gets the state of weather that the world is being set to

Returns:
true if the weather is being set to raining, false otherwise

  • address spacing issues (EOL at EOF, class spacing)
  • heal on snowball hit
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Sun, Aug 24, 16:15
This revision was automatically updated to reflect the committed changes.