From 9e309a901068dcb953d372a4fe4eb0f69e24f086 Mon Sep 17 00:00:00 2001 From: Harvey_Husky Date: Sat, 5 Aug 2023 09:27:14 +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..113128c 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:alternative", + "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