避免清理各类矿车

This commit is contained in:
Harvey_Husky 2023-08-05 09:27:14 +08:00
parent 83cfe50ae2
commit 9e309a9010

View File

@ -1,7 +1,33 @@
{ {
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"nbt": "{Item:{id:\"minecraft:minecart\"}}" "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\"}}"
}
}
]
} }