minecraft-expanded-datapack/data/undeadm-m1/functions/potion/_count_custom_potions.mcfun...

5 lines
238 B
Mcfunction
Raw Normal View History

tellraw @a[scores={me-debugging=1..}] "undeadmaelys-m1:potion/_count_custom_potions"
scoreboard players set $potion_count me-core_uid 0
execute as @e[nbt={Item:{tag:{Assigned:1b}}}] run scoreboard players add $potion_count me-core_uid 1