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 official fob
intermediary net/minecraft/class_8138
named net/minecraft/client/render/entity/DisplayEntityRenderer
-
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 Quaternionf
getBillboardRotation
(DisplayEntity.RenderState renderState, T entity) protected abstract S
getTexture
(T t) 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, getSkyLight, getTextRenderer, hasLabel, renderLabelIfPresent, shouldRender
-
Field Details
-
renderDispatcher
- Mappings:
Namespace Name Mixin selector official a
Lfob;a:Lfok;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lfol;<init>(Lfom$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
- Specified by:
getTexture
in classEntityRenderer<T extends DisplayEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfob;a(Lbfg;)Lacq;
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 classEntityRenderer<T extends DisplayEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfob;a(Lbfg;FFLeib;Lfjm;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
- Mappings:
Namespace Name Mixin selector official a
Lfob;a(Lbfg$j;Lbfg;)Lorg/joml/Quaternionf;
intermediary method_49053
Lnet/minecraft/class_8138;method_49053(Lnet/minecraft/class_8113$class_8229;Lnet/minecraft/class_8113;)Lorg/joml/Quaternionf;
named getBillboardRotation
Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getBillboardRotation(Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;Lnet/minecraft/entity/decoration/DisplayEntity;)Lorg/joml/Quaternionf;
-
getData
- Mappings:
Namespace Name Mixin selector official b
Lfob;b(Lbfg;)Ljava/lang/Object;
intermediary method_49921
Lnet/minecraft/class_8138;method_49921(Lnet/minecraft/class_8113;)Ljava/lang/Object;
named getData
Lnet/minecraft/client/render/entity/DisplayEntityRenderer;getData(Lnet/minecraft/entity/decoration/DisplayEntity;)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 official a
Lfob;a(Lbfg;Ljava/lang/Object;Leib;Lfjm;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
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
-