本帖最后由 林扬骐 于 2017-6-20 16:53 编辑
(6月20日第3次更新,只更新了function,增加了在合适时给予漂浮、跳跃的功能)
(看不了图的话用网盘:链接: http://pan.baidu.com/s/1dE7I44D 密码: ttw7)
图1
如图1,品红色带釉陶瓦的图案是箭头状的,于是有的灵感
图2图3
如图2、图3,人物(@a仅玩家)站在砖块上会按其方向平移(pcb、单指令1)
pcb1:复制代码
单指令1:
另外站在其侧面也可,如图4(pcb、单指令2):
图4
复制代码
单指令2:
单指令1+单指令2=单指令3:
(2017.6.20更新,增加了在合适时给予漂浮、跳跃的功能)
另外:function版(参考http://www.mcbbs.net/thread-698426-1-1.html及wiki:http://minecraft-zh.gamepedia.com/%E5%87%BD%E6%95%B0):
先使用:
复制代码
(里面的指令):
后用
a.
复制代码或是b.
复制代码
不带漂浮的:
linyangqi-jiemi.rar
(1.32 KB, 下载次数: 5)
带漂浮的:
linyangqi-jiemi(带漂浮).rar
(1.86 KB, 下载次数: 9)
安装方法:
将压缩包解压到 .minecraft/saves/你的存档/data/functions
然后重新打开你的存档即可!(ps:若不想重新加载,可使用“/reload”)
复制代码
感谢阅读,玩得开心!
@pca006132 @chyx @FHC红石 @langyo_v3 @-ZCH- @12356789asdfg @ruhuasiyu @Deing @Formula3 @MsYqgzt @雷鸣·翾鹗
(6月20日第3次更新,只更新了function,增加了在合适时给予漂浮、跳跃的功能)
(看不了图的话用网盘:链接: http://pan.baidu.com/s/1dE7I44D 密码: ttw7)
图1
如图1,品红色带釉陶瓦的图案是箭头状的,于是有的灵感
图2图3
如图2、图3,人物(@a仅玩家)站在砖块上会按其方向平移(pcb、单指令1)
pcb1:
- //脚下
- rcb:execute @a ~ ~ ~ detect ~ ~-1 ~ magenta_glazed_terracotta 0 tp @s ~ ~ ~-1
- execute @a ~ ~ ~ detect ~ ~-1 ~ magenta_glazed_terracotta 1 tp @s ~1 ~ ~
- execute @a ~ ~ ~ detect ~ ~-1 ~ magenta_glazed_terracotta 2 tp @s ~ ~ ~1
- execute @a ~ ~ ~ detect ~ ~-1 ~ magenta_glazed_terracotta 3 tp @s ~-1 ~ ~
单指令1:
另外站在其侧面也可,如图4(pcb、单指令2):
图4
pcb2:
- //侧面
- /*
- x-1下-上+
- x+1上-下+
- z-1 -下+上
- z+1 -上+下
- magenta_glazed_terracotta 0 tp @s ~ ~ ~
- */
- rcb:execute @a ~ ~ ~ detect ~-1 ~ ~ magenta_glazed_terracotta 0 tp @s ~ ~-1 ~
- execute @a ~ ~ ~ detect ~-1 ~ ~ magenta_glazed_terracotta 1 tp @s ~ ~ ~-1
- execute @a ~ ~ ~ detect ~-1 ~ ~ magenta_glazed_terracotta 2 tp @s ~ ~1 ~
- execute @a ~ ~ ~ detect ~-1 ~ ~ magenta_glazed_terracotta 3 tp @s ~ ~ ~1
- execute @a ~ ~ ~ detect ~1 ~ ~ magenta_glazed_terracotta 0 tp @s ~ ~1 ~
- execute @a ~ ~ ~ detect ~1 ~ ~ magenta_glazed_terracotta 1 tp @s ~ ~ ~-1
- execute @a ~ ~ ~ detect ~1 ~ ~ magenta_glazed_terracotta 2 tp @s ~ ~-1 ~
- execute @a ~ ~ ~ detect ~1 ~ ~ magenta_glazed_terracotta 3 tp @s ~ ~ ~1
- execute @a ~ ~ ~ detect ~ ~ ~-1 magenta_glazed_terracotta 0 tp @s ~-1 ~ ~
- execute @a ~ ~ ~ detect ~ ~ ~-1 magenta_glazed_terracotta 1 tp @s ~ ~-1 ~
- execute @a ~ ~ ~ detect ~ ~ ~-1 magenta_glazed_terracotta 2 tp @s ~1 ~ ~
- execute @a ~ ~ ~ detect ~ ~ ~-1 magenta_glazed_terracotta 3 tp @s ~ ~1 ~
- execute @a ~ ~ ~ detect ~ ~ ~1 magenta_glazed_terracotta 0 tp @s ~-1 ~ ~
- execute @a ~ ~ ~ detect ~ ~ ~1 magenta_glazed_terracotta 1 tp @s ~ ~1 ~
- execute @a ~ ~ ~ detect ~ ~ ~1 magenta_glazed_terracotta 2 tp @s ~1 ~ ~
- execute @a ~ ~ ~ detect ~ ~ ~1 magenta_glazed_terracotta 3 tp @s ~ ~-1 ~
单指令2:
单指令1+单指令2=单指令3:
(2017.6.20更新,增加了在合适时给予漂浮、跳跃的功能)
另外:function版(参考http://www.mcbbs.net/thread-698426-1-1.html及wiki:http://minecraft-zh.gamepedia.com/%E5%87%BD%E6%95%B0):
先使用:
- /function linyangqi-jiemi:init-move_along_terracotta
(里面的指令):
后用
a.
- 使砖块 上方 的 执行者 平移:/function ceshi:pingyi_1
- 使砖块 侧面 的 执行者 平移:/function ceshi:pingyi_2
- 使砖块 上方与侧面 的 执行者 平移:/function ceshi:pingyi_3
- (命令放入循环命令方块并激活)
- 使玩家:前面加
- execute @a ~ ~ ~
- 使全体实体:前面加
- execute @e ~ ~ ~
- /gamerule gameLoopFunction linyangqi-jiemi:main-move_along_terracotta
不带漂浮的:

带漂浮的:

安装方法:
将压缩包解压到 .minecraft/saves/你的存档/data/functions
然后重新打开你的存档即可!(ps:若不想重新加载,可使用“/reload”)
- /reload
感谢阅读,玩得开心!
@pca006132 @chyx @FHC红石 @langyo_v3 @-ZCH- @12356789asdfg @ruhuasiyu @Deing @Formula3 @MsYqgzt @雷鸣·翾鹗
function大法好,都1.12还不用function么?直接上function模块吧
ruhuasiyu 发表于 2017-6-16 23:27
function大法好,都1.12还不用function么?直接上function模块吧
参考http://www.mcbbs.net/thread-698426-1-1.html做好了
林扬骐 发表于 2017-6-17 00:07
参考http://www.mcbbs.net/thread-698426-1-1.html做好了
稍微调整了一下,可以作为function模块调用了
- #move_along_terracotta.mcfunction
- #作者:林扬骐
- #效果:执行者位于品红色带釉陶瓦的顶部或侧面时,会沿着箭头方向移动,速度为1m/tick
- execute @s ~ ~ ~ detect ~ ~-1 ~ magenta_glazed_terracotta 0 tp @s ~ ~ ~-1
- execute @s ~ ~ ~ detect ~ ~-1 ~ magenta_glazed_terracotta 1 tp @s ~1 ~ ~
- execute @s ~ ~ ~ detect ~ ~-1 ~ magenta_glazed_terracotta 2 tp @s ~ ~ ~1
- execute @s ~ ~ ~ detect ~ ~-1 ~ magenta_glazed_terracotta 3 tp @s ~-1 ~ ~
- execute @s ~ ~ ~ detect ~-1 ~ ~ magenta_glazed_terracotta 0 tp @s ~ ~-1 ~
- execute @s ~ ~ ~ detect ~-1 ~ ~ magenta_glazed_terracotta 1 tp @s ~ ~ ~-1
- execute @s ~ ~ ~ detect ~-1 ~ ~ magenta_glazed_terracotta 2 tp @s ~ ~1 ~
- execute @s ~ ~ ~ detect ~-1 ~ ~ magenta_glazed_terracotta 3 tp @s ~ ~ ~1
- execute @s ~ ~ ~ detect ~1 ~ ~ magenta_glazed_terracotta 0 tp @s ~ ~1 ~
- execute @s ~ ~ ~ detect ~1 ~ ~ magenta_glazed_terracotta 1 tp @s ~ ~ ~-1
- execute @s ~ ~ ~ detect ~1 ~ ~ magenta_glazed_terracotta 2 tp @s ~ ~-1 ~
- execute @s ~ ~ ~ detect ~1 ~ ~ magenta_glazed_terracotta 3 tp @s ~ ~ ~1
- execute @s ~ ~ ~ detect ~ ~ ~-1 magenta_glazed_terracotta 0 tp @s ~-1 ~ ~
- execute @s ~ ~ ~ detect ~ ~ ~-1 magenta_glazed_terracotta 1 tp @s ~ ~-1 ~
- execute @s ~ ~ ~ detect ~ ~ ~-1 magenta_glazed_terracotta 2 tp @s ~1 ~ ~
- execute @s ~ ~ ~ detect ~ ~ ~-1 magenta_glazed_terracotta 3 tp @s ~ ~1 ~
- execute @s ~ ~ ~ detect ~ ~ ~1 magenta_glazed_terracotta 0 tp @s ~-1 ~ ~
- execute @s ~ ~ ~ detect ~ ~ ~1 magenta_glazed_terracotta 1 tp @s ~ ~1 ~
- execute @s ~ ~ ~ detect ~ ~ ~1 magenta_glazed_terracotta 2 tp @s ~1 ~ ~
- execute @s ~ ~ ~ detect ~ ~ ~1 magenta_glazed_terracotta 3 tp @s ~ ~-1 ~
这个没什么难度啊,不过想法不错。
和我的跑步机好像差不多
@s我已经不知道是什么了,好伤
唉
...
先准备考试吧
@s我已经不知道是什么了,好伤
唉
...
先准备考试吧
可以看看刚写的那个标准,相信会对这类模块有点用
可以这个很不错
function有你更精彩
本帖最后由 归燕 于 2017-7-1 19:26 编辑
大佬6,萌新瑟瑟发抖这创意可以的
大佬6,萌新瑟瑟发抖这创意可以的