Class DisplayEntityRenderer.TextDisplayEntityRenderer

Enclosing class:
DisplayEntityRenderer<T extends DisplayEntity,S,ST extends DisplayEntityRenderState>

Mappings:
Namespace Name
named net/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer
intermediary net/minecraft/class_8138$class_8141
official grd$c
  • Field Details

    • displayTextRenderer

      private final TextRenderer displayTextRenderer
      Mappings:
      Namespace Name Mixin selector
      named displayTextRenderer Lnet/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer;displayTextRenderer:Lnet/minecraft/client/font/TextRenderer;
      intermediary field_42531 Lnet/minecraft/class_8138$class_8141;field_42531:Lnet/minecraft/class_327;
      official a Lgrd$c;a:Lfnp;
  • Constructor Details

    • TextDisplayEntityRenderer

      protected TextDisplayEntityRenderer(EntityRendererFactory.Context context)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
      intermediary <init> Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
      official <init> Lgro;<init>(Lgrp$a;)V
  • Method Details

    • createRenderState

      public TextDisplayEntityRenderState createRenderState()
      Specified by:
      createRenderState in class EntityRenderer<DisplayEntity.TextDisplayEntity,TextDisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named createRenderState Lnet/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/TextDisplayEntityRenderState;
      intermediary method_49924 Lnet/minecraft/class_8138$class_8141;method_49924()Lnet/minecraft/class_10071;
      official a Lgrd$c;a()Lgzu;
    • updateRenderState

      public void updateRenderState(DisplayEntity.TextDisplayEntity textDisplayEntity, TextDisplayEntityRenderState textDisplayEntityRenderState, float float2)
      Overrides:
      updateRenderState in class DisplayEntityRenderer<DisplayEntity.TextDisplayEntity,DisplayEntity.TextDisplayEntity.Data,TextDisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named updateRenderState Lnet/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer;updateRenderState(Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;Lnet/minecraft/client/render/entity/state/TextDisplayEntityRenderState;F)V
      intermediary method_62409 Lnet/minecraft/class_8138$class_8141;method_62409(Lnet/minecraft/class_8113$class_8123;Lnet/minecraft/class_10071;F)V
      official a Lgrd$c;a(Lbvh$l;Lgzu;F)V
    • getLines

      private DisplayEntity.TextDisplayEntity.TextLines getLines(Text text, int width)
      Mappings:
      Namespace Name Mixin selector
      named getLines Lnet/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer;getLines(Lnet/minecraft/text/Text;I)Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$TextLines;
      intermediary method_49057 Lnet/minecraft/class_8138$class_8141;method_49057(Lnet/minecraft/class_2561;I)Lnet/minecraft/class_8113$class_8123$class_8125;
      official a Lgrd$c;a(Lxv;I)Lbvh$l$b;
    • render

      public void render(TextDisplayEntityRenderState textDisplayEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, float float2)
      Specified by:
      render in class DisplayEntityRenderer<DisplayEntity.TextDisplayEntity,DisplayEntity.TextDisplayEntity.Data,TextDisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer;render(Lnet/minecraft/client/render/entity/state/TextDisplayEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IF)V
      intermediary method_49056 Lnet/minecraft/class_8138$class_8141;method_49056(Lnet/minecraft/class_10071;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IF)V
      official a Lgrd$c;a(Lgzu;Lfgr;Lglk;IF)V