From cb7ab037bf1d5a1c6df7c6808b335af9c370785b Mon Sep 17 00:00:00 2001 From: Khazoda Date: Wed, 21 Aug 2024 05:18:55 +0100 Subject: [PATCH] crate model, loot table changes --- .../data/basicstorage/loot_table/blocks/crate.json | 3 +-- .../assets/basicstorage/models/item/crate.json | 10 +--------- .../assets/basicstorage/models/item/crate_old.json | 12 ++++++++++++ 3 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 src/main/resources/assets/basicstorage/models/item/crate_old.json diff --git a/src/main/generated/data/basicstorage/loot_table/blocks/crate.json b/src/main/generated/data/basicstorage/loot_table/blocks/crate.json index d82522b..1cdc811 100644 --- a/src/main/generated/data/basicstorage/loot_table/blocks/crate.json +++ b/src/main/generated/data/basicstorage/loot_table/blocks/crate.json @@ -15,8 +15,7 @@ { "function": "minecraft:copy_components", "include": [ - "basicstorage:crate_contents", - "minecraft:fire_resistant" + "basicstorage:crate_contents" ], "source": "block_entity" } diff --git a/src/main/resources/assets/basicstorage/models/item/crate.json b/src/main/resources/assets/basicstorage/models/item/crate.json index 67d49cf..359e88d 100644 --- a/src/main/resources/assets/basicstorage/models/item/crate.json +++ b/src/main/resources/assets/basicstorage/models/item/crate.json @@ -1,12 +1,4 @@ { - "parent": "basicstorage:block/crate", - "overrides": [ - { - "predicate": { - "basicstorage:has_items": 1 - }, - "model": "basicstorage:item/crate_filled" - } - ] + "parent": "minecraft:builtin/entity" } diff --git a/src/main/resources/assets/basicstorage/models/item/crate_old.json b/src/main/resources/assets/basicstorage/models/item/crate_old.json new file mode 100644 index 0000000..67d49cf --- /dev/null +++ b/src/main/resources/assets/basicstorage/models/item/crate_old.json @@ -0,0 +1,12 @@ +{ + "parent": "basicstorage:block/crate", + "overrides": [ + { + "predicate": { + "basicstorage:has_items": 1 + }, + "model": "basicstorage:item/crate_filled" + } + ] +} +