Class DisplayRenderer.TextDisplayRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.DisplayRenderer<Display.TextDisplay>
net.minecraft.client.renderer.entity.DisplayRenderer.TextDisplayRenderer
- Enclosing class:
- DisplayRenderer<T extends Display>
public static class DisplayRenderer.TextDisplayRenderer
extends DisplayRenderer<Display.TextDisplay>
-
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 TypeMethodDescriptionvoid
renderInner
(Display.TextDisplay p_270749_, PoseStack p_270232_, MultiBufferSource p_270522_, int p_270936_, float p_270759_) private Display.TextDisplay.CachedInfo
splitLines
(Component p_270823_, int p_270893_) 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
-
font
-
-
Constructor Details
-
TextDisplayRenderer
-
-
Method Details
-
splitLines
-
renderInner
public void renderInner(Display.TextDisplay p_270749_, PoseStack p_270232_, MultiBufferSource p_270522_, int p_270936_, float p_270759_) - Specified by:
renderInner
in classDisplayRenderer<Display.TextDisplay>
-