9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2026-01-06 15:52:03 +00:00

修复重复行为处理

This commit is contained in:
XiaoMoMi
2025-12-05 20:34:46 +08:00
parent 456dfb00bc
commit 35b63b1630
5 changed files with 8 additions and 5 deletions

View File

@@ -21,7 +21,9 @@ templates:
conditions:
- type: expression
expression: <arg:player.is_sneaking>
- type: "!has_item"
functions:
- type: update_interaction_tick
- type: rotate_furniture
degree: 90
on-success:
@@ -47,9 +49,11 @@ templates:
conditions:
- type: expression
expression: <arg:player.is_sneaking>
- type: "!has_item"
- type: "!match_furniture_variant"
variants: ${blacklist_variants:-null}
functions:
- type: update_interaction_tick
- type: rotate_furniture
degree: 45
on-success: