Class DisplayRenderer.ItemDisplayRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.DisplayRenderer<Display.ItemDisplay,Display.ItemDisplay.ItemRenderState>
net.minecraft.client.renderer.entity.DisplayRenderer.ItemDisplayRenderer
- Enclosing class:
DisplayRenderer<T extends Display,
S>
public static class DisplayRenderer.ItemDisplayRenderer
extends DisplayRenderer<Display.ItemDisplay,Display.ItemDisplay.ItemRenderState>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.entity.DisplayRenderer
DisplayRenderer.BlockDisplayRenderer, DisplayRenderer.ItemDisplayRenderer, DisplayRenderer.TextDisplayRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected Display.ItemDisplay.ItemRenderState
getSubState
(Display.ItemDisplay p_277464_) void
renderInner
(Display.ItemDisplay p_277863_, Display.ItemDisplay.ItemRenderState p_277481_, PoseStack p_277889_, MultiBufferSource p_277509_, int p_277861_, float p_277670_) Methods inherited from class net.minecraft.client.renderer.entity.DisplayRenderer
getTextureLocation, render
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
itemRenderer
-
-
Constructor Details
-
ItemDisplayRenderer
-
-
Method Details
-
getSubState
- Specified by:
getSubState
in classDisplayRenderer<Display.ItemDisplay,
Display.ItemDisplay.ItemRenderState>
-
renderInner
public void renderInner(Display.ItemDisplay p_277863_, Display.ItemDisplay.ItemRenderState p_277481_, PoseStack p_277889_, MultiBufferSource p_277509_, int p_277861_, float p_277670_) - Specified by:
renderInner
in classDisplayRenderer<Display.ItemDisplay,
Display.ItemDisplay.ItemRenderState>
-