Skip to content

Commit

Permalink
MacawDoorsModule(FORGE|FABRIC): Added Look_LIKE_SIDE_LOG_TEXTURE
Browse files Browse the repository at this point in the history
  • Loading branch information
Xelbayria committed Jan 1, 2025
1 parent f5c8f8e commit b18cb84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b18cb84

Please sign in to comment.