fz-survival-datapack/data/fz/functions/game_event/player/on_villager_trade.mcfunction

10 lines
430 B
Mcfunction
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 调用者advancements/fz:~
## 调试
execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "与村民交易"}]
## 运行事件
function #fz:game_event/player/on_villager_trade
## 重置事件进度
advancement revoke @s only fz:game_event/on_villager_trade