Class DisplayEntityRenderer<T extends DisplayEntity,S>
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.DisplayEntityRenderer<T,S>
- Direct Known Subclasses:
DisplayEntityRenderer.BlockDisplayEntityRenderer
,DisplayEntityRenderer.ItemDisplayEntityRenderer
,DisplayEntityRenderer.TextDisplayEntityRenderer
@Environment(CLIENT)
public abstract class DisplayEntityRenderer<T extends DisplayEntity,S>
extends EntityRenderer<T>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/DisplayEntityRenderer
intermediary net/minecraft/class_8138
official gio
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static float
getBackwardsYaw
(Camera camera) private Quaternionf
getBillboardRotation
(DisplayEntity.RenderState renderState, T entity, float yaw, Quaternionf rotation) protected abstract S
private static float
getNegatedPitch
(Camera camera) getTexture
(T t) private static <T extends DisplayEntity>
floatlerpPitch
(T entity, float delta) private static <T extends DisplayEntity>
floatlerpYaw
(T entity, float delta) void
render
(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) protected abstract void
render
(T entity, S data, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int brightness, float lerpProgress) Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getLight, getPositionOffset, getShadowRadius, getSkyLight, getTextRenderer, hasLabel, renderLabelIfPresent, shouldRender
-
Field Details
-
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
Lgio;a:Lgix;
-
-
Constructor Details
-
DisplayEntityRenderer
- 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>
Lgiy;<init>(Lgiz$a;)V
-
-
Method Details
-
getTexture
- Specified by:
getTexture
in classEntityRenderer<T extends DisplayEntity>
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getTexture(Lnet/minecraft/entity/decoration/DisplayEntity;)Lnet/minecraft/util/Identifier;
intermediary method_49050
Lnet/minecraft/class_8138;method_49050(Lnet/minecraft/class_8113;)Lnet/minecraft/class_2960;
official a
Lgio;a(Lbsv;)Lalf;
-
render
public void render(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
render
in classEntityRenderer<T extends DisplayEntity>
- Mappings:
Namespace Name Mixin selector 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
intermediary method_49051
Lnet/minecraft/class_8138;method_49051(Lnet/minecraft/class_8113;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgio;a(Lbsv;FFLfaa;Lgdq;I)V
-
getBillboardRotation
private Quaternionf getBillboardRotation(DisplayEntity.RenderState renderState, T entity, float yaw, Quaternionf rotation) - Mappings:
Namespace Name Mixin selector named getBillboardRotation
Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getBillboardRotation(Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;Lnet/minecraft/entity/decoration/DisplayEntity;FLorg/joml/Quaternionf;)Lorg/joml/Quaternionf;
intermediary method_49053
Lnet/minecraft/class_8138;method_49053(Lnet/minecraft/class_8113$class_8229;Lnet/minecraft/class_8113;FLorg/joml/Quaternionf;)Lorg/joml/Quaternionf;
official a
Lgio;a(Lbsv$k;Lbsv;FLorg/joml/Quaternionf;)Lorg/joml/Quaternionf;
-
getBackwardsYaw
- 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
Lgio;a(Lfes;)F
-
getNegatedPitch
- 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
Lgio;b(Lfes;)F
-
lerpYaw
- 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
Lgio;a(Lbsv;F)F
-
lerpPitch
- 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
Lgio;b(Lbsv;F)F
-
getData
- Mappings:
Namespace Name Mixin selector named getData
Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getData(Lnet/minecraft/entity/decoration/DisplayEntity;)Ljava/lang/Object;
intermediary method_49921
Lnet/minecraft/class_8138;method_49921(Lnet/minecraft/class_8113;)Ljava/lang/Object;
official b
Lgio;b(Lbsv;)Ljava/lang/Object;
-
render
protected abstract void render(T entity, S data, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int brightness, float lerpProgress) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/DisplayEntityRenderer;render(Lnet/minecraft/entity/decoration/DisplayEntity;Ljava/lang/Object;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_8113;Ljava/lang/Object;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IF)V
official a
Lgio;a(Lbsv;Ljava/lang/Object;Lfaa;Lgdq;IF)V
-