@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;
}