Redstone powered Jump Boots

Redstone powered Jump Boots


/scoreboard objectives add jumpboots dummy
/scoreboard objectives add redstone dummy
/scoreboard objectives add jump stat.jump


scoreboard players set @a jumpboots 2 {Inventory:[{id:minecraft:iron_boots,Slot:100b,tag:{display:{Name:"Dragnoz Jumpboots™",Lore:[Uses 1 redstone dust per jump]}}}]}

scoreboard players set @a redstone 2 {Inventory:[{id:"minecraft:redstone"}]}

/effect @a[score_redstone_min=1,score_jumpboots_min=1] minecraft:jump_boost 1 25 true

/clear @a[score_jump_min=1,score_jumpboots_min=1] minecraft:redstone 0 1


scoreboard players remove @a[score_jumpboots_min=1] jumpboots 1

scoreboard players set @a[score_jump_min=1] jump 0

scoreboard players remove @a[score_redstone_min=1] redstone 1

scoreboard players remove @a[score_jumpboots_min=1] jumpboots 1

No comments:

Post a Comment