fz-survival-datapack/data/fzsd/functions/game_event/advancement/on_villager_trade.mcfunction

10 lines
444 B
Mcfunction
Raw Normal View History

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