Class EntityRenderer<T extends Entity>
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
- Direct Known Subclasses:
BoatEntityRenderer
,DisplayEntityRenderer
,DragonFireballEntityRenderer
,EmptyEntityRenderer
,EndCrystalEntityRenderer
,EnderDragonEntityRenderer
,EvokerFangsEntityRenderer
,ExperienceOrbEntityRenderer
,FallingBlockEntityRenderer
,FireworkRocketEntityRenderer
,FishingBobberEntityRenderer
,FlyingItemEntityRenderer
,ItemEntityRenderer
,ItemFrameEntityRenderer
,LeashKnotEntityRenderer
,LightningEntityRenderer
,LivingEntityRenderer
,LlamaSpitEntityRenderer
,MinecartEntityRenderer
,OminousItemSpawnerEntityRenderer
,PaintingEntityRenderer
,ProjectileEntityRenderer
,ShulkerBulletEntityRenderer
,TntEntityRenderer
,TridentEntityRenderer
,WindChargeEntityRenderer
,WitherSkullEntityRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/entity/EntityRenderer
intermediary net/minecraft/class_897
official gkc
-
Field Summary
Modifier and TypeFieldDescriptionprotected final EntityRenderDispatcher
protected static final float
protected float
protected float
private final TextRenderer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getBlockLight
(T entity, BlockPos pos) final int
getPositionOffset
(T entity, float tickDelta) protected float
getShadowRadius
(T entity) protected int
getSkyLight
(T entity, BlockPos pos) abstract Identifier
getTexture
(T entity) protected boolean
Determines whether the passed entity should render with a nameplate above its head.void
render
(T entity, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) protected void
renderLabelIfPresent
(T entity, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float tickDelta) boolean
shouldRender
(T entity, Frustum frustum, double x, double y, double z)
-
Field Details
-
field_32921
protected static final float field_32921- See Also:
- Mappings:
Namespace Name Mixin selector named field_32921
Lnet/minecraft/client/render/entity/EntityRenderer;field_32921:F
intermediary field_32921
Lnet/minecraft/class_897;field_32921:F
official b
Lgkc;b:F
-
dispatcher
- Mappings:
Namespace Name Mixin selector named dispatcher
Lnet/minecraft/client/render/entity/EntityRenderer;dispatcher:Lnet/minecraft/client/render/entity/EntityRenderDispatcher;
intermediary field_4676
Lnet/minecraft/class_897;field_4676:Lnet/minecraft/class_898;
official c
Lgkc;c:Lgkb;
-
textRenderer
- Mappings:
Namespace Name Mixin selector named textRenderer
Lnet/minecraft/client/render/entity/EntityRenderer;textRenderer:Lnet/minecraft/client/font/TextRenderer;
intermediary field_27761
Lnet/minecraft/class_897;field_27761:Lnet/minecraft/class_327;
official a
Lgkc;a:Lfhr;
-
shadowRadius
protected float shadowRadius- Mappings:
Namespace Name Mixin selector named shadowRadius
Lnet/minecraft/client/render/entity/EntityRenderer;shadowRadius:F
intermediary field_4673
Lnet/minecraft/class_897;field_4673:F
official d
Lgkc;d:F
-
shadowOpacity
protected float shadowOpacity- Mappings:
Namespace Name Mixin selector named shadowOpacity
Lnet/minecraft/client/render/entity/EntityRenderer;shadowOpacity:F
intermediary field_4672
Lnet/minecraft/class_897;field_4672:F
official e
Lgkc;e:F
-
-
Constructor Details
-
EntityRenderer
- 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>
Lgkc;<init>(Lgkd$a;)V
-
-
Method Details
-
getLight
- Mappings:
Namespace Name Mixin selector named getLight
Lnet/minecraft/client/render/entity/EntityRenderer;getLight(Lnet/minecraft/entity/Entity;F)I
intermediary method_24088
Lnet/minecraft/class_897;method_24088(Lnet/minecraft/class_1297;F)I
official b
Lgkc;b(Lbsq;F)I
-
getSkyLight
- Mappings:
Namespace Name Mixin selector named getSkyLight
Lnet/minecraft/client/render/entity/EntityRenderer;getSkyLight(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)I
intermediary method_27950
Lnet/minecraft/class_897;method_27950(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)I
official b
Lgkc;b(Lbsq;Ljd;)I
-
getBlockLight
- Mappings:
Namespace Name Mixin selector named getBlockLight
Lnet/minecraft/client/render/entity/EntityRenderer;getBlockLight(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)I
intermediary method_24087
Lnet/minecraft/class_897;method_24087(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)I
official a
Lgkc;a(Lbsq;Ljd;)I
-
shouldRender
- Mappings:
Namespace Name Mixin selector named shouldRender
Lnet/minecraft/client/render/entity/EntityRenderer;shouldRender(Lnet/minecraft/entity/Entity;Lnet/minecraft/client/render/Frustum;DDD)Z
intermediary method_3933
Lnet/minecraft/class_897;method_3933(Lnet/minecraft/class_1297;Lnet/minecraft/class_4604;DDD)Z
official a
Lgkc;a(Lbsq;Lghy;DDD)Z
-
getPositionOffset
- Mappings:
Namespace Name Mixin selector named getPositionOffset
Lnet/minecraft/client/render/entity/EntityRenderer;getPositionOffset(Lnet/minecraft/entity/Entity;F)Lnet/minecraft/util/math/Vec3d;
intermediary method_23169
Lnet/minecraft/class_897;method_23169(Lnet/minecraft/class_1297;F)Lnet/minecraft/class_243;
official a
Lgkc;a(Lbsq;F)Leww;
-
render
public void render(T entity, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/EntityRenderer;render(Lnet/minecraft/entity/Entity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_3936
Lnet/minecraft/class_897;method_3936(Lnet/minecraft/class_1297;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgkc;a(Lbsq;FFLfbc;Lget;I)V
-
hasLabel
Determines whether the passed entity should render with a nameplate above its head.Checks for a custom nametag on living entities, and for teams/team visibilities for players.
- Mappings:
Namespace Name Mixin selector named hasLabel
Lnet/minecraft/client/render/entity/EntityRenderer;hasLabel(Lnet/minecraft/entity/Entity;)Z
intermediary method_3921
Lnet/minecraft/class_897;method_3921(Lnet/minecraft/class_1297;)Z
official b
Lgkc;b(Lbsq;)Z
-
getTexture
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/EntityRenderer;getTexture(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/Identifier;
intermediary method_3931
Lnet/minecraft/class_897;method_3931(Lnet/minecraft/class_1297;)Lnet/minecraft/class_2960;
official a
Lgkc;a(Lbsq;)Lakq;
-
getTextRenderer
- Mappings:
Namespace Name Mixin selector named getTextRenderer
Lnet/minecraft/client/render/entity/EntityRenderer;getTextRenderer()Lnet/minecraft/client/font/TextRenderer;
intermediary method_3932
Lnet/minecraft/class_897;method_3932()Lnet/minecraft/class_327;
official b
Lgkc;b()Lfhr;
-
renderLabelIfPresent
protected void renderLabelIfPresent(T entity, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float tickDelta) - Mappings:
Namespace Name Mixin selector named renderLabelIfPresent
Lnet/minecraft/client/render/entity/EntityRenderer;renderLabelIfPresent(Lnet/minecraft/entity/Entity;Lnet/minecraft/text/Text;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IF)V
intermediary method_3926
Lnet/minecraft/class_897;method_3926(Lnet/minecraft/class_1297;Lnet/minecraft/class_2561;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IF)V
official a
Lgkc;a(Lbsq;Lwy;Lfbc;Lget;IF)V
-
getShadowRadius
- Mappings:
Namespace Name Mixin selector named getShadowRadius
Lnet/minecraft/client/render/entity/EntityRenderer;getShadowRadius(Lnet/minecraft/entity/Entity;)F
intermediary method_55831
Lnet/minecraft/class_897;method_55831(Lnet/minecraft/class_1297;)F
official c
Lgkc;c(Lbsq;)F
-