Skip to content

Commit 63d3336

Browse files
committed
BUG FIX
1 parent 34127a4 commit 63d3336

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

datapacks/zombiepve/data/minecraft/function/zombieever/tasks/find_keys.mcfunction

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ tellraw @a[team=play.zombie] ["\n\u00a7b收到任务 \u00a7a",{"color":"green","
2525

2626
execute as @e[tag=pve.house.chest] at @s run data merge block ~ ~ ~ {Items:[],lock:{items:["minecraft:bedrock"],components:{"minecraft:custom_name":'"娃娃的wer114514"'}},CustomName:'"\\u00a7r箱子"'}
2727

28-
execute as @e[tag=pve.house.chest,limit=1,sort=random] at @s run tag @s add unlock
29-
data merge block ~ ~ ~ {Items:[{id:"minecraft:tripwire_hook",count:1,components:{"minecraft:custom_name":'"\\u00a7e地牢钥匙"',"minecraft:lore":['"\\u00a77用于打开地牢的钥匙"'],"minecraft:custom_data":{lock:2}},Slot:13}],lock:{},CustomName:'"\\u00a77貌似另外一个钥匙藏在樱花花园的角落里?"'}
30-
execute as @e[tag=unlock] at @s run data remove block ~ ~ ~ lock
31-
execute as @e[tag=unlock] run tag @s remove unlock
28+
execute as @e[tag=pve.house.chest,limit=1,sort=random] at @s run tag @s add pve.unlock
29+
execute as @e[tag=pve.unlock] at @s run data merge block ~ ~ ~ {Items:[{id:"minecraft:tripwire_hook",count:1,components:{"minecraft:custom_name":'"\\u00a7e地牢钥匙"',"minecraft:lore":['"\\u00a77用于打开地牢的钥匙"'],"minecraft:custom_data":{lock:2}},Slot:13}],CustomName:'"\\u00a77貌似另外一个钥匙藏在樱花花园的角落里?"'}
30+
execute as @e[tag=pve.unlock] at @s run data remove block ~ ~ ~ lock
31+
execute as @e[tag=pve.unlock] run tag @s remove pve.unlock
3232

3333
data merge block 597 11 1 {Items:[{id:"minecraft:tripwire_hook",count:1,components:{"minecraft:custom_name":'"\\u00a7a大门钥匙"',"minecraft:lore":['"\\u00a7e用于打开大门的钥匙"'],"minecraft:custom_data":{lock:1}},Slot:13}]}
3434
forceload remove 597 -45 714 1

0 commit comments

Comments
 (0)