Class DisplayRenderer.TextDisplayRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Display.TextDisplay>
net.minecraft.client.renderer.entity.DisplayRenderer<Display.TextDisplay,Display.TextDisplay.TextRenderState>
net.minecraft.client.renderer.entity.DisplayRenderer.TextDisplayRenderer
- Enclosing class:
DisplayRenderer<T extends Display,
S>
public static class DisplayRenderer.TextDisplayRenderer
extends DisplayRenderer<Display.TextDisplay,Display.TextDisplay.TextRenderState>
-
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 TypeMethodDescriptionprotected Display.TextDisplay.TextRenderState
getSubState
(Display.TextDisplay p_277947_) void
renderInner
(Display.TextDisplay p_277522_, Display.TextDisplay.TextRenderState p_277620_, PoseStack p_277536_, MultiBufferSource p_277845_, int p_278046_, float p_277769_) 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, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
font
-
-
Constructor Details
-
TextDisplayRenderer
-
-
Method Details
-
splitLines
-
getSubState
- Specified by:
getSubState
in classDisplayRenderer<Display.TextDisplay,
Display.TextDisplay.TextRenderState>
-
renderInner
public void renderInner(Display.TextDisplay p_277522_, Display.TextDisplay.TextRenderState p_277620_, PoseStack p_277536_, MultiBufferSource p_277845_, int p_278046_, float p_277769_) - Specified by:
renderInner
in classDisplayRenderer<Display.TextDisplay,
Display.TextDisplay.TextRenderState>
-