Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75daf5bab9 |
@@ -35,9 +35,12 @@
|
|||||||
# east : ~0.01 ~-1 ~0.5 yaw -90
|
# east : ~0.01 ~-1 ~0.5 yaw -90
|
||||||
# west : ~0.99 ~-1 ~0.5 yaw 90
|
# west : ~0.99 ~-1 ~0.5 yaw 90
|
||||||
|
|
||||||
# ---- 비활성: 버튼 제거 + interaction 응답 차단 후 종료 ----
|
# ---- 비활성: 블록 + interaction × 3 + text_display 전부 제거 후 종료 ----
|
||||||
|
# data modify entity @e[...] 는 대상 1개 강제 → interaction 3개 모드에선
|
||||||
|
# 못 쓰므로 그냥 kill. 어차피 버튼 블록도 air 로 바꾸므로 라벨도 같이 제거.
|
||||||
$execute if score $(n) buttons matches ..-2 run setblock $(x) $(y) $(z) minecraft:air
|
$execute if score $(n) buttons matches ..-2 run setblock $(x) $(y) $(z) minecraft:air
|
||||||
$execute if score $(n) buttons matches ..-2 run data modify entity @e[type=minecraft:interaction,tag=mq,tag=$(n)] response set value 0b
|
$execute if score $(n) buttons matches ..-2 run kill @e[type=minecraft:interaction,tag=mq,tag=$(n)]
|
||||||
|
$execute if score $(n) buttons matches ..-2 run kill @e[type=minecraft:text_display,tag=mq,tag=$(n)]
|
||||||
$execute if score $(n) buttons matches ..-2 run return 0
|
$execute if score $(n) buttons matches ..-2 run return 0
|
||||||
|
|
||||||
# ---- 초기화: 블록 + interaction × 3 + text_display 보장 ----
|
# ---- 초기화: 블록 + interaction × 3 + text_display 보장 ----
|
||||||
|
|||||||
Reference in New Issue
Block a user