欢迎光临散文网 会员登陆 & 注册

【全网首发】基于命令方块的磁悬浮矿车!

2023-08-25 00:01 作者:一只灰条  | 我要投稿

指令:

一.冈易版

1.磁悬浮

execute @e[type=minecart] ~ ~ ~ detect ~ ~-0.8 ~ magenta_glazed_terracotta 2 tp @s ~ ~ ~1 90 ~

execute @e[type=minecart] ~ ~ ~ detect ~ ~-0.8 ~ magenta_glazed_terracotta 3 tp @s ~ ~ ~-1 90 ~


execute @e[type=minecart] ~ ~ ~ detect ~ ~-0.8 ~ magenta_glazed_terracotta 4 tp @s ~1 ~ ~ 0 ~


execute @e[type=minecart] ~ ~ ~ detect ~ ~-0.8 ~ magenta_glazed_terracotta 5 tp @s ~-1 ~ ~ 0 ~


2.传送带


execute @e ~ ~ ~ detect ~ ~-0.8 ~ magenta_glazed_terracotta 2 tp @s ~ ~ ~1 90 ~

execute @e ~ ~ ~ detect ~ ~-0.8 ~ magenta_glazed_terracotta 3 tp @s ~ ~ ~-1 90 ~


execute @e ~ ~ ~ detect ~ ~-0.8 ~ magenta_glazed_terracotta 4 tp @s ~1 ~ ~ 0 ~


execute @e ~ ~ ~ detect ~ ~-0.8 ~ magenta_glazed_terracotta 5 tp @s ~-1 ~ ~ 0 ~


二.国际版:

1.磁悬浮

execute as @e[type=minecart] at @s if block ~ ~-0.8 ~ magenta_glazed_terracotta[“facing_direction”=2] run tp @s ~ ~ ~1 90 ~


execute as @e[type=minecart] at @s if block ~ ~-0.8 ~ magenta_glazed_terracotta[“facing_direction”=3] run tp @s ~ ~ ~-1 90 ~


execute as @e[type=minecart] at @s if block ~ ~-0.8 ~ magenta_glazed_terracotta[“facing_direction”=4] run tp @s ~1 ~ ~ 0 ~


execute as @e[type=minecart] at @s if block ~ ~-0.8 ~ magenta_glazed_terracotta[“facing_direction”=5] run tp @s ~-1 ~ ~ 0 ~


2.传送带

execute as @e at @s if block ~ ~-0.8 ~ magenta_glazed_terracotta[“facing_direction”=2] run tp @s ~ ~ ~1 90 ~


execute as @e at @s if block ~ ~-0.8 ~ magenta_glazed_terracotta[“facing_direction”=3] run tp @s ~ ~ ~-1 90 ~


execute as @e at @s if block ~ ~-0.8 ~ magenta_glazed_terracotta[“facing_direction”=4] run tp @s ~1 ~ ~ 0 ~


execute as @e at @s if block ~ ~-0.8 ~ magenta_glazed_terracotta[“facing_direction”=5] run tp @s ~-1 ~ ~ 0 ~

【全网首发】基于命令方块的磁悬浮矿车!的评论 (共 条)

分享到微博请遵守国家法律