Wiki 9Minecraft Wiki 9Minecraft
Hd Vanilla Shaders Mcpe Wiki › Guides › How to Trigger Sandstorms and Shader Functions with Commands

How to Trigger Sandstorms and Shader Functions with Commands

When you play with the HD Vanilla Shaders Behavior Pack enabled, you gain access to built-in /function commands that trigger custom weather particles and shader states. Because these features are still in beta, they must be triggered manually in-game.

Enabling Cheats

To run function commands, your world must allow cheats:

1. Pause the game and open Settings.

2. Under the Game tab, scroll down to the Cheats section.

3. Toggle Activate Cheats on.

Running the Shader Functions

Open your chat window and type one of the following commands to test the experimental effects:

  • /function desert — Triggers a beta sandstorm effect by spawning blowing sand particles around your player. Use this while in desert biomes to make the environment feel more active.
  • /function start — Runs the pack's startup function. This command is an experimental work-in-progress feature included with the behavior pack.

Because these commands are part of the behavior pack, typing them in a world that only uses the resource pack will return an unknown command error. If the particles do not appear right away, double-check your world's Add-Ons menu to confirm the behavior pack is active.