Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
Information icon.svg
This feature is exclusive to Bedrock Edition. 
fog
Permission level
required

1

Restrictions

Cheat only

Used for managing active fog settings for players.

Syntax[]

fog <victim: target> push <fogID: string> <userProvidedId: string>
fog <victim: target> <mode: delete> <userProvidedId: string>

Arguments[]

<victim: target>: CommandSelector<Actor>

Must be a player name or a target selector.
Specifies the entity(s) to be triggered. If not specified, defaults to the command's executor.

fogID: string: basic_string

Must be a string. And it must be either a single word (no spaces) or a quoted string.
Should be in a fog definition name (e.g. minecraft:fog_plains), or fog defined under the Json path "minecraft:fog_settings"."identifier" in the <a_resource_pack>/fogs/<biomes_name>_fog_setting.json file (e.g. fog_plains for plains biome fog).
Specifies the biome fog to display.

<mode: delete>

Must be one of pop and remove.
Specifies whether to remove the fog in pop or remove mode.

userProvidedId: string: basic_string

Must be a string. And it must be either a single word (no spaces) or a quoted string.
Should be in the format of name.

Fog ID's[]

Here are all the fog ID's that are currently in the game.

minecraft:fog_bamboo_jungle

minecraft:fog_bamboo_jungle_hills

minecraft:fog_basalt_deltas

minecraft:fog_beach

minecraft:fog_birch_forest

minecraft:fog_birch_forest_hills

minecraft:fog_cold_beach

minecraft:fog_freezing_ocean

minecraft:fog_cold_taiga

minecraft:fog_cold_taiga_hills

minecraft:fog_cold_taiga_mutated

minecraft:fog_crimson_forest

minecraft:fog_deep_cold_ocean

minecraft:fog_deep_frozen_ocean

minecraft:fog_deep_lukewarm_ocean

minecraft:fog_deep_cold_ocean

minecraft:fog_deep_warm_ocean

minecraft:fog_default

minecraft:fog_desert

minecraft:fog_desert_hills

minecraft:fog_extreme_hills

minecraft:fog_extreme_hills_edge

minecraft:fog_extreme_hills_mutated

minecraft:fog_extreme_hills_plus_trees

minecraft:fog_extreme_hills_plus_trees_mutated

minecraft:fog_flower_forest

minecraft:fog_forest

minecraft:fog_forest_hills

minecraft:fog_frozen_ocean

minecraft:fog_frozen_river

minecraft:fog_hell

minecraft:fog_ice_mountains

minecraft:fog_ice_plains

minecraft:fog_ice_plains_spikes

minecraft:fog_jungle

minecraft:fog_jungle_edge

minecraft:fog_jungle_hills

minecraft:fog_jungle_mutated

minecraft:fog_lukewarm_ocean

minecraft:fog_mega_spruce_taiga

minecraft:fog_mega_spruse_taiga_mutated

minecraft:fog_mega_taiga

minecraft:fog_mega_taiga_hills

minecraft:fog_mega_taiga_mutated

minecraft:fog_mesa

minecraft:fog_mesa_bryce

minecraft:fog_mesa_mutated

minecraft:fog_mesa_plateau

minecraft:fog_mushroom_island

minecraft:fog_mushroom_island_shore

minecraft:fog_ocean minecraft:fog_plains

minecraft:fog_river

minecraft:fog_roofed_forest

minecraft:fog_savanna

minecraft:fog_savanna_mutated

minecraft:fog_savanna_plateau

minecraft:fog_soulsand_valley

minecraft:fog_stone_beach

minecraft:fog_sunflower_plains

minecraft:fog_swampland

minecraft:fog_swampland_mutated

minecraft:fog_taiga

minecraft:fog_taiga_hills

minecraft:fog_taiga_mutated

minecraft:fog_the_end

minecraft:fog_warm_ocean

minecraft:fog_warped_forest

Result[]

CommandTriggerBedrock Edition
anythe arguments are not specified correctly Failed
if victim: target fails to resolve to one or more online entities (named players must be online)
On successFog setting successfully added

Output[]

CommandEditionSituationSuccess Count
anyBedrock EditionOn fail0
On success1

History[]

Bedrock Edition
1.16.100beta 1.16.100.54Added /fog.
Advertisement