tick1.mcfunction 366 B

1234
  1. scoreboard players add $1tick mem 1
  2. execute if score $1tick mem matches 1 as @e[type=villager,tag=TradePlayer] run data modify entity @s BABA set value "IS MORE"
  3. execute if score $1tick mem matches 2 as @e[type=villager,tag=TradePlayer] run data modify entity @s BABA set value "IS LESS"
  4. execute if score $1tick mem matches 2 run scoreboard players set $1tick mem 0