Jump to content

Recommended Posts

Posted (edited)

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
Posted

The version you are using is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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