From a3642694e8760beaff1eec14c5f6fd3d8fbc0217 Mon Sep 17 00:00:00 2001 From: Harvey_Husky Date: Sat, 5 Aug 2023 09:27:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=BF=E5=85=8D=E6=B8=85=E7=90=86=E5=90=84?= =?UTF-8?q?=E7=B1=BB=E7=9F=BF=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/fzsd/predicates/sweeper/whitelist.json | 36 ++++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/data/fzsd/predicates/sweeper/whitelist.json b/data/fzsd/predicates/sweeper/whitelist.json index 572afc0..b79695a 100644 --- a/data/fzsd/predicates/sweeper/whitelist.json +++ b/data/fzsd/predicates/sweeper/whitelist.json @@ -1,7 +1,33 @@ { - "condition": "minecraft:entity_properties", - "entity": "this", - "predicate": { - "nbt": "{Item:{id:\"minecraft:minecart\"}}" - } + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:minecart\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:hopper_minecart\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:chest_minecart\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "nbt": "{Item:{id:\"minecraft:furnace_minecart\"}}" + } + } + ] } \ No newline at end of file