避免清理各类矿车

This commit is contained in:
Harvey_Husky 2023-08-05 09:27:35 +08:00
parent 09fcbb7891
commit a3642694e8

View File

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