Class DisplayEntityRenderer.TextDisplayEntityRenderer

Enclosing class:
DisplayEntityRenderer<T extends DisplayEntity,S>

@Environment(CLIENT) public static class DisplayEntityRenderer.TextDisplayEntityRenderer extends DisplayEntityRenderer<DisplayEntity.TextDisplayEntity,DisplayEntity.TextDisplayEntity.Data>
Mappings:
Namespace Name
official fsw$c
intermediary net/minecraft/class_8138$class_8141
named net/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer
  • Field Details

    • displayTextRenderer

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

    • TextDisplayEntityRenderer

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

    • getLines

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

      @Nullable protected DisplayEntity.TextDisplayEntity.Data getData(DisplayEntity.TextDisplayEntity textDisplayEntity)
      Specified by:
      getData in class DisplayEntityRenderer<DisplayEntity.TextDisplayEntity,DisplayEntity.TextDisplayEntity.Data>
      Mappings:
      Namespace Name Mixin selector
      official a Lfsw$c;a(Lbip$l;)Lbip$l$e;
      intermediary method_49924 Lnet/minecraft/class_8138$class_8141;method_49924(Lnet/minecraft/class_8113$class_8123;)Lnet/minecraft/class_8113$class_8123$class_8230;
      named getData Lnet/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer;getData(Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;)Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$Data;
    • render

      public void render(DisplayEntity.TextDisplayEntity textDisplayEntity, DisplayEntity.TextDisplayEntity.Data data, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, float float2)
      Specified by:
      render in class DisplayEntityRenderer<DisplayEntity.TextDisplayEntity,DisplayEntity.TextDisplayEntity.Data>
      Mappings:
      Namespace Name Mixin selector
      official a Lfsw$c;a(Lbip$l;Lbip$l$e;Lelp;Lfoe;IF)V
      intermediary method_49056 Lnet/minecraft/class_8138$class_8141;method_49056(Lnet/minecraft/class_8113$class_8123;Lnet/minecraft/class_8113$class_8123$class_8230;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IF)V
      named render Lnet/minecraft/client/render/entity/DisplayEntityRenderer$TextDisplayEntityRenderer;render(Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity;Lnet/minecraft/entity/decoration/DisplayEntity$TextDisplayEntity$Data;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IF)V