Jump to content

[1.16.5] How do I set the world to thunder ?


Toasterkid

Recommended Posts

From an entity I can set the world to raining via

entity.level.getLevelData().setRaining(true);

but how do I make thunder with that?

From level I can also see
 

entity.level.setThunderLevel(float value)

and

entity.level.setRainLevel(float value)

but I can't find a description on what those do.

Edited by Toasterkid
make code more clear
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.