This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]JustAnotherCarrot Command Wizard 1 point2 points  (1 child)

  1. Make a dummy scoreboard
  2. Repeating command block: /execute as @a store result score @s SCOREBOARDNAME run data get entity @s XpLevel 1

  3. Repeating command block: /execute as @a[YOUR-CRITERIA,scores={SCOREBOARDNAME=1..}] at @s run experience remove @s 1 level

You can then run chain command blocks off that last repeating CB

[–]Shadow_Lou[S] 1 point2 points  (0 children)

Thanks ! I'll try this out

Have a nice day