mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 18:44:44 +00:00
Revert new default lexicon icon/model for now
This commit is contained in:
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"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user