极手游游戏网 | 手游库 | 手机版 | 网站地图
所在位置:首页 > 游戏资讯 > 手游问答

我的世界基岩版指令有什么 我的世界1.19新版本指定大全

提问时间:2023-06-27 20:00:26

1个回答

帮助4

我的世界迎来新版本更新,这次更新中包含了指令部分——execute。更新前的execute格式为:execute 生物选择器 ~~~ 子指令更新后,execute格式不再单一,多样化起来了,格式大体为6种,

最佳答案
鸽子精

鸽子精

收藏

我的世界迎来新版本更新,这次更新中包含了指令部分——execute

更新前的execute格式为:

execute 生物选择器 ~~~ 子指令

更新后,execute格式不再单一,多样化起来了,格式大体为6种,我将其简单列出——


第一种:

execute as 生物选择器 at 子指令

第二种:

execute at 生物选择器 run 子指令

翻译:对生物选择器包括的玩家执行子指令


第三种:

execute positioned x y z run 子指令

翻译:对离坐标最近的玩家执行子指令


第四种:

execute positioned as 坐标/玩家ID/选择器 子指令

翻译:对指定目标执行子指令


最后俩种比较复杂,需要实践获知


第五种:

execute if block/blocks/entiy/score ... 子指令

翻译:若条件满足if后面指令内容,则执行子指令


第六种:

execute unless block/blocks/entiy/score ... 子指令

翻译:若条件不满足unless后面指令内容,则执行子指令


分支解析:

if/unless block 检测单个具体方块


if/unless blocks 检测俩个长方体区域内的方块匹配情况


if/unless entity 检测指定实体是否存在


if/unless scores 检测目标的分数


分支格式:

execute if/unless block x y z 方块ID 子指令


execute if/unless blocks 俩个对角方块坐标 俩个坐标中最小坐标 all/masked 子指令

(此格式中三个坐标参考clone中的坐标摆放)


execute if/unless entity 生物选择器 子指令


execute if/unless score 目标选择 计分板 matches 范围<range> 子指令


单词解析:

指令中带run仅执行一次,适合用于聊天栏输入。


if 如果……就……


unless 除非……否则


all 区域内的全部方块


masmed 除开空气


总结:

旧版 execute 实体选择器 ~~~ kill


新版 execute at 实体选择器 run kill


这是变式,内容可改。


0
热门问答
相关问答
热门解答者
鸽子精 鸽子精

8127个解答

帮助5032

最新提问