Skip to content

Commit

Permalink
Fix broken chest textures for Iron Chest compat, Closes #132
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed May 9, 2020
1 parent fb78453 commit 81d9016
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ public class IronChestModCompat implements IModCompat {

@OnlyIn(Dist.CLIENT)
private void overrideTextures() {
String prefix = "textures/model/";
String prefix = "model/";
RenderTileEntityColossalChest.TEXTURES_CHEST.put(ChestMaterial.COPPER,
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "copper_chest.png"));
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "copper_chest"));
RenderTileEntityColossalChest.TEXTURES_CHEST.put(ChestMaterial.IRON,
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "iron_chest.png"));
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "iron_chest"));
RenderTileEntityColossalChest.TEXTURES_CHEST.put(ChestMaterial.SILVER,
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "silver_chest.png"));
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "silver_chest"));
RenderTileEntityColossalChest.TEXTURES_CHEST.put(ChestMaterial.GOLD,
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "gold_chest.png"));
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "gold_chest"));
RenderTileEntityColossalChest.TEXTURES_CHEST.put(ChestMaterial.DIAMOND,
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "diamond_chest.png"));
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "diamond_chest"));
RenderTileEntityColossalChest.TEXTURES_CHEST.put(ChestMaterial.OBSIDIAN,
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "obsidian_chest.png"));
new ResourceLocation(Reference.MOD_IRONCHEST, prefix + "obsidian_chest"));
}

@Override
Expand Down

0 comments on commit 81d9016

Please sign in to comment.