Class DisplayEntityRenderer<T extends DisplayEntity,S,ST extends DisplayEntityRenderState>

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

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

    • renderDispatcher

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

    • DisplayEntityRenderer

      protected DisplayEntityRenderer(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

    • getBoundingBox

      protected Box getBoundingBox(T t)
      Overrides:
      getBoundingBox in class EntityRenderer<T extends DisplayEntity,ST extends DisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named getBoundingBox Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getBoundingBox(Lnet/minecraft/entity/decoration/DisplayEntity;)Lnet/minecraft/util/math/Box;
      intermediary method_62403 Lnet/minecraft/class_8138;method_62403(Lnet/minecraft/class_8113;)Lnet/minecraft/class_238;
      official a Lgrd;a(Lbvh;)Lfbs;
    • canBeCulled

      protected boolean canBeCulled(T t)
      Overrides:
      canBeCulled in class EntityRenderer<T extends DisplayEntity,ST extends DisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named canBeCulled Lnet/minecraft/client/render/entity/DisplayEntityRenderer;canBeCulled(Lnet/minecraft/entity/decoration/DisplayEntity;)Z
      intermediary method_62405 Lnet/minecraft/class_8138;method_62405(Lnet/minecraft/class_8113;)Z
      official b Lgrd;b(Lbvh;)Z
    • getBrightnessOverride

      private static int getBrightnessOverride(DisplayEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named getBrightnessOverride Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getBrightnessOverride(Lnet/minecraft/entity/decoration/DisplayEntity;)I
      intermediary method_63531 Lnet/minecraft/class_8138;method_63531(Lnet/minecraft/class_8113;)I
      official c Lgrd;c(Lbvh;)I
    • getSkyLight

      protected int getSkyLight(T t, BlockPos blockPos)
      Overrides:
      getSkyLight in class EntityRenderer<T extends DisplayEntity,ST extends DisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named getSkyLight Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getSkyLight(Lnet/minecraft/entity/decoration/DisplayEntity;Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_63529 Lnet/minecraft/class_8138;method_63529(Lnet/minecraft/class_8113;Lnet/minecraft/class_2338;)I
      official a Lgrd;a(Lbvh;Ljh;)I
    • getBlockLight

      protected int getBlockLight(T t, BlockPos blockPos)
      Overrides:
      getBlockLight in class EntityRenderer<T extends DisplayEntity,ST extends DisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named getBlockLight Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getBlockLight(Lnet/minecraft/entity/decoration/DisplayEntity;Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_63530 Lnet/minecraft/class_8138;method_63530(Lnet/minecraft/class_8113;Lnet/minecraft/class_2338;)I
      official b Lgrd;b(Lbvh;Ljh;)I
    • render

      public void render(ST sT, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<T extends DisplayEntity,ST extends DisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/DisplayEntityRenderer;render(Lnet/minecraft/client/render/entity/state/DisplayEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_49051 Lnet/minecraft/class_8138;method_49051(Lnet/minecraft/class_10011;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgrd;a(Lgxo;Lfgr;Lglk;I)V
    • getBillboardRotation

      private Quaternionf getBillboardRotation(DisplayEntity.RenderState renderState, ST state, Quaternionf quaternionf)
      Mappings:
      Namespace Name Mixin selector
      named getBillboardRotation Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getBillboardRotation(Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;Lnet/minecraft/client/render/entity/state/DisplayEntityRenderState;Lorg/joml/Quaternionf;)Lorg/joml/Quaternionf;
      intermediary method_49053 Lnet/minecraft/class_8138;method_49053(Lnet/minecraft/class_8113$class_8229;Lnet/minecraft/class_10011;Lorg/joml/Quaternionf;)Lorg/joml/Quaternionf;
      official a Lgrd;a(Lbvh$k;Lgxo;Lorg/joml/Quaternionf;)Lorg/joml/Quaternionf;
    • getBackwardsYaw

      private static float getBackwardsYaw(Camera camera)
      Mappings:
      Namespace Name Mixin selector
      named getBackwardsYaw Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getBackwardsYaw(Lnet/minecraft/client/render/Camera;)F
      intermediary method_52845 Lnet/minecraft/class_8138;method_52845(Lnet/minecraft/class_4184;)F
      official a Lgrd;a(Lflo;)F
    • getNegatedPitch

      private static float getNegatedPitch(Camera camera)
      Mappings:
      Namespace Name Mixin selector
      named getNegatedPitch Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getNegatedPitch(Lnet/minecraft/client/render/Camera;)F
      intermediary method_52847 Lnet/minecraft/class_8138;method_52847(Lnet/minecraft/class_4184;)F
      official b Lgrd;b(Lflo;)F
    • lerpYaw

      private static <T extends DisplayEntity> float lerpYaw(T entity, float delta)
      Mappings:
      Namespace Name Mixin selector
      named lerpYaw Lnet/minecraft/client/render/entity/DisplayEntityRenderer;lerpYaw(Lnet/minecraft/entity/decoration/DisplayEntity;F)F
      intermediary method_52844 Lnet/minecraft/class_8138;method_52844(Lnet/minecraft/class_8113;F)F
      official a Lgrd;a(Lbvh;F)F
    • lerpPitch

      private static <T extends DisplayEntity> float lerpPitch(T entity, float delta)
      Mappings:
      Namespace Name Mixin selector
      named lerpPitch Lnet/minecraft/client/render/entity/DisplayEntityRenderer;lerpPitch(Lnet/minecraft/entity/decoration/DisplayEntity;F)F
      intermediary method_52846 Lnet/minecraft/class_8138;method_52846(Lnet/minecraft/class_8113;F)F
      official b Lgrd;b(Lbvh;F)F
    • render

      protected abstract void render(ST state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/DisplayEntityRenderer;render(Lnet/minecraft/client/render/entity/state/DisplayEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IF)V
      intermediary method_49052 Lnet/minecraft/class_8138;method_49052(Lnet/minecraft/class_10011;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IF)V
      official a Lgrd;a(Lgxo;Lfgr;Lglk;IF)V
    • updateRenderState

      public void updateRenderState(T t, ST sT, float float2)
      Overrides:
      updateRenderState in class EntityRenderer<T extends DisplayEntity,ST extends DisplayEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named updateRenderState Lnet/minecraft/client/render/entity/DisplayEntityRenderer;updateRenderState(Lnet/minecraft/entity/decoration/DisplayEntity;Lnet/minecraft/client/render/entity/state/DisplayEntityRenderState;F)V
      intermediary method_62404 Lnet/minecraft/class_8138;method_62404(Lnet/minecraft/class_8113;Lnet/minecraft/class_10011;F)V
      official a Lgrd;a(Lbvh;Lgxo;F)V