Class DisplayRenderer<T extends Display>
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.DisplayRenderer<T>
- Direct Known Subclasses:
DisplayRenderer.BlockDisplayRenderer
,DisplayRenderer.ItemDisplayRenderer
,DisplayRenderer.TextDisplayRenderer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ModifierConstructorDescriptionprotected
DisplayRenderer
(EntityRendererProvider.Context p_270168_) -
Method Summary
Modifier and TypeMethodDescriptionprivate org.joml.Quaternionf
calculateOrientation
(T p_271013_) getTextureLocation
(T p_270675_) void
render
(T p_270405_, float p_270225_, float p_270279_, PoseStack p_270728_, MultiBufferSource p_270209_, int p_270298_) protected abstract void
renderInner
(T p_270246_, PoseStack p_270944_, MultiBufferSource p_270706_, int p_270263_, float p_270377_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
MAX_SHADOW_RADIUS
private static final float MAX_SHADOW_RADIUS- See Also:
-
entityRenderDispatcher
-
-
Constructor Details
-
DisplayRenderer
-
-
Method Details
-
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<T extends Display>
-
render
public void render(T p_270405_, float p_270225_, float p_270279_, PoseStack p_270728_, MultiBufferSource p_270209_, int p_270298_) - Overrides:
render
in classEntityRenderer<T extends Display>
-
calculateOrientation
-
renderInner
protected abstract void renderInner(T p_270246_, PoseStack p_270944_, MultiBufferSource p_270706_, int p_270263_, float p_270377_)
-