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
-
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, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canBeCulled
(T t) private static float
getBackwardsYaw
(Camera camera) private Quaternionf
getBillboardRotation
(DisplayEntity.RenderState renderState, ST state, Quaternionf quaternionf) protected int
getBlockLight
(T t, BlockPos blockPos) protected Box
getBoundingBox
(T t) private static int
getBrightnessOverride
(DisplayEntity entity) private static float
getNegatedPitch
(Camera camera) protected int
getSkyLight
(T t, BlockPos blockPos) private static <T extends DisplayEntity>
floatlerpPitch
(T entity, float delta) private static <T extends DisplayEntity>
floatlerpYaw
(T entity, float delta) void
render
(ST sT, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) protected abstract void
render
(ST state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float tickDelta) void
updateRenderState
(T t, ST sT, float float2) Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
createRenderState, getAndUpdateRenderState, getDisplayName, getLight, getPositionOffset, getShadowRadius, 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
Lgrd;a:Lgrn;
-
-
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>
Lgro;<init>(Lgrp$a;)V
-
-
Method Details
-
getBoundingBox
- Overrides:
getBoundingBox
in classEntityRenderer<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
- Overrides:
canBeCulled
in classEntityRenderer<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
- 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
- Overrides:
getSkyLight
in classEntityRenderer<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
- Overrides:
getBlockLight
in classEntityRenderer<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 classEntityRenderer<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
- 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
- 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
- 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
- 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
- Overrides:
updateRenderState
in classEntityRenderer<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
-