Class DisplayEntityRenderer<T extends DisplayEntity>

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.DisplayEntityRenderer<T>
Direct Known Subclasses:
DisplayEntityRenderer.BlockDisplayEntityRenderer, DisplayEntityRenderer.ItemDisplayEntityRenderer, DisplayEntityRenderer.TextDisplayEntityRenderer

@Environment(CLIENT) public abstract class DisplayEntityRenderer<T extends DisplayEntity> extends EntityRenderer<T>
Mappings:
Namespace Name
official fmt
intermediary net/minecraft/class_8138
named net/minecraft/client/render/entity/DisplayEntityRenderer
  • Field Details

    • field_42524

      private static final float field_42524
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfmt;a:F
      intermediary field_42524 Lnet/minecraft/class_8138;field_42524:F
      named field_42524 Lnet/minecraft/client/render/entity/DisplayEntityRenderer;field_42524:F
    • renderDispatcher

      private final EntityRenderDispatcher renderDispatcher
      Mappings:
      Namespace Name Mixin selector
      official f Lfmt;f:Lfnc;
      intermediary field_42525 Lnet/minecraft/class_8138;field_42525:Lnet/minecraft/class_898;
      named renderDispatcher Lnet/minecraft/client/render/entity/DisplayEntityRenderer;renderDispatcher:Lnet/minecraft/client/render/entity/EntityRenderDispatcher;
  • Constructor Details

    • DisplayEntityRenderer

      protected DisplayEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfnd;<init>(Lfne$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

    • getTexture

      public Identifier getTexture(T t)
      Specified by:
      getTexture in class EntityRenderer<T extends DisplayEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfmt;a(Lbfg;)Ladd;
      intermediary method_49050 Lnet/minecraft/class_8138;method_49050(Lnet/minecraft/class_8113;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getTexture(Lnet/minecraft/entity/decoration/DisplayEntity;)Lnet/minecraft/util/Identifier;
    • render

      public void render(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<T extends DisplayEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfmt;a(Lbfg;FFLehe;Lfig;I)V
      intermediary method_49051 Lnet/minecraft/class_8138;method_49051(Lnet/minecraft/class_8113;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/DisplayEntityRenderer;render(Lnet/minecraft/entity/decoration/DisplayEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • getBillboardRotation

      private Quaternionf getBillboardRotation(T display)
      Mappings:
      Namespace Name Mixin selector
      official b Lfmt;b(Lbfg;)Lorg/joml/Quaternionf;
      intermediary method_49053 Lnet/minecraft/class_8138;method_49053(Lnet/minecraft/class_8113;)Lorg/joml/Quaternionf;
      named getBillboardRotation Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getBillboardRotation(Lnet/minecraft/entity/decoration/DisplayEntity;)Lorg/joml/Quaternionf;
    • render

      protected abstract void render(T entity, MatrixStack matrices, VertexConsumerProvider vertices, int light, float delta)
      Mappings:
      Namespace Name Mixin selector
      official a Lfmt;a(Lbfg;Lehe;Lfig;IF)V
      intermediary method_49052 Lnet/minecraft/class_8138;method_49052(Lnet/minecraft/class_8113;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IF)V
      named render Lnet/minecraft/client/render/entity/DisplayEntityRenderer;render(Lnet/minecraft/entity/decoration/DisplayEntity;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IF)V