Examples of GuiLexicon


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
Copyright © 2018 www.massapi.com. 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.