Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- execute as @a[nbt={Inventory:[{Slot:-106b,id:"minecraft:redstone"}]}] store result check1 run clear @s redstone 0
- replaceitem entity @a[nbt={Inventory:[{Slot:-106b,id:"minecraft:redstone"}]}] weapon.offhand air
- execute as @a[nbt={Inventory:[{Slot:-106b,id:"minecraft:redstone"}]}] store result check2 run clear @s redstone 0
- scoreboard players remove @a[scores={check2=1..}] check1 1
- scoreboard players remove @a[scores={check2=1..}] check2 1
Add Comment
Please, Sign In to add comment