From b18cb8438be7e7adbd4076322648e3f5a642325a Mon Sep 17 00:00:00 2001 From: Xel'Bayria <12866666+Xelbayria@users.noreply.github.com> Date: Wed, 1 Jan 2025 02:54:58 -0700 Subject: [PATCH] MacawDoorsModule(FORGE|FABRIC): Added Look_LIKE_SIDE_LOG_TEXTURE --- .../every_compat/modules/fabric/mcaw/MacawDoorsModule.java | 2 ++ .../every_compat/modules/forge/mcaw/MacawDoorsModule.java | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fabric/src/main/java/net/mehvahdjukaar/every_compat/modules/fabric/mcaw/MacawDoorsModule.java b/fabric/src/main/java/net/mehvahdjukaar/every_compat/modules/fabric/mcaw/MacawDoorsModule.java index 49136cf5d..cb6ef8029 100644 --- a/fabric/src/main/java/net/mehvahdjukaar/every_compat/modules/fabric/mcaw/MacawDoorsModule.java +++ b/fabric/src/main/java/net/mehvahdjukaar/every_compat/modules/fabric/mcaw/MacawDoorsModule.java @@ -8,6 +8,7 @@ import net.mehvahdjukaar.every_compat.api.RenderLayer; import net.mehvahdjukaar.every_compat.api.SimpleEntrySet; import net.mehvahdjukaar.every_compat.api.SimpleModule; +import net.mehvahdjukaar.every_compat.misc.SpriteHelper; import net.mehvahdjukaar.moonlight.api.resources.textures.Palette; import net.mehvahdjukaar.moonlight.api.set.wood.WoodType; import net.mehvahdjukaar.moonlight.api.set.wood.WoodTypeRegistry; @@ -73,6 +74,7 @@ public MacawDoorsModule(String modId) { .copyParentDrop() .defaultRecipe() .setRenderType(RenderLayer.CUTOUT) + .createPaletteFromChild("log", SpriteHelper.LOOKS_LIKE_SIDE_LOG_TEXTURE) .addTextureM(modRes("item/oak_bark_glass_door"), EveryCompat.res("item/mcw/doors/oak_bark_glass_door_m")) .build(); diff --git a/forge/src/main/java/net/mehvahdjukaar/every_compat/modules/forge/mcaw/MacawDoorsModule.java b/forge/src/main/java/net/mehvahdjukaar/every_compat/modules/forge/mcaw/MacawDoorsModule.java index fd5f231ee..7c278a8b1 100644 --- a/forge/src/main/java/net/mehvahdjukaar/every_compat/modules/forge/mcaw/MacawDoorsModule.java +++ b/forge/src/main/java/net/mehvahdjukaar/every_compat/modules/forge/mcaw/MacawDoorsModule.java @@ -1,13 +1,13 @@ package net.mehvahdjukaar.every_compat.modules.forge.mcaw; import com.mcwdoors.kikoz.init.BlockInit; -import com.mcwdoors.kikoz.init.TabInit; import com.mcwdoors.kikoz.objects.JapaneseDoors; import com.mcwdoors.kikoz.objects.StableDoor; import net.mehvahdjukaar.every_compat.EveryCompat; import net.mehvahdjukaar.every_compat.api.RenderLayer; import net.mehvahdjukaar.every_compat.api.SimpleEntrySet; import net.mehvahdjukaar.every_compat.api.SimpleModule; +import net.mehvahdjukaar.every_compat.misc.SpriteHelper; import net.mehvahdjukaar.moonlight.api.resources.textures.Palette; import net.mehvahdjukaar.moonlight.api.set.wood.WoodType; import net.mehvahdjukaar.moonlight.api.set.wood.WoodTypeRegistry; @@ -73,6 +73,7 @@ public MacawDoorsModule(String modId) { .copyParentDrop() .defaultRecipe() .setRenderType(RenderLayer.CUTOUT) + .createPaletteFromChild("log", SpriteHelper.LOOKS_LIKE_SIDE_LOG_TEXTURE) .addTextureM(modRes("item/oak_bark_glass_door"), EveryCompat.res("item/mcw/doors/oak_bark_glass_door_m")) .build(); this.addEntry(BARK_GLASS_DOORS);