Package vazkii.botania.client.gui.lexicon

Examples of vazkii.botania.client.gui.lexicon.GuiLexicon


  @Override
  public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
    switch(ID) {
    case LibGuiIDs.LEXICON : {
      GuiLexicon lex = GuiLexicon.currentOpenLexicon;
      GuiLexicon.stackUsed = player.getCurrentEquippedItem();
      if(GuiLexicon.stackUsed == null || !(GuiLexicon.stackUsed.getItem() instanceof ILexicon))
        return null;
      return lex;
    }
View Full Code Here

TOP

Related Classes of vazkii.botania.client.gui.lexicon.GuiLexicon

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.