Class ItemFrameRenderer<T extends ItemFrame>
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.ItemFrameRenderer<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockRenderDispatcher
static final int
private static final ModelResourceLocation
static final int
private static final ModelResourceLocation
private static final ModelResourceLocation
private final ItemRenderer
private static final ModelResourceLocation
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getBlockLightLevel
(T p_174216_, BlockPos p_174217_) private ModelResourceLocation
getFrameModelResourceLoc
(T p_174213_, ItemStack p_174214_) private int
getLightVal
(T p_174209_, int p_174210_, int p_174211_) getRenderOffset
(T p_115073_, float p_115074_) getTextureLocation
(T p_115071_) void
render
(T p_115076_, float p_115077_, float p_115078_, PoseStack p_115079_, MultiBufferSource p_115080_, int p_115081_) protected void
renderNameTag
(T p_316437_, Component p_115066_, PoseStack p_115067_, MultiBufferSource p_115068_, int p_115069_, float p_316131_) protected boolean
shouldShowName
(T p_115091_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getFont, getPackedLightCoords, getShadowRadius, getSkyLightLevel, shouldRender
-
Field Details
-
FRAME_LOCATION
-
MAP_FRAME_LOCATION
-
GLOW_FRAME_LOCATION
-
GLOW_MAP_FRAME_LOCATION
-
GLOW_FRAME_BRIGHTNESS
public static final int GLOW_FRAME_BRIGHTNESS- See Also:
-
BRIGHT_MAP_LIGHT_ADJUSTMENT
public static final int BRIGHT_MAP_LIGHT_ADJUSTMENT- See Also:
-
itemRenderer
-
blockRenderer
-
-
Constructor Details
-
ItemFrameRenderer
-
-
Method Details
-
getBlockLightLevel
- Overrides:
getBlockLightLevel
in classEntityRenderer<T extends ItemFrame>
-
render
public void render(T p_115076_, float p_115077_, float p_115078_, PoseStack p_115079_, MultiBufferSource p_115080_, int p_115081_) - Overrides:
render
in classEntityRenderer<T extends ItemFrame>
-
getLightVal
-
getFrameModelResourceLoc
-
getRenderOffset
- Overrides:
getRenderOffset
in classEntityRenderer<T extends ItemFrame>
-
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<T extends ItemFrame>
-
shouldShowName
- Overrides:
shouldShowName
in classEntityRenderer<T extends ItemFrame>
-
renderNameTag
protected void renderNameTag(T p_316437_, Component p_115066_, PoseStack p_115067_, MultiBufferSource p_115068_, int p_115069_, float p_316131_) - Overrides:
renderNameTag
in classEntityRenderer<T extends ItemFrame>
-