Package net.minecraft.src
Class RenderItem
java.lang.Object
net.minecraft.src.Render
net.minecraft.src.RenderItem
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic booleanbooleanfloatDefines the zLevel of rendering of item on GUI.Fields inherited from class net.minecraft.src.Render
renderBlocks, renderManager, shadowOpaque, shadowSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidActually renders the given argument.voiddoRenderItem(EntityItem par1EntityItem, double par2, double par4, double par6, float par8, float par9) Renders the itemprotected ResourceLocationfunc_110796_a(EntityItem par1EntityItem) protected ResourceLocationgetEntityTexture(Entity par1Entity) Returns the location of an entity's texture.voidrenderIcon(int par1, int par2, Icon par3Icon, int par4, int par5) voidrenderItemAndEffectIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5) Render the item's icon or block into the GUI, including the glint effect.voidrenderItemIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5) Renders the item's icon or block into the UI at the specified position.voidrenderItemOverlayIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5) Renders the item's overlay information.voidrenderItemOverlayIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5, String par6Str) Methods inherited from class net.minecraft.src.Render
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager, updateIcons
-
Field Details
-
renderWithColor
public boolean renderWithColor -
zLevel
public float zLevelDefines the zLevel of rendering of item on GUI. -
renderInFrame
public static boolean renderInFrame -
forceFancyItemRender
public static boolean forceFancyItemRender
-
-
Constructor Details
-
RenderItem
public RenderItem()
-
-
Method Details
-
doRenderItem
public void doRenderItem(EntityItem par1EntityItem, double par2, double par4, double par6, float par8, float par9) Renders the item -
func_110796_a
-
renderItemIntoGUI
public void renderItemIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5) Renders the item's icon or block into the UI at the specified position. -
renderItemAndEffectIntoGUI
public void renderItemAndEffectIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5) Render the item's icon or block into the GUI, including the glint effect. -
renderItemOverlayIntoGUI
public void renderItemOverlayIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5) Renders the item's overlay information. Examples being stack count or damage on top of the item's image at the specified position. -
renderItemOverlayIntoGUI
public void renderItemOverlayIntoGUI(FontRenderer par1FontRenderer, TextureManager par2TextureManager, ItemStack par3ItemStack, int par4, int par5, String par6Str) -
renderIcon
-
getEntityTexture
Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.- Specified by:
getEntityTexturein classRender
-
doRender
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic(Render<T extends Entity>)and this method has signature public void doRender(T entity, double d, double d1, double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.
-