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

9 lines
471 B
Mcfunction
Raw Normal View History

# 调用者advancements/fzsd:~
## 运行事件
execute if entity @s[advancements={fzsd:game_event/on_placed_block/on_placed_liquid=true}] run function #fzsd:game_event/player/on_placed_liquid
execute if entity @s[advancements={fzsd:game_event/on_placed_block/on_placed_liquid=false}] run function #fzsd:game_event/player/on_placed_solid
function #fzsd:game_event/player/on_placed_block
## 重置事件进度
2022-10-30 09:04:19 +08:00
advancement revoke @s from fzsd:game_event/on_placed_block