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 TypeFieldDescriptionstatic final int
private static final ModelResourceLocation
static final int
private static final ModelResourceLocation
private static final ModelResourceLocation
private final ItemRenderer
private static final ModelResourceLocation
private final Minecraft
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, 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_115083_, Component p_115084_, PoseStack p_115085_, MultiBufferSource p_115086_, int p_115087_) protected boolean
shouldShowName
(T p_115091_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getFont, getPackedLightCoords, 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:
-
minecraft
-
itemRenderer
-
-
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_115083_, Component p_115084_, PoseStack p_115085_, MultiBufferSource p_115086_, int p_115087_) - Overrides:
renderNameTag
in classEntityRenderer<T extends ItemFrame>
-