public IFI_GuiFigureSelect(World pWorld, IFI_EntityFigure entityfigure) { super(pWorld, IFI_ItemFigure.entityStringMap); screenTitle = "Figure Select"; targetFigure = entityfigure; if (targetFigure != null) { targetFigure.setWorld(pWorld); } }
@Override public void clickSlot(int pIndex, boolean pDoubleClick, String pName, EntityLivingBase pEntity) { targetFigure.setRenderEntity(pEntity); }