Quick documentation on that, some trimming too.

This commit is contained in:
Vasco Lavos committed 2014-06-11 14:40:10 +01:00
1 parent fdc83024e1
commit 265dd29e8a
3 files changed
+3 -2

No files matched your search

@@ -67,7 +67,7 @@ public class RenderLexicon implements IItemRenderer {
String title = ModItems.lexicon.getItemStackDisplayName(null);
if(Minecraft.getMinecraft().thePlayer.getCurrentEquippedItem() != null)
title = Minecraft.getMinecraft().thePlayer.getCurrentEquippedItem().getDisplayName();
font.drawString(title, 0, 0, 0xD69700);
font.drawString(font.trimStringToWidth(title, 80), 0, 0, 0xD69700);
GL11.glTranslatef(0F, 10F, 0F);
GL11.glScalef(0.6F, 0.6F, 0.6F);
font.drawString(EnumChatFormatting.ITALIC + "" + EnumChatFormatting.BOLD + String.format(StatCollector.translateToLocal("botaniamisc.edition"), ItemLexicon.getEdition()), 0, 0, 0xA07100);
@@ -168,7 +168,7 @@ public final class LexiconData {
apothecary.setPriority().setLexiconPages(new PageText("0"), new PageImage("1", LibResources.ENTRY_APOTHECARY), new PageText("2"), new PageText("3"), new PageCraftingRecipe("4", ModCrafingRecipes.recipesApothecary));
lexicon = new BLexiconEntry(LibLexicon.BASICS_LEXICON, categoryBasics);
lexicon.setPriority().setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLexicon));
lexicon.setPriority().setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipeLexicon), new PageText("2"));
wand = new BLexiconEntry(LibLexicon.BASICS_WAND, categoryBasics);
wand.setPriority().setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipesTwigWand));
+1
View File
@@ -454,6 +454,7 @@ botania.category.misc=Miscellaneous
botania.entry.lexicon=Lexica Botania
botania.page.lexicon0=The &1Lexica Botania&0 is the repository of all knowledge for all botany related matters. But you probably knew that already.<br>All information is stored here, as expected. For convenience, if a block happens to have an entry, it can be shift-right clicked with the &1Lexica Botania&0 to open that entry.
botania.page.lexicon1=Crafting the &1Lexica Botania&0.
botania.page.lexicon2=The &1Lexica Botania&0's title can also be customized. By placing it in an &1Anvil&0 and renaming it, one can not only change it's cover, but also the title.<br>The Edition of the lexica shown equates to the version of the &4Botania&0 you're running, and no, I don't care about the fourth wall.
# -- MYSTICAL FLOWERS
botania.entry.flowers=Mystical Flowers