Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement
Information icon.svg
此特性为基岩版独有。
Dark Oak Sapling.png
此条目仍需完善。

你可以帮助我们扩充关于该主题的更多信息。

fog
需要的权限等级

1

限制条件

启用作弊

/fog命令用于更改玩家的迷雾效果。迷雾可以使天边交界处(包括水中)发生模糊变化。

每个迷雾ID分别对应一个生物群系中水的颜色,水中的默认视野范围,天边交界处的颜色这3个特点,这其中包括部分未加入游戏的生物群系。

事实上,大部分的迷雾设置都只会影响水中的迷雾,只有下界和末地的生物群系对应的迷雾ID才会影响天边交界处的颜色。

语法[]

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

参数[]

<victim: target>

指定修改玩家迷雾效果的目标。必须为一个玩家名或目标选择器

<fogId: string>

指定修改的迷雾ID,必须为一个有效的迷雾ID。

<mode: delete>

必须为popremove
指定是只移除第一个还是移除所有名称为<userProvidedId: string>的迷雾。

<userProvidedId: string>

指定迷雾设置的名称。包含空格的值必须用英文双引号括起来。该名称可用于移除特定迷雾设置。

迷雾ID[]

以下是游戏中的迷雾ID:

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_cold_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_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

效果[]

命令触发条件基岩版
任意参数未正确指定 无法解析
<victim: target>无法解析为一个或多个在线玩家 执行失败
执行成功时修改指定玩家的雾设置

输出[]

命令版本条件成功次数
任意基岩版执行失败0
执行成功1

历史[]

基岩版
1.16.1001.16.100.54加入了/fog
Advertisement