[Tutorial] How to make custom weather [World Renderer]

Started by sumeshi0216 on

Topic category: User side tutorials

Last seen on 12:16, 17. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Tutorial] How to make custom weather [World Renderer]
Sat, 06/22/2024 - 13:21 (edited)

In order to render weather, you will need to use an event trigger "Graphics - Set up dimension" and set up your dimension.

Next, add a new procedure element and 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's false, rain will be invisible.
  • Snow: If it's false, snow will be invisible.
  • Speed: It's  an animation speed.
  • Range: It's a display range of rain and snow.
  • Color: It's the texture color.
  • Constant: If it's 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's an animation speed.
  • X/Z: They are a position of rain/snow. It's not possible to use decimal numbers, and they will be rounded down.
  • Color: It's the texture color.
  • Constant: If it's 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 - Render effects."


 

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's 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's a range of particles and sounds.
  • Particles: If it's false, spawn no particles.
  • Sounds: If it's false, play no sound.
  • Constant: If it's 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's a particle type to spawn on ground.
  • Special Particle: It's a particle type to spawn on lava, magma blocks and campfires.
  • Generic Sound: It's a sound type outdoors.
  • Special Sound: It's a sound type indoors.

 

If you want to get rain/snow of vanilla Minecraft, use procedure templates.

Edited by sumeshi0216 on Sat, 06/22/2024 - 13:21
Last seen on 23:05, 26. Jul 2024
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to change the…
Wed, 07/10/2024 - 15:14

Is there a way to change the directions of the weather hoping to have a sandstorm like weather that runs horizontal instead of vertical like rain?

Last seen on 23:05, 26. Jul 2024
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a possibility to do…
Thu, 07/11/2024 - 00:15

Is there a possibility to do this? Messing around with the x and y doesnt seem to change anything from what I can tell. 

Last seen on 12:16, 17. Jul 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Event trigger "Graphics -…
Fri, 07/12/2024 - 22:40

Event trigger "Graphics - Render shapes." is required.

Last seen on 05:51, 24. Jul 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Where the hell did you get…
Wed, 07/24/2024 - 04:00

Where the hell did you get that trigger and those procedure blocks? I'm in MCreator 2022.3 (most recent one that can make mods for 1.16.5 (latest version with supported OpenGL)) and all of that is no where to be found.

Last seen on 22:16, 26. Jul 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you make the weather…
Wed, 07/24/2024 - 22:27

can you make the weather push the player in a specific direction like strong wind?