10 lines
547 B
Mcfunction
10 lines
547 B
Mcfunction
# 调用者: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
|
||
|
||
## 重置事件进度
|
||
advancement revoke @s from fzsd:game_event/on_placed_block
|
||
advancement revoke @s from fzsd:game_event/on_placed_block/on_placed_liquid |