How to make SandStorms?

Started by MisterSmeet on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make SandStorms?
Sun, 02/09/2025 - 09:01 (edited)

How to make SandStorms, wether custom on Mcreator? Mcreator 2024.4

Edited by MisterSmeet on Sun, 02/09/2025 - 09:01
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Minecraft's weather is done…
Sun, 02/09/2025 - 11:18

Minecraft's weather is done through particles. You can create global logic variables for determining whether or not the "Sandstorm" is active.

Procedures will then need to be summoning the particles around the players, and will do whatever other effects you want to happen inside that procedure.

 

Particle spawning blocks you will need are:

Spawn [number] particles on server-side at x: [x] y: [y] z: [z] in area dx: [number] dy: [number] dz: [number] with speed: [number] type: [particle]

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it's not difficult for…
Mon, 02/10/2025 - 16:42

If it's not difficult for you, can you show in the screenshot how to do it?

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here's a rundown: Make a new…
Wed, 02/12/2025 - 06:14

Here's a rundown:

Make a new particle (assuming you already have a texture for it)

Make a new logic global variable, call it something like "sandstormActive"

Make a new number global variable, call it something like "sandstormTimer"

 

Make a new procedure to run on "player tick event"

In this procedure have an if statement that checks whether "sandstormActive" is "true".

If "true", spawn your custom particle around the player.

 

For making the sandstorm activate and deactivate, we can have a procedure that runs on the world tick, and it will make the "sandstormTimer" go down by 1.

When it reaches zero, it will turn the sandstorm on if off, and turn the sandstorm off if on.

This should also reset the "sandstormTimer" to its default value (which shouldn't be zero, as it counts down), or you could have it be a counting up timer (which then zero would be usable, and you would have to change a bit more).

 

Hope this helps.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
or it could be an entity…
Wed, 02/19/2025 - 11:26

or it could be an entity

Minecraft's weather is done through particles. You can create global logic variables for determining whether or not the "Sandstorm" is active.

Procedures will then need to be summoning the particles around the players, and will do whatever other effects you want to happen inside that procedure.

in some mods, it's an entity(e.g. Celestisynth: Wishes and Hells)