二分法传送菜单
创建计分板: /scoreboard objectives add 传送菜单输入 dummy /scoreboard objectives add 传送菜单 dummy /scoreboard objectives add 输入X dummy /scoreboard objectives add X dummy /scoreboard objectives add 输入Y dummy /scoreboard objectives add Y dummy /scoreboard objectives add 输入Z dummy /scoreboard objectives add Z dummy 创建计分项: /scoreboard players set 菜单 传送菜单 10 /scoreboard players set 负 传送菜单 -1 菜单部分: execute @a[scores={传送菜单=1..15}] ~~~ titleraw @s actionbar {"rawtext":[{"text":" §f-§b传送菜单§f- §7最大传送距离:16777215§f \n"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单1=1}]"},{"text":"§b"},{"text":"X"}]}},{"text":" §f"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单1=2}]"},{"text":"§a"},{"text":"Y"}]}},{"text":" §f"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单1=3}]"},{"text":"§b"},{"text":"Z"}]}},{"text":" §7\n"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=1}]"},{"text":"§d"},{"text":"1"}]}},{"text":" §7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=2}]"},{"text":"§d"},{"text":" 2"}]}},{"text":" §7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=3}]"},{"text":"§d"},{"text":" 3"}]}},{"text":"§7\n"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=4}]"},{"text":"§d"},{"text":"4"}]}},{"text":" §7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=5}]"},{"text":"§d"},{"text":" 5"}]}},{"text":" §7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=6}]"},{"text":"§d"},{"text":" 6"}]}},{"text":"§7\n"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=7}]"},{"text":"§d"},{"text":"7"}]}},{"text":" §7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=8}]"},{"text":"§d"},{"text":" 8"}]}},{"text":" §7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=9}]"},{"text":"§d"},{"text":" 9"}]}},{"text":"§7\n"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=10}]"},{"text":"§d"},{"text":"删除"}]}},{"text":"§7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=11}]"},{"text":"§d"},{"text":" 0"}]}},{"text":"§7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=12}]"},{"text":"§d"},{"text":" 负数"}]}},{"text":"§7\n"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=13}]"},{"text":"§d"},{"text":"更换输入 "}]}},{"text":"§7"},{"translate":"%%2%%3","with":{"rawtext":[{"selector":"@s[scores={传送菜单=14}]"},{"text":"§d"},{"text":" 开始传送"}]}},{"text":" §r§e\n"},{"text":"§f"},{"text":" §f>§7>§a当前输入的坐标:§f \n§bX:§7"},{"score":{"name":"@s","objective":"输入X"}},{"text":"§e,§bY:§7"},{"score":{"name":"@s","objective":"输入Y"}},{"text":"§e,§bZ:§7"},{"score":{"name":"@s","objective":"输入Z"}},{"text":"\n\n§7B站:§e 顧_陌 §b制作"},{"text":"\n\n\n\n\n\n\n\n\n\n\n\n"}]} tag * remove 传送菜单 tag @a[hasitem={item=lingering_potion,location=slot.weapon.mainhand,slot=0,data=5}] add 传送菜单 execute @e[type=lingering_potion] ~~~ scoreboard players add @p[r=3,tag=传送菜单] 传送菜单 1 execute @a[tag=传送菜单] ~~~ kill @e[type=lingering_potion,r=3] scoreboard players set @a[scores={传送菜单=16..}] 传送菜单 1 execute @a[scores={传送菜单=1..11,传送菜单1=1},rx=-85] ~~~ scoreboard players operation @s 输入X *= 菜单 传送菜单 execute @a[scores={传送菜单=1..11,传送菜单1=2},rx=-85] ~~~ scoreboard players operation @s 输入Y *= 菜单 传送菜单 execute @a[scores={传送菜单=1..11,传送菜单1=3},rx=-85] ~~~ scoreboard players operation @s 输入Z *= 菜单 传送菜单 execute @a[scores={传送菜单=1..9,传送菜单1=1},rx=-85] ~~~ scoreboard players operation @s 输入X += @s 传送菜单 execute @a[scores={传送菜单=1..9,传送菜单1=2},rx=-85] ~~~ scoreboard players operation @s 输入Y += @s 传送菜单 execute @a[scores={传送菜单=1..9,传送菜单1=3},rx=-85] ~~~ scoreboard players operation @s 输入Z += @s 传送菜单 execute @a[scores={传送菜单=10,传送菜单1=1},rx=-85] ~~~ scoreboard players reset @s 输入X execute @a[scores={传送菜单=10,传送菜单1=2},rx=-85] ~~~ scoreboard players reset @s 输入Y execute @a[scores={传送菜单=10,传送菜单1=3},rx=-85] ~~~ scoreboard players reset @s 输入Z execute @a[scores={传送菜单=11,传送菜单1=1},rx=-85] ~~~ scoreboard players add @s 输入X 0 execute @a[scores={传送菜单=11,传送菜单1=2},rx=-85] ~~~ scoreboard players add @s 输入Y 0 execute @a[scores={传送菜单=11,传送菜单1=3},rx=-85] ~~~ scoreboard players add @s 输入Z 0 execute @a[scores={传送菜单=1..11},rx=-85] ~~~ scoreboard players set @s 传送菜单 15 scoreboard players add @a 传送菜单 0 scoreboard players add @a 传送菜单1 0 scoreboard players set @a[scores={传送菜单1=..0}] 传送菜单1 1 scoreboard players set @a[scores={传送菜单1=4..}] 传送菜单1 1 execute @a[scores={传送菜单=13},rx=-85] ~~~ scoreboard players add @s 传送菜单1 1 execute @a[scores={传送菜单=13},rx=-85] ~~~ scoreboard players set @s 传送菜单 15 scoreboard players add @a 输入X 0 scoreboard players add @a 输入Y 0 scoreboard players add @a 输入Z 0 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ playsound chime.amethyst_block @p ~~~ 1 1 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ playsound break.amethyst_block @p ~~~ 1 1 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ playsound random.levelup @p ~~~ 1 7.175 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ title @s title §7》§cMCBE ۞ OFF§7《 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ title @s subtitle §b菜单关闭 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ scoreboard players set @s 输入X 0 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ scoreboard players set @s 输入Y 0 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ scoreboard players set @s 输入Z 0 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ scoreboard players set @s 传送菜单1 0 /execute @a[rx=90,rxm=85,scores={传送菜单=1..}] ~ ~ ~ scoreboard players set @s 传送菜单 0 execute @a[scores={传送菜单=14},rx=-85] ~~~ tag @s add 传送 execute @a[scores={传送菜单=14},rx=-85] ~~~ scoreboard players reset @s 传送菜单 scoreboard players set @a[scores={输入X=16777216..}] 输入X 0 scoreboard players set @a[scores={输入Y=16777216..}] 输入Y 0 scoreboard players set @a[scores={输入Z=16777216..}] 输入Z 0 scoreboard players set @a[scores={输入X=..-16777216}] 输入X 0 scoreboard players set @a[scores={输入Y=..-16777216}] 输入Y 0 scoreboard players set @a[scores={输入Z=..-16777216}] 输入Z 0 execute @a[scores={传送菜单=12,传送菜单1=1},rx=-85] ~~~ scoreboard players operation @s 输入X /= 负 传送菜单 execute @a[scores={传送菜单=12,传送菜单1=2},rx=-85] ~~~ scoreboard players operation @s 输入Y /= 负 传送菜单 execute @a[scores={传送菜单=12,传送菜单1=3},rx=-85] ~~~ scoreboard players operation @s 输入Z /= 负 传送菜单 execute @a[scores={传送菜单=12},rx=-85] ~~~ scoreboard players set @s 传送菜单 15 传送部分: testfor @a[tag=传送] setblock ~1 ~ ~ chain_command_bloc (有条件) 空一格 setblock ~-1 ~ ~ air execute @a[tag=传送] ~~~ scoreboard players operation @s X = @s 输入X execute @a[tag=传送] ~~~ scoreboard players operation @s Y = @s 输入Y execute @a[tag=传送] ~~~ scoreboard players operation @s Z = @s 输入Z /tp @a[tag=传送] 0 0 0 Ⅹ正轴传送: /execute @a[tag=传送,scores={X=8388608..}] ~~~ tp @s ~8388608~~ /scoreboard players remove @a[tag=传送,scores={X=8388608..}] X 8388608 /execute @a[tag=传送,scores={X=4194304..}] ~~~ tp @s ~4194304~~ /scoreboard players remove @a[tag=传送,scores={X=4194304..}] X 4194304 /execute @a[tag=传送,scores={X=2097152..}] ~~~ tp @s ~2097152~~ /scoreboard players remove @a[tag=传送,scores={X=2097152..}] X 2097152 /execute @a[tag=传送,scores={X=1048576..}] ~~~ tp @s ~1048576~~ /scoreboard players remove @a[tag=传送,scores={X=1048576..}] X 1048576 /execute @a[tag=传送,scores={X=524288..}] ~~~ tp @s ~524288~~ /scoreboard players remove @a[tag=传送,scores={X=524288..}] X 524288 /execute @a[tag=传送,scores={X=262144..}] ~~~ tp @s ~262144~~ /scoreboard players remove @a[tag=传送,scores={X=262144..}] X 262144 /execute @a[tag=传送,scores={X=131072..}] ~~~ tp @s ~131072~~ /scoreboard players remove @a[tag=传送,scores={X=131072..}] X 131072 /execute @a[tag=传送,scores={X=65536..}] ~~~ tp @s ~65536~~ /scoreboard players remove @a[tag=传送,scores={X=65536..}] X 65536 /execute @a[tag=传送,scores={X=32768..}] ~~~ tp @s ~32768~~ /scoreboard players remove @a[tag=传送,scores={X=32768..}] X 32768 /execute @a[tag=传送,scores={X=16384..}] ~~~ tp @s ~16384~~ /scoreboard players remove @a[tag=传送,scores={X=16384..}] X 16384 /execute @a[tag=传送,scores={X=8192..}] ~~~ tp @s ~8192~~ /scoreboard players remove @a[tag=传送,scores={X=8192..}] X 8192 /execute @a[tag=传送,scores={X=4096..}] ~~~ tp @s ~4096~~ /scoreboard players remove @a[tag=传送,scores={X=4096..}] X 4096 /execute @a[tag=传送,scores={X=2048..}] ~~~ tp @s ~2048~~ /scoreboard players remove @a[tag=传送,scores={X=2048..}] X 2048 /execute @a[tag=传送,scores={X=1024..}] ~~~ tp @s ~1024~~ /scoreboard players remove @a[tag=传送,scores={X=1024..}] X 1024 /execute @a[tag=传送,scores={X=512..}] ~~~ tp @s ~512~~ /scoreboard players remove @a[tag=传送,scores={X=512..}] X 512 /execute @a[tag=传送,scores={X=256..}] ~~~ tp @s ~256~~ /scoreboard players remove @a[tag=传送,scores={X=256..}] X 256 /execute @a[tag=传送,scores={X=128..}] ~~~ tp @s ~128~~ /scoreboard players remove @a[tag=传送,scores={X=128..}] X 128 /execute @a[tag=传送,scores={X=64..}] ~~~ tp @s ~64~~ /scoreboard players remove @a[tag=传送,scores={X=64..}] X 64 /execute @a[tag=传送,scores={X=32..}] ~~~ tp @s ~32~~ /scoreboard players remove @a[tag=传送,scores={X=32..}] X 32 /execute @a[tag=传送,scores={X=16..}] ~~~ tp @s ~16~~ /scoreboard players remove @a[tag=传送,scores={X=16..}] X 16 /execute @a[tag=传送,scores={X=8..}] ~~~ tp @s ~8~~ /scoreboard players remove @a[tag=传送,scores={X=8..}] X 8 /execute @a[tag=传送,scores={X=4..}] ~~~ tp @s ~4~~ /scoreboard players remove @a[tag=传送,scores={X=4..}] X 4 /execute @a[tag=传送,scores={X=2..}] ~~~ tp @s ~2~~ /scoreboard players remove @a[tag=传送,scores={X=2..}] X 2 /execute @a[tag=传送,scores={X=1..}] ~~~ tp @s ~1~~ /scoreboard players remove @a[tag=传送,scores={X=1..}] X 1 Ⅹ负轴传送: /execute @a[tag=传送,scores={X=..-8388608}] ~~~ tp @s ~-8388608~~ /scoreboard players add @a[tag=传送,scores={X=..-8388608}] X 8388608 /execute @a[tag=传送,scores={X=..-4194304}] ~~~ tp @s ~-4194304~~ /scoreboard players add @a[tag=传送,scores={X=..-4194304}] X 4194304 /execute @a[tag=传送,scores={X=..-2097152}] ~~~ tp @s ~-2097152~~ /scoreboard players add @a[tag=传送,scores={X=..-2097152}] X 2097152 /execute @a[tag=传送,scores={X=..-1048576}] ~~~ tp @s ~-1048576~~ /scoreboard players add @a[tag=传送,scores={X=..-1048576}] X 1048576 /execute @a[tag=传送,scores={X=..-524288}] ~~~ tp @s ~-524288~~ /scoreboard players add @a[tag=传送,scores={X=..-524288}] X 524288 /execute @a[tag=传送,scores={X=..-262144}] ~~~ tp @s ~-262144~~ /scoreboard players add @a[tag=传送,scores={X=..-262144}] X 262144 /execute @a[tag=传送,scores={X=..-131072}] ~~~ tp @s ~-131072~~ /scoreboard players add @a[tag=传送,scores={X=..-131072}] X 131072 /execute @a[tag=传送,scores={X=..-65536}] ~~~ tp @s ~-65536~~ /scoreboard players add @a[tag=传送,scores={X=..-65536..}] X 65536 /execute @a[tag=传送,scores={X=..-32768}] ~~~ tp @s ~-32768~~ /scoreboard players add @a[tag=传送,scores={X=..-32768}] X 32768 /execute @a[tag=传送,scores={X=..-16384}] ~~~ tp @s ~-16384~~ /scoreboard players add @a[tag=传送,scores={X=..-16384}] X 16384 /execute @a[tag=传送,scores={X=..-8192}] ~~~ tp @s ~-8192~~ /scoreboard players add @a[tag=传送,scores={X=..-8192}] X 8192 /execute @a[tag=传送,scores={X=..-4096}] ~~~ tp @s ~-4096~~ /scoreboard players add @a[tag=传送,scores={X=..-4096}] X 4096 /execute @a[tag=传送,scores={X=..-2048}] ~~~ tp @s ~-2048~~ /scoreboard players add @a[tag=传送,scores={X=..-2048}] X 2048 /execute @a[tag=传送,scores={X=..-1024}] ~~~ tp @s ~-1024~~ /scoreboard players add @a[tag=传送,scores={X=..-1024}] X 1024 /execute @a[tag=传送,scores={X=..-512}] ~~~ tp @s ~-512~~ /scoreboard players add @a[tag=传送,scores={X=..-512}] X 512 /execute @a[tag=传送,scores={X=..-256}] ~~~ tp @s ~-256~~ /scoreboard players add @a[tag=传送,scores={X=..-256}] X 256 /execute @a[tag=传送,scores={X=..-128}] ~~~ tp @s ~-128~~ /scoreboard players add @a[tag=传送,scores={X=..-128}] X 128 /execute @a[tag=传送,scores={X=..-64}] ~~~ tp @s ~-64~~ /scoreboard players add @a[tag=传送,scores={X=..-64}] X 64 /execute @a[tag=传送,scores={X=..-32}] ~~~ tp @s ~-32~~ /scoreboard players add @a[tag=传送,scores={X=..-32}] X 32 /execute @a[tag=传送,scores={X=..-16}] ~~~ tp @s ~-16~~ /scoreboard players add @a[tag=传送,scores={X=..-16}] X 16 /execute @a[tag=传送,scores={X=..-8}] ~~~ tp @s ~-8~~ /scoreboard players add @a[tag=传送,scores={X=..-8}] X 8 /execute @a[tag=传送,scores={X=..-4}] ~~~ tp @s ~-4~~ /scoreboard players add @a[tag=传送,scores={X=..-4}] X 4 /execute @a[tag=传送,scores={X=..-2}] ~~~ tp @s ~-2~~ /scoreboard players add @a[tag=传送,scores={X=..-2}] X 2 /execute @a[tag=传送,scores={X=..-1}] ~~~ tp @s ~-1~~ /scoreboard players add @a[tag=传送,scores={X=..-1}] X 1 Y正轴传送: /execute @a[tag=传送,scores={Y=8388608..}] ~~~ tp @s ~~8388608~ /scoreboard players remove @a[tag=传送,scores={Y=8388608..}] Y 8388608 /execute @a[tag=传送,scores={Y=4194304..}] ~~~ tp @s ~~4194304~ /scoreboard players remove @a[tag=传送,scores={Y=4194304..}] Y 4194304 /execute @a[tag=传送,scores={Y=2097152..}] ~~~ tp @s ~~2097152~ /scoreboard players remove @a[tag=传送,scores={Y=2097152..}] Y 2097152 /execute @a[tag=传送,scores={Y=1048576..}] ~~~ tp @s ~~1048576~ /scoreboard players remove @a[tag=传送,scores={Y=1048576..}] Y 1048576 /execute @a[tag=传送,scores={Y=524288..}] ~~~ tp @s ~~524288~ /scoreboard players remove @a[tag=传送,scores={Y=524288..}] Y 524288 /execute @a[tag=传送,scores={Y=262144..}] ~~~ tp @s ~~262144~ /scoreboard players remove @a[tag=传送,scores={Y=262144..}] Y 262144 /execute @a[tag=传送,scores={Y=131072..}] ~~~ tp @s ~~131072~ /scoreboard players remove @a[tag=传送,scores={Y=131072..}] Y 131072 /execute @a[tag=传送,scores={Y=65536..}] ~~~ tp @s ~~65536~ /scoreboard players remove @a[tag=传送,scores={Y=65536..}] Y 65536 /execute @a[tag=传送,scores={Y=32768..}] ~~~ tp @s ~~32768~ /scoreboard players remove @a[tag=传送,scores={Y=32768..}] Y 32768 /execute @a[tag=传送,scores={Y=16384..}] ~~~ tp @s ~~16384~ /scoreboard players remove @a[tag=传送,scores={Y=16384..}] Y 16384 /execute @a[tag=传送,scores={Y=8192..}] ~~~ tp @s ~~8192~ /scoreboard players remove @a[tag=传送,scores={Y=8192..}] Y 8192 /execute @a[tag=传送,scores={Y=4096..}] ~~~ tp @s ~~4096~ /scoreboard players remove @a[tag=传送,scores={Y=4096..}] Y 4096 /execute @a[tag=传送,scores={Y=2048..}] ~~~ tp @s ~~2048~ /scoreboard players remove @a[tag=传送,scores={Y=2048..}] Y 2048 /execute @a[tag=传送,scores={Y=1024..}] ~~~ tp @s ~~1024~ /scoreboard players remove @a[tag=传送,scores={Y=1024..}] Y 1024 /execute @a[tag=传送,scores={Y=512..}] ~~~ tp @s ~~512~ /scoreboard players remove @a[tag=传送,scores={Y=512..}] Y 512 /execute @a[tag=传送,scores={Y=256..}] ~~~ tp @s ~~256~ /scoreboard players remove @a[tag=传送,scores={Y=256..}] Y 256 /execute @a[tag=传送,scores={Y=128..}] ~~~ tp @s ~~128~ /scoreboard players remove @a[tag=传送,scores={Y=128..}] Y 128 /execute @a[tag=传送,scores={Y=64..}] ~~~ tp @s ~~64~ /scoreboard players remove @a[tag=传送,scores={Y=64..}] Y 64 /execute @a[tag=传送,scores={Y=32..}] ~~~ tp @s ~~32~ /scoreboard players remove @a[tag=传送,scores={Y=32..}] Y 32 /execute @a[tag=传送,scores={Y=16..}] ~~~ tp @s ~~16~ /scoreboard players remove @a[tag=传送,scores={Y=16..}] Y 16 /execute @a[tag=传送,scores={Y=8..}] ~~~ tp @s ~~8~ /scoreboard players remove @a[tag=传送,scores={Y=8..}] Y 8 /execute @a[tag=传送,scores={Y=4..}] ~~~ tp @s ~~4~ /scoreboard players remove @a[tag=传送,scores={Y=4..}] Y 4 /execute @a[tag=传送,scores={Y=2..}] ~~~ tp @s ~~2~ /scoreboard players remove @a[tag=传送,scores={Y=2..}] Y 2 /execute @a[tag=传送,scores={Y=1..}] ~~~ tp @s ~~1~ /scoreboard players remove @a[tag=传送,scores={Y=1..}] Y 1 Y负轴传送: /execute @a[tag=传送,scores={Y=..-8388608}] ~~~ tp @s ~~-8388608~ /scoreboard players add @a[tag=传送,scores={Y=..-8388608}] Y 8388608 /execute @a[tag=传送,scores={Y=..-4194304}] ~~~ tp @s ~~-4194304~ /scoreboard players add @a[tag=传送,scores={Y=..-4194304}] Y 4194304 /execute @a[tag=传送,scores={Y=..-2097152}] ~~~ tp @s ~~-2097152~ /scoreboard players add @a[tag=传送,scores={Y=..-2097152}] Y 2097152 /execute @a[tag=传送,scores={Y=..-1048576}] ~~~ tp @s ~~-1048576~ /scoreboard players add @a[tag=传送,scores={Y=..-1048576}] Y 1048576 /execute @a[tag=传送,scores={Y=..-524288}] ~~~ tp @s ~~-524288~ /scoreboard players add @a[tag=传送,scores={Y=..-524288}] Y 524288 /execute @a[tag=传送,scores={Y=..-262144}] ~~~ tp @s ~~-262144~ /scoreboard players add @a[tag=传送,scores={Y=..-262144}] Y 262144 /execute @a[tag=传送,scores={Y=..-131072}] ~~~ tp @s ~~-131072~ /scoreboard players add @a[tag=传送,scores={Y=..-131072}] Y 131072 /execute @a[tag=传送,scores={Y=..-65536}] ~~~ tp @s ~~-65536~ /scoreboard players add @a[tag=传送,scores={Y=..-65536..}] Y 65536 /execute @a[tag=传送,scores={Y=..-32768}] ~~~ tp @s ~~-32768~ /scoreboard players add @a[tag=传送,scores={Y=..-32768}] Y 32768 /execute @a[tag=传送,scores={Y=..-16384}] ~~~ tp @s ~~-16384~ /scoreboard players add @a[tag=传送,scores={Y=..-16384}] Y 16384 /execute @a[tag=传送,scores={Y=..-8192}] ~~~ tp @s ~~-8192~ /scoreboard players add @a[tag=传送,scores={Y=..-8192}] Y 8192 /execute @a[tag=传送,scores={Y=..-4096}] ~~~ tp @s ~~-4096~ /scoreboard players add @a[tag=传送,scores={Y=..-4096}] Y 4096 /execute @a[tag=传送,scores={Y=..-2048}] ~~~ tp @s ~~-2048~ /scoreboard players add @a[tag=传送,scores={Y=..-2048}] Y 2048 /execute @a[tag=传送,scores={Y=..-1024}] ~~~ tp @s ~~-1024~ /scoreboard players add @a[tag=传送,scores={Y=..-1024}] Y 1024 /execute @a[tag=传送,scores={Y=..-512}] ~~~ tp @s ~~-512~ /scoreboard players add @a[tag=传送,scores={Y=..-512}] Y 512 /execute @a[tag=传送,scores={Y=..-256}] ~~~ tp @s ~~-256~ /scoreboard players add @a[tag=传送,scores={Y=..-256}] Y 256 /execute @a[tag=传送,scores={Y=..-128}] ~~~ tp @s ~~-128~ /scoreboard players add @a[tag=传送,scores={Y=..-128}] Y 128 /execute @a[tag=传送,scores={Y=..-64}] ~~~ tp @s ~~-64~ /scoreboard players add @a[tag=传送,scores={Y=..-64}] Y 64 /execute @a[tag=传送,scores={Y=..-32}] ~~~ tp @s ~~-32~ /scoreboard players add @a[tag=传送,scores={Y=..-32}] Y 32 /execute @a[tag=传送,scores={Y=..-16}] ~~~ tp @s ~~-16~ /scoreboard players add @a[tag=传送,scores={Y=..-16}] Y 16 /execute @a[tag=传送,scores={Y=..-8}] ~~~ tp @s ~~-8~ /scoreboard players add @a[tag=传送,scores={Y=..-8}] Y 8 /execute @a[tag=传送,scores={Y=..-4}] ~~~ tp @s ~~-4~ /scoreboard players add @a[tag=传送,scores={Y=..-4}] Y 4 /execute @a[tag=传送,scores={Y=..-2}] ~~~ tp @s ~~-2~ /scoreboard players add @a[tag=传送,scores={Y=..-2}] Y 2 /execute @a[tag=传送,scores={Y=..-1}] ~~~ tp @s ~~-1~ /scoreboard players add @a[tag=传送,scores={Y=..-1}] Y 1 Z正轴传送: /execute @a[tag=传送,scores={Z=8388608..}] ~~~ tp @s ~~~8388608 /scoreboard players remove @a[tag=传送,scores={Z=8388608..}] Z 8388608 /execute @a[tag=传送,scores={Z=4194304..}] ~~~ tp @s ~~~4194304 /scoreboard players remove @a[tag=传送,scores={Z=4194304..}] Z 4194304 /execute @a[tag=传送,scores={Z=2097152..}] ~~~ tp @s ~~~2097152 /scoreboard players remove @a[tag=传送,scores={Z=2097152..}] Z 2097152 /execute @a[tag=传送,scores={Z=1048576..}] ~~~ tp @s ~~~1048576 /scoreboard players remove @a[tag=传送,scores={Z=1048576..}] Z 1048576 /execute @a[tag=传送,scores={Z=524288..}] ~~~ tp @s ~~~524288 /scoreboard players remove @a[tag=传送,scores={Z=524288..}] Z 524288 /execute @a[tag=传送,scores={Z=262144..}] ~~~ tp @s ~~~262144 /scoreboard players remove @a[tag=传送,scores={Z=262144..}] Z 262144 /execute @a[tag=传送,scores={Z=131072..}] ~~~ tp @s ~~~131072 /scoreboard players remove @a[tag=传送,scores={Z=131072..}] Z 131072 /execute @a[tag=传送,scores={Z=65536..}] ~~~ tp @s ~~~65536 /scoreboard players remove @a[tag=传送,scores={Z=65536..}] Z 65536 /execute @a[tag=传送,scores={Z=32768..}] ~~~ tp @s ~~~32768 /scoreboard players remove @a[tag=传送,scores={Z=32768..}] Z 32768 /execute @a[tag=传送,scores={Z=16384..}] ~~~ tp @s ~~~16384 /scoreboard players remove @a[tag=传送,scores={Z=16384..}] Z 16384 /execute @a[tag=传送,scores={Z=8192..}] ~~~ tp @s ~~~8192 /scoreboard players remove @a[tag=传送,scores={Z=8192..}] Z 8192 /execute @a[tag=传送,scores={Z=4096..}] ~~~ tp @s ~~~4096 /scoreboard players remove @a[tag=传送,scores={Z=4096..}] Z 4096 /execute @a[tag=传送,scores={Z=2048..}] ~~~ tp @s ~~~2048 /scoreboard players remove @a[tag=传送,scores={Z=2048..}] Z 2048 /execute @a[tag=传送,scores={Z=1024..}] ~~~ tp @s ~~~1024 /scoreboard players remove @a[tag=传送,scores={Z=1024..}] Z 1024 /execute @a[tag=传送,scores={Z=512..}] ~~~ tp @s ~~~512 /scoreboard players remove @a[tag=传送,scores={Z=512..}] Z 512 /execute @a[tag=传送,scores={Z=256..}] ~~~ tp @s ~~~256 /scoreboard players remove @a[tag=传送,scores={Z=256..}] Z 256 /execute @a[tag=传送,scores={Z=128..}] ~~~ tp @s ~~~128 /scoreboard players remove @a[tag=传送,scores={Z=128..}] Z 128 /execute @a[tag=传送,scores={Z=64..}] ~~~ tp @s ~~~64 /scoreboard players remove @a[tag=传送,scores={Z=64..}] Z 64 /execute @a[tag=传送,scores={Z=32..}] ~~~ tp @s ~~~32 /scoreboard players remove @a[tag=传送,scores={Z=32..}] Z 32 /execute @a[tag=传送,scores={Z=16..}] ~~~ tp @s ~~~16 /scoreboard players remove @a[tag=传送,scores={Z=16..}] Z 16 /execute @a[tag=传送,scores={Z=8..}] ~~~ tp @s ~~~8 /scoreboard players remove @a[tag=传送,scores={Z=8..}] Z 8 /execute @a[tag=传送,scores={Z=4..}] ~~~ tp @s ~~~4 /scoreboard players remove @a[tag=传送,scores={Z=4..}] Z 4 /execute @a[tag=传送,scores={Z=2..}] ~~~ tp @s ~~~2 /scoreboard players remove @a[tag=传送,scores={Z=2..}] Z 2 /execute @a[tag=传送,scores={Z=1..}] ~~~ tp @s ~~~1 /scoreboard players remove @a[tag=传送,scores={Z=1..}] Z 1 Z负轴传送: /execute @a[tag=传送,scores={Z=..-8388608}] ~~~ tp @s ~~~-8388608 /scoreboard players add @a[tag=传送,scores={Z=..-8388608}] Z 8388608 /execute @a[tag=传送,scores={Z=..-4194304}] ~~~ tp @s ~~~-4194304 /scoreboard players add @a[tag=传送,scores={Z=..-4194304}] Z 4194304 /execute @a[tag=传送,scores={Z=..-2097152}] ~~~ tp @s ~~~-2097152 /scoreboard players add @a[tag=传送,scores={Z=..-2097152}] Z 2097152 /execute @a[tag=传送,scores={Z=..-1048576}] ~~~ tp @s ~~~-1048576 /scoreboard players add @a[tag=传送,scores={Z=..-1048576}] Z 1048576 /execute @a[tag=传送,scores={Z=..-524288}] ~~~ tp @s ~~~-524288 /scoreboard players add @a[tag=传送,scores={Z=..-524288}] Z 524288 /execute @a[tag=传送,scores={Z=..-262144}] ~~~ tp @s ~~~-262144 /scoreboard players add @a[tag=传送,scores={Z=..-262144}] Z 262144 /execute @a[tag=传送,scores={Z=..-131072}] ~~~ tp @s ~~~-131072 /scoreboard players add @a[tag=传送,scores={Z=..-131072}] Z 131072 /execute @a[tag=传送,scores={Z=..-65536}] ~~~ tp @s ~~~-65536 /scoreboard players add @a[tag=传送,scores={Z=..-65536..}] Z 65536 /execute @a[tag=传送,scores={Z=..-32768}] ~~~ tp @s ~~~-32768 /scoreboard players add @a[tag=传送,scores={Z=..-32768}] Z 32768 /execute @a[tag=传送,scores={Z=..-16384}] ~~~ tp @s ~~~-16384 /scoreboard players add @a[tag=传送,scores={Z=..-16384}] Z 16384 /execute @a[tag=传送,scores={Z=..-8192}] ~~~ tp @s ~~~-8192 /scoreboard players add @a[tag=传送,scores={Z=..-8192}] Z 8192 /execute @a[tag=传送,scores={Z=..-4096}] ~~~ tp @s ~~~-4096 /scoreboard players add @a[tag=传送,scores={Z=..-4096}] Z 4096 /execute @a[tag=传送,scores={Z=..-2048}] ~~~ tp @s ~~~-2048 /scoreboard players add @a[tag=传送,scores={Z=..-2048}] Z 2048 /execute @a[tag=传送,scores={Z=..-1024}] ~~~ tp @s ~~~-1024 /scoreboard players add @a[tag=传送,scores={Z=..-1024}] Z 1024 /execute @a[tag=传送,scores={Z=..-512}] ~~~ tp @s ~~~-512 /scoreboard players add @a[tag=传送,scores={Z=..-512}] Z 512 /execute @a[tag=传送,scores={Z=..-256}] ~~~ tp @s ~~~-256 /scoreboard players add @a[tag=传送,scores={Z=..-256}] Z 256 /execute @a[tag=传送,scores={Z=..-128}] ~~~ tp @s ~~~-128 /scoreboard players add @a[tag=传送,scores={Z=..-128}] Z 128 /execute @a[tag=传送,scores={Z=..-64}] ~~~ tp @s ~~~-64 /scoreboard players add @a[tag=传送,scores={Z=..-64}] Z 64 /execute @a[tag=传送,scores={Z=..-32}] ~~~ tp @s ~~~-32 /scoreboard players add @a[tag=传送,scores={Z=..-32}] Z 32 /execute @a[tag=传送,scores={Z=..-16}] ~~~ tp @s ~~~-16 /scoreboard players add @a[tag=传送,scores={Z=..-16}] Z 16 /execute @a[tag=传送,scores={Z=..-8}] ~~~ tp @s ~~~-8 /scoreboard players add @a[tag=传送,scores={Z=..-8}] Z 8 /execute @a[tag=传送,scores={Z=..-4}] ~~~ tp @s ~~~-4 /scoreboard players add @a[tag=传送,scores={Z=..-4}] Z 4 /execute @a[tag=传送,scores={Z=..-2}] ~~~ tp @s ~~~-2 /scoreboard players add @a[tag=传送,scores={Z=..-2}] Z 2 /execute @a[tag=传送,scores={Z=..-1}] ~~~ tp @s ~~~-1 /scoreboard players add @a[tag=传送,scores={Z=..-1}] Z 1 二分传送最后: execute @a[tag=传送] ~~~ playsound note.harp @s execute @a[tag=传送] ~~~ title @s §7「§b传送成功§7」 execute @a[tag=传送] ~~~ titleraw @s subtitle {"rawtext":[{"text":"§b已将你传送至\n§7X:§a "},{"score":{"name":"@s","objective":"输入X"}},{"text":"§e,§7Y:§a"},{"score":{"name":"@s","objective":"输入Y"}},{"text":"§e,§7Z:§a"},{"score":{"name":"@s","objective":"输入Z"}}]} execute @a[tag=传送] ~~~ tellraw @s {"rawtext":[{"text":"§f[§a+§f] §e已将你传送至\n§7X:§b"},{"score":{"name":"@s","objective":"输入X"}},{"text":"§e,§7Y:§b"},{"score":{"name":"@s","objective":"输入Y"}},{"text":"§e,§7Z:§b"},{"score":{"name":"@s","objective":"输入Z"}}]} execute @a[tag=传送] ~~~ scoreboard players reset @s 输入X execute @a[tag=传送] ~~~ scoreboard players reset @s 输入Y execute @a[tag=传送] ~~~ scoreboard players reset @s 输入Z execute @a[tag=传送] ~~~ scoreboard players reset @s X execute @a[tag=传送] ~~~ scoreboard players reset @s Y execute @a[tag=传送] ~~~ scoreboard players reset @s Z execute @a[tag=传送] ~~~ tag @s remove 传送 完 如有错误请指出