From 14f7fdc70c0c2d3b3e2c889d6f914afb0a11152d Mon Sep 17 00:00:00 2001 From: Harvey_Husky Date: Sat, 5 Aug 2023 09:56:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=91=E6=89=AB=E5=9C=B0=E6=9C=BA=E7=99=BD?= =?UTF-8?q?=E5=90=8D=E5=8D=95=E6=B7=BB=E5=8A=A0=E4=BA=86=E6=89=80=E6=9C=89?= =?UTF-8?q?=E7=9F=BF=E8=BD=A6=E5=92=8C=E8=88=B9=EF=BC=88=E4=B8=8D=E5=8C=85?= =?UTF-8?q?=E6=8B=AC=E7=AE=B1=E8=88=B9=EF=BC=81=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/here/global_message.mcfunction | 2 +- .../module/here/private_message.mcfunction | 2 +- data/fzsd/predicates/sweeper/whitelist.json | 60 ++++++++++++++++++- 3 files changed, 60 insertions(+), 4 deletions(-) diff --git a/data/fzsd/functions/module/here/global_message.mcfunction b/data/fzsd/functions/module/here/global_message.mcfunction index edb20b3..e6dc1ef 100644 --- a/data/fzsd/functions/module/here/global_message.mcfunction +++ b/data/fzsd/functions/module/here/global_message.mcfunction @@ -1 +1 @@ -tellraw @a [{"text": ""}, [{"selector": "@s"}, {"text": "说:我在", "color": "white"}, {"nbt": "fzsd.dimension.name", "interpret": true, "storage": "fzsd:here"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}], {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}]] \ No newline at end of file +tellraw @a [{"text": ""}, [{"selector": "@s"}, {"text": "说:我在", "color": "white"}, {"nbt": "fzsd.dimension.name", "interpret": true, "storage": "fzsd:here"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}], {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}]] \ No newline at end of file diff --git a/data/fzsd/functions/module/here/private_message.mcfunction b/data/fzsd/functions/module/here/private_message.mcfunction index 9da0724..cf28c6d 100644 --- a/data/fzsd/functions/module/here/private_message.mcfunction +++ b/data/fzsd/functions/module/here/private_message.mcfunction @@ -1 +1 @@ -tellraw @s [{"text": "你在", "color": "white"}, {"nbt": "fzsd.dimension.name", "interpret": true, "storage": "fzsd:here"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}], {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}] \ No newline at end of file +tellraw @s [{"text": "你在", "color": "white"}, {"nbt": "fzsd.dimension.name", "interpret": true, "storage": "fzsd:here"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}], {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}] \ No newline at end of file diff --git a/data/fzsd/predicates/sweeper/whitelist.json b/data/fzsd/predicates/sweeper/whitelist.json index 5e69e35..2724344 100644 --- a/data/fzsd/predicates/sweeper/whitelist.json +++ b/data/fzsd/predicates/sweeper/whitelist.json @@ -33,8 +33,64 @@ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { - "nbt": "{Item:{id:\"minecraft:tnt_minecart\"}}" + "nbt": "{Item:{id:\"minecraft:oak_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:birch_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:acacia_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:cherry_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:jungle_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:spruce_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:dark_oak_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:mangrove_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:bamboo_raft\"}}" } } ] -} \ No newline at end of file +}