HerobrineXia %!s(int64=5) %!d(string=hai) anos
pai
achega
a7f7c344cb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      data/mini/functions/trade/tick1.mcfunction

+ 2 - 2
data/mini/functions/trade/tick1.mcfunction

@@ -1,4 +1,4 @@
 scoreboard players add $1tick mem 1
-execute if score $1tick mem matches 1 as @e[type=villager,tag=TradePlayer] run data modify entity @s BABA set value "IS MORE"
-execute if score $1tick mem matches 2 as @e[type=villager,tag=TradePlayer] run data modify entity @s BABA set value "IS LESS"
+execute if score $1tick mem matches 1 as @e[type=villager,tag=TradePlayer] run data modify entity @s CustomName set value '{"text":BABA IS MORE"}'
+execute if score $1tick mem matches 2 as @e[type=villager,tag=TradePlayer] run data modify entity @s CustomName set value '{"text":BABA IS LESS"}'
 execute if score $1tick mem matches 2 run scoreboard players set $1tick mem 0