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

地铁逃生服必备‖撬棍开箱指令

2023-08-26 21:11 作者:指令_小白  | 我要投稿

地铁逃生服必备‖撬棍开箱指令

前置

/scoreboard objectives add 撬棍 dummy

指令

scoreboard players add @a 撬棍 0

execute @a[hasitem={item=stick,quantity=1..,location=slot.weapon.mainhand},scores={撬棍=0..}] ^ ^1.5 ^1 detect ~ ~ ~ bedrock 0 scoreboard players add @s 撬棍 1

execute @a[hasitem={item=stick,quantity=..0,location=slot.weapon.mainhand},scores={撬棍=1..}] ~ ~ ~ scoreboard players set @s 撬棍 0

execute @a[hasitem={item=stick,quantity=1..,location=slot.weapon.mainhand},scores={撬棍=1..}] ^ ^1.5 ^1 detect ~ ~ ~ air 0 scoreboard players set @s 撬棍 0

execute @a[hasitem={item=stick,quantity=1..,location=slot.weapon.mainhand},scores={撬棍=100..}] ^ ^1.5 ^1 detect ~ ~ ~ bedrock 0 fill ~~~~~~ air

execute @a[hasitem={item=stick,quantity=1..,location=slot.weapon.mainhand},scores={撬棍=100..}] ~~~ playsound random.anvil_land @s ~~~ 1 3

execute @a[hasitem={item=stick,quantity=1..,location=slot.weapon.mainhand},scores={撬棍=100..}] ~~~ scoreboard players set @s 撬棍 -100

execute @a[hasitem={item=stick,quantity=1..,location=slot.weapon.mainhand},scores={撬棍=-1}] ~~~ playsound random.levelup @s ~~~ 1 2

scoreboard players add @a[scores={撬棍=..-1}] 撬棍 1

execute @a[hasitem={item=stick,quantity=1..,location=slot.weapon.mainhand},scores={撬棍=1..}] ~ ~ ~ titleraw @s actionbar {"rawtext":[{"translate":"%%7","with":{"rawtext":[{"selector":"@s[scores={撬棍=90..}]"},{"selector":"@s[scores={撬棍=70..}]"},{"selector":"@s[scores={撬棍=50..}]"},{"selector":"@s[scores={撬棍=30..}]"},{"selector":"@s[scores={撬棍=10..}]"},{"selector":"@s[scores={撬棍=1..}]"},{"text":"§l§a ▅▅▅▅▅§r"},{"text":"§l§a ▅▅▅▅▅§r"},{"text":"§l§e ▅▅▅▅§f▅§r"},{"text":"§l§g ▅▅▅§f▅▅§r"},{"text":"§l§6 ▅▅§f▅▅▅§r"},{"text":"§l§c ▅§f▅▅▅▅§r"},{"text":"§l§f ▅▅▅▅▅§r"}]}},{"text":"\n§c[§b正在抛开基岩§c]§r"}]}

execute @a[hasitem={item=stick,quantity=1..,location=slot.weapon.mainhand},scores={撬棍=..-1}] ~ ~ ~ titleraw @s actionbar {"rawtext":[{"translate":"%%7","with":{"rawtext":[{"selector":"@s[scores={撬棍=-90..}]"},{"selector":"@s[scores={撬棍=-70..}]"},{"selector":"@s[scores={撬棍=-50..}]"},{"selector":"@s[scores={撬棍=-30..}]"},{"selector":"@s[scores={撬棍=-10..}]"},{"selector":"@s[scores={撬棍=-1..}]"},{"text":"§l§a▅▅▅▅▅§r"},{"text":"§l§a▅▅▅▅▅§r"},{"text":"§l§e▅▅▅▅§f▅§r"},{"text":"§l§g▅▅▅§f▅▅§r"},{"text":"§l§6▅▅§f▅▅▅§r"},{"text":"§l§c▅§f▅▅▅▅§r"},{"text":"§l§f▅▅▅▅▅§r"}]}},{"text":"\n§c[§b撬棍冷却中§c]§r"}]}

地铁逃生服必备‖撬棍开箱指令的评论 (共 条)

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