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

指令:
一.冈易版
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 ~