src/main/java/mezz/jei/gui/ingredients/GuiItemStackFastList.java
@Nullable
	public GuiItemStackFast render(Minecraft minecraft, boolean isMouseOver, int mouseX, int mouseY) {
		GuiItemStackFast hovered = null;
		if (isMouseOver) {
			hovered = getHovered(mouseX, mouseY);
		}

		RenderHelper.enableGUIStandardItemLighting();

		RenderItem renderItem = minecraft.getRenderItem();
		TextureManager textureManager = minecraft.getTextureManager();
		renderItem.zLevel += 50.0F;

		textureManager.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
		textureManager.getTexture(TextureMap.LOCATION_BLOCKS_TEXTURE).setBlurMipmap(false, false);
		GlStateManager.enableRescaleNormal();
		GlStateManager.enableAlpha();
		GlStateManager.alphaFunc(GL11.GL_GREATER, 0.1F);
		GlStateManager.enableBlend();
		GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
		GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);

		// 3d Items
		GlStateManager.enableLighting();
		for (GuiItemStackFast guiItemStack : renderItems3d) {
			if (hovered != guiItemStack) {
				guiItemStack.renderItemAndEffectIntoGUI();
			}
		}

		// 2d Items
		GlStateManager.disableLighting();
		for (GuiItemStackFast guiItemStack : renderItems2d) {
			if (hovered != guiItemStack) {
				guiItemStack.renderItemAndEffectIntoGUI();
			}
		}

		GlStateManager.disableAlpha();
		GlStateManager.disableBlend();
		GlStateManager.disableRescaleNormal();
		GlStateManager.disableLighting();

		textureManager.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
		textureManager.getTexture(TextureMap.LOCATION_BLOCKS_TEXTURE).restoreLastBlurMipmap();

		renderItem.zLevel -= 50.0F;

		// built-in render Items
		for (GuiItemStackFast guiItemStack : renderItemsBuiltIn) {
			if (hovered != guiItemStack) {
				guiItemStack.renderSlow();
			}
		}

		for (GuiItemStackFast guiItemStack : renderItemsAll) {
			if (hovered != guiItemStack) {
				guiItemStack.renderOverlay(minecraft);
			}
		}

		RenderHelper.disableStandardItemLighting();

		return hovered;
	}
/** renders all ItemStacks and returns hovered gui item stack for later render pass */
renders all ItemStacks and returns hovered gui item stack for later render pass
renders all ItemStacks and returns hovered gui item stack for later render pass
@Nullable
	public GuiItemStackFast render(Minecraft minecraft, boolean isMouseOver, int mouseX, int mouseY) {
		GuiItemStackFast hovered = null;
		if (isMouseOver) {
			hovered = getHovered(mouseX, mouseY);
		}
		RenderHelper.enableGUIStandardItemLighting();
		RenderItem renderItem = minecraft.getRenderItem();
		TextureManager textureManager = minecraft.getTextureManager();
		renderItem.zLevel += 50.0F;
		textureManager.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
		textureManager.getTexture(TextureMap.LOCATION_BLOCKS_TEXTURE).setBlurMipmap(false, false);
		GlStateManager.enableRescaleNormal();
		GlStateManager.enableAlpha();
		GlStateManager.alphaFunc(GL11.GL_GREATER, 0.1F);
		GlStateManager.enableBlend();
		GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
		GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
		GlStateManager.enableLighting();
		for (GuiItemStackFast guiItemStack : renderItems3d) {
			if (hovered != guiItemStack) {
				guiItemStack.renderItemAndEffectIntoGUI();
			}
		}
		GlStateManager.disableLighting();
		for (GuiItemStackFast guiItemStack : renderItems2d) {
			if (hovered != guiItemStack) {
				guiItemStack.renderItemAndEffectIntoGUI();
			}
		}
		GlStateManager.disableAlpha();
		GlStateManager.disableBlend();
		GlStateManager.disableRescaleNormal();
		GlStateManager.disableLighting();
		textureManager.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
		textureManager.getTexture(TextureMap.LOCATION_BLOCKS_TEXTURE).restoreLastBlurMipmap();
		renderItem.zLevel -= 50.0F;
		for (GuiItemStackFast guiItemStack : renderItemsBuiltIn) {
			if (hovered != guiItemStack) {
				guiItemStack.renderSlow();
			}
		}
		for (GuiItemStackFast guiItemStack : renderItemsAll) {
			if (hovered != guiItemStack) {
				guiItemStack.renderOverlay(minecraft);
			}
		}
		RenderHelper.disableStandardItemLighting();
		return hovered;
	}
@ Nullable public GuiItemStackFast render ( Minecraft minecraft , boolean isMouseOver , int mouseX , int mouseY ) { GuiItemStackFast hovered = null ; if ( isMouseOver ) { hovered = getHovered ( mouseX , mouseY ) ; } RenderHelper . enableGUIStandardItemLighting ( ) ; RenderItem renderItem = minecraft . getRenderItem ( ) ; TextureManager textureManager = minecraft . getTextureManager ( ) ; renderItem . zLevel += 50.0F ; textureManager . bindTexture ( TextureMap . LOCATION_BLOCKS_TEXTURE ) ; textureManager . getTexture ( TextureMap . LOCATION_BLOCKS_TEXTURE ) . setBlurMipmap ( false , false ) ; GlStateManager . enableRescaleNormal ( ) ; GlStateManager . enableAlpha ( ) ; GlStateManager . alphaFunc ( GL11 . GL_GREATER , 0.1F ) ; GlStateManager . enableBlend ( ) ; GlStateManager . blendFunc ( GL11 . GL_SRC_ALPHA , GL11 . GL_ONE_MINUS_SRC_ALPHA ) ; GlStateManager . color ( 1.0F , 1.0F , 1.0F , 1.0F ) ; GlStateManager . enableLighting ( ) ; for ( GuiItemStackFast guiItemStack : renderItems3d ) { if ( hovered != guiItemStack ) { guiItemStack . renderItemAndEffectIntoGUI ( ) ; } } GlStateManager . disableLighting ( ) ; for ( GuiItemStackFast guiItemStack : renderItems2d ) { if ( hovered != guiItemStack ) { guiItemStack . renderItemAndEffectIntoGUI ( ) ; } } GlStateManager . disableAlpha ( ) ; GlStateManager . disableBlend ( ) ; GlStateManager . disableRescaleNormal ( ) ; GlStateManager . disableLighting ( ) ; textureManager . bindTexture ( TextureMap . LOCATION_BLOCKS_TEXTURE ) ; textureManager . getTexture ( TextureMap . LOCATION_BLOCKS_TEXTURE ) . restoreLastBlurMipmap ( ) ; renderItem . zLevel -= 50.0F ; for ( GuiItemStackFast guiItemStack : renderItemsBuiltIn ) { if ( hovered != guiItemStack ) { guiItemStack . renderSlow ( ) ; } } for ( GuiItemStackFast guiItemStack : renderItemsAll ) { if ( hovered != guiItemStack ) { guiItemStack . renderOverlay ( minecraft ) ; } } RenderHelper . disableStandardItemLighting ( ) ; return hovered ; }
renders all ItemStacks and returns hovered gui item stack for later render pass
renders all ItemStacks and returns hovered gui item stack for later render pass
// 3d Items
 // 2d Items
 // built-in render Items
