Topic category: User side tutorials
In order to render custom weather, you will need to use an event trigger "Graphics - Render weather."
The following procedure allows you to render vanilla rain and snow.
There is the procedure in a procedure list "Graphics - Weather."
- Rain: If it is false, rain will be invisible.
- Snow: If it is false, snow will be invisible.
- Speed: It is an animation speed.
- Range: It is a display range of rain and snow.
- Color: It is the texture color.
- Constant: If it is true, rain and snow will always be visible regardless of the world weather.
The procedures allow you to render rain and snow at any positions.
There is the procedure in a procedure list "Graphics - Weather."
It is also possible to render vanilla rain and snow using these procedures. See a procedure template "Graphics - Weather - Render weather."
- Speed: It is an animation speed.
- X/Z: They are a position of rain/snow. It is not possible to use decimal numbers, and they will be rounded down.
- Color: It is the texture color.
- Constant: If it is true, rain and snow will always be visible regardless of the world weather.
Moreover, texture setting is required before rendering.
There is the procedure "Set texture" in a procedure list "Graphics procedures - Texture."
In order to add weather particles and sounds, you will need to use an event trigger "Graphics - Set weather particles and sounds."
The following procedure allows you to add weather effects.
There is the procedure in a procedure list "Graphics - Weather particles and sounds."
- Target: It is a biome type to add effects.
- Power: The larger the value, the greater the amount of particles and the louder the volume of sound.
- Range: It is a range of particles and sounds.
- Particles: If it is false, spawn no particles.
- Sounds: If it is false, play no sound.
- Constant: If it is true, particles and sounds will always be applied regardless of the world weather.
Moreover, you will need to set particles and sounds as follows.
There are the procedures in a procedure list "Graphics - Weather particles and sounds."
- Generic Particle: It is a particle type to spawn on ground.
- Special Particle: It is a particle type to spawn on lava, magma blocks and campfires.
- Generic Sound: It is a sound type outdoors.
- Special Sound: It is a sound type indoors.