diff --git a/src/generated/resources/.cache/71e72dbdeb626cc835aaccd2ae47fd3d8794cd24 b/src/generated/resources/.cache/71e72dbdeb626cc835aaccd2ae47fd3d8794cd24 index 0b3e466..13f47da 100644 --- a/src/generated/resources/.cache/71e72dbdeb626cc835aaccd2ae47fd3d8794cd24 +++ b/src/generated/resources/.cache/71e72dbdeb626cc835aaccd2ae47fd3d8794cd24 @@ -1,4 +1,4 @@ -// 1.21 2024-08-18T21:30:07.1396541 Item Models: lingshi +// 1.21 2024-08-20T17:21:47.1347182 Item Models: lingshi bad0cb5e093fa42331c2d4a1157d1a7b5b3fc588 assets/lingshi/models/item/chopping_board.json 249957a6811e300efca306db358e468855851d73 assets/lingshi/models/item/iron_knife.json b767fc7952daf0eff3485fe4d8c06c5bba930c22 assets/lingshi/models/item/oil_bucket.json @@ -6,3 +6,4 @@ b767fc7952daf0eff3485fe4d8c06c5bba930c22 assets/lingshi/models/item/oil_bucket.j abe8ae1523c26af167289fe958382b2477d96ea1 assets/lingshi/models/item/rice_of_ear.json 57cfb1f90de649ab0f56f107cb56e1d0d2f87ae6 assets/lingshi/models/item/rice_seedling.json cff85c127954ba63ac8129929c0d7346bf8f305d assets/lingshi/models/item/skillet.json +da8fb27d7e9b15fbd96ca8a49b328776550bb2b3 assets/lingshi/models/item/spatula.json diff --git a/src/main/java/mczme/lingshi/client/screen/CookingHud.java b/src/main/java/mczme/lingshi/client/screen/CookingHud.java index eece4c0..ad4c575 100644 --- a/src/main/java/mczme/lingshi/client/screen/CookingHud.java +++ b/src/main/java/mczme/lingshi/client/screen/CookingHud.java @@ -5,7 +5,6 @@ import mczme.lingshi.common.datamap.ingredient.CookingFoodData; import mczme.lingshi.common.registry.BlockEntityTypes; import mczme.lingshi.common.registry.ModFluids; -import mczme.lingshi.common.registry.ModItems; import mczme.lingshi.lingshi; import net.minecraft.client.DeltaTracker; import net.minecraft.client.Minecraft; @@ -52,7 +51,7 @@ public void render(@NotNull GuiGraphics pGuiGraphics, @NotNull DeltaTracker pDel int j = 0; if (!result.isEmpty()) { pGuiGraphics.renderItem(result, X - 18, Y); - pGuiGraphics.renderItem(new ItemStack(ModItems.SPATULA.get()), X, Y); + pGuiGraphics.blit(HUD_Sprite, X, Y , 16, 16, 0, 36,16,16, 64, 64); pGuiGraphics.drawCenteredString(Minecraft.getInstance().font, String.valueOf(stirFryCount), X + 24, Y + 6, 0xffffff); if (!container.isEmpty()) { pGuiGraphics.renderItem(container, X + 36, Y); diff --git a/src/main/java/mczme/lingshi/common/data/ItemModels.java b/src/main/java/mczme/lingshi/common/data/ItemModels.java index 07a7a85..063b1ec 100644 --- a/src/main/java/mczme/lingshi/common/data/ItemModels.java +++ b/src/main/java/mczme/lingshi/common/data/ItemModels.java @@ -22,7 +22,7 @@ protected void registerModels() { withExistingParent(String.valueOf(ModItems.CHOPPING_BOARD.get()), modLoc("block/chopping_board")); withExistingParent(String.valueOf(ModItems.SKILLET.get()), modLoc("block/skillet")); withExistingParent(String.valueOf(ModItems.IRON_KNIFE.get()),mcLoc("item/handheld")).texture("layer0", modLoc("item/iron_knife")); - + withExistingParent(String.valueOf(ModItems.SPATULA.get()),mcLoc("item/handheld")).texture("layer0", modLoc("item/spatula")); } } diff --git a/src/main/resources/assets/lingshi/textures/gui/cooking_hud.png b/src/main/resources/assets/lingshi/textures/gui/cooking_hud.png index f4bc958..9f78b8c 100644 Binary files a/src/main/resources/assets/lingshi/textures/gui/cooking_hud.png and b/src/main/resources/assets/lingshi/textures/gui/cooking_hud.png differ diff --git a/src/main/resources/assets/lingshi/textures/item/spatula.png b/src/main/resources/assets/lingshi/textures/item/spatula.png new file mode 100644 index 0000000..d2fb094 Binary files /dev/null and b/src/main/resources/assets/lingshi/textures/item/spatula.png differ