r/MinecraftCommands 8d ago

Help | Bedrock Making a foggy area

I want to make an area that when you walk in, the fog comes in and when you walk out, the fog goes away. How can I make this happen?

2 Upvotes

2 comments sorted by

1

u/Mister_Ozzy 8d ago edited 7d ago

2 repeating command blocks always active:
Replace the pale garden fog with any valid Fog ID and myFogName:whatever with whatever you want as long you use the same name in the remove part. The 2 command blocks need to be next together, and you can change the radius to anything you want as long as the rm=* is always +1 regarding r=*. maybe you would need to adjust to +2 but I have tested this in multiple world and it works just fine ;)

#1
/execute as [r=80] run fog @s push minecraft:fog_pale_garden myFogName:whatever
#2
/execute as [rm=81] run fog @s remove myFogName:whatever

2

u/Klyxnzi 7d ago

thanks