Class ItemFrameRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<ItemFrameEntity>
net.minecraft.client.renderer.entity.ItemFrameRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ModelResourceLocation
private final ItemRenderer
private static final ModelResourceLocation
private final Minecraft
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
Constructor Summary
ConstructorDescriptionItemFrameRenderer
(EntityRendererManager p_i46166_1_, ItemRenderer p_i46166_2_) -
Method Summary
Modifier and TypeMethodDescriptiongetRenderOffset
(ItemFrameEntity p_225627_1_, float p_225627_2_) getTextureLocation
(ItemFrameEntity p_110775_1_) void
render
(ItemFrameEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) protected void
renderNameTag
(ItemFrameEntity p_225629_1_, ITextComponent p_225629_2_, MatrixStack p_225629_3_, IRenderTypeBuffer p_225629_4_, int p_225629_5_) protected boolean
shouldShowName
(ItemFrameEntity p_177070_1_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getSkyLightLevel, shouldRender
-
Field Details
-
FRAME_LOCATION
-
MAP_FRAME_LOCATION
-
minecraft
-
itemRenderer
-
-
Constructor Details
-
ItemFrameRenderer
-
-
Method Details
-
render
public void render(ItemFrameEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) - Overrides:
render
in classEntityRenderer<ItemFrameEntity>
-
getRenderOffset
- Overrides:
getRenderOffset
in classEntityRenderer<ItemFrameEntity>
-
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<ItemFrameEntity>
-
shouldShowName
- Overrides:
shouldShowName
in classEntityRenderer<ItemFrameEntity>
-
renderNameTag
protected void renderNameTag(ItemFrameEntity p_225629_1_, ITextComponent p_225629_2_, MatrixStack p_225629_3_, IRenderTypeBuffer p_225629_4_, int p_225629_5_) - Overrides:
renderNameTag
in classEntityRenderer<ItemFrameEntity>
-