Revert new default lexicon icon/model for now

This commit is contained in:
Vincent Lee committed 2017-09-02 10:39:09 -05:00
1 parent b79377b901
commit dbb61cf855
2 files changed
+3 -2

No files matched your search

@@ -28,6 +28,7 @@ import vazkii.botania.common.lexicon.page.PageText;
@Mod.EventBusSubscriber(Side.CLIENT)
public class RenderLexicon {
private static final ModelBook model = new ModelBook();
// todo 1.12 improve
private static final ResourceLocation texture = new ResourceLocation(LibResources.MODEL_LEXICA_DEFAULT);
private static final ResourceLocation elvenTexture = new ResourceLocation(LibResources.MODEL_LEXICA_ELVEN);
@@ -79,7 +80,7 @@ public class RenderLexicon {
Minecraft mc = Minecraft.getMinecraft();
GlStateManager.pushMatrix();
mc.renderEngine.bindTexture(((ItemLexicon) ModItems.lexicon).isElvenItem(stack) ? elvenTexture : texture);
mc.renderEngine.bindTexture(elvenTexture);
float opening;
float pageFlip;
@@ -1,6 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "botania:items/lexicon_default"
"layer0": "botania:items/lexicon_elven"
}
}