From 252a01d1452a7b3f8a7d652723eaf1f81828b41d Mon Sep 17 00:00:00 2001 From: quat1024 Date: Sat, 8 Jul 2023 23:13:47 -0400 Subject: [PATCH] move the item models --- .../java/io/github/cottonmc/templates/TemplatesClient.java | 6 +++--- .../templates/models/{block => item}/button_inventory.json | 0 .../templates/models/{block => item}/fence_inventory.json | 0 .../templates/models/{block => item}/wall_inventory.json | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/main/resources/assets/templates/models/{block => item}/button_inventory.json (100%) rename src/main/resources/assets/templates/models/{block => item}/fence_inventory.json (100%) rename src/main/resources/assets/templates/models/{block => item}/wall_inventory.json (100%) diff --git a/src/main/java/io/github/cottonmc/templates/TemplatesClient.java b/src/main/java/io/github/cottonmc/templates/TemplatesClient.java index 534bcef..684af4e 100644 --- a/src/main/java/io/github/cottonmc/templates/TemplatesClient.java +++ b/src/main/java/io/github/cottonmc/templates/TemplatesClient.java @@ -82,9 +82,9 @@ public class TemplatesClient implements ClientModInitializer { provider.addTemplateModel(Templates.id("slope_special"), new RetexturedMeshUnbakedModel(Templates.id("block/slope_base"), SlopeBaseMesh::make)); //item only models -- TODO move to item/ prolly - provider.addTemplateModel(Templates.id("button_inventory_special"), new RetexturedJsonModelUnbakedModel(Templates.id("block/button_inventory"))); - provider.addTemplateModel(Templates.id("fence_inventory_special"), new RetexturedJsonModelUnbakedModel(Templates.id("block/fence_inventory"))); - provider.addTemplateModel(Templates.id("wall_inventory_special"), new RetexturedJsonModelUnbakedModel(Templates.id("block/wall_inventory"))); + provider.addTemplateModel(Templates.id("button_inventory_special"), new RetexturedJsonModelUnbakedModel(Templates.id("item/button_inventory"))); + provider.addTemplateModel(Templates.id("fence_inventory_special"), new RetexturedJsonModelUnbakedModel(Templates.id("item/fence_inventory"))); + provider.addTemplateModel(Templates.id("wall_inventory_special"), new RetexturedJsonModelUnbakedModel(Templates.id("item/wall_inventory"))); provider.assignItemModel(Templates.id("button_special"), Templates.BUTTON); provider.assignItemModel(Templates.id("carpet_special"), Templates.CARPET); diff --git a/src/main/resources/assets/templates/models/block/button_inventory.json b/src/main/resources/assets/templates/models/item/button_inventory.json similarity index 100% rename from src/main/resources/assets/templates/models/block/button_inventory.json rename to src/main/resources/assets/templates/models/item/button_inventory.json diff --git a/src/main/resources/assets/templates/models/block/fence_inventory.json b/src/main/resources/assets/templates/models/item/fence_inventory.json similarity index 100% rename from src/main/resources/assets/templates/models/block/fence_inventory.json rename to src/main/resources/assets/templates/models/item/fence_inventory.json diff --git a/src/main/resources/assets/templates/models/block/wall_inventory.json b/src/main/resources/assets/templates/models/item/wall_inventory.json similarity index 100% rename from src/main/resources/assets/templates/models/block/wall_inventory.json rename to src/main/resources/assets/templates/models/item/wall_inventory.json