Class PlayerEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<AbstractClientPlayerEntity,PlayerEntityModel<AbstractClientPlayerEntity>>
net.minecraft.client.render.entity.PlayerEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<AbstractClientPlayerEntity,
PlayerEntityModel<AbstractClientPlayerEntity>>
@Environment(CLIENT)
public class PlayerEntityRenderer
extends LivingEntityRenderer<AbstractClientPlayerEntity,PlayerEntityModel<AbstractClientPlayerEntity>>
- Mappings:
Namespace Name official eyy
intermediary net/minecraft/class_1007
named net/minecraft/client/render/entity/PlayerEntityRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static BipedEntityModel.ArmPose
getArmPose
(AbstractClientPlayerEntity player, Hand hand) getPositionOffset
(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2) getTexture
(AbstractClientPlayerEntity abstractClientPlayerEntity) void
render
(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) private void
renderArm
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player, ModelPart arm, ModelPart sleeve) protected void
renderLabelIfPresent
(AbstractClientPlayerEntity abstractClientPlayerEntity, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) void
renderLeftArm
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player) void
renderRightArm
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player) protected void
scale
(AbstractClientPlayerEntity abstractClientPlayerEntity, MatrixStack matrixStack, float float2) private void
protected void
setupTransforms
(AbstractClientPlayerEntity abstractClientPlayerEntity, MatrixStack matrixStack, float float2, float float3, float float4) Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, hasLabel, isShaking, isVisible, shouldFlipUpsideDown
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getLight, getSkyLight, getTextRenderer, shouldRender
-
Constructor Details
-
PlayerEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Leyy;<init>(Leud$a;Z)V
intermediary <init>
Lnet/minecraft/class_1007;<init>(Lnet/minecraft/class_5617$class_5618;Z)V
named <init>
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Z)V
-
-
Method Details
-
render
public void render(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
render
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityModel<AbstractClientPlayerEntity>> - Mappings:
Namespace Name Mixin selector official a
Leyy;a(Leom;FFLdsj;Lepl;I)V
intermediary method_4215
Lnet/minecraft/class_1007;method_4215(Lnet/minecraft/class_742;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named render
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;render(Lnet/minecraft/client/network/AbstractClientPlayerEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
getPositionOffset
- Overrides:
getPositionOffset
in classEntityRenderer<AbstractClientPlayerEntity>
- Mappings:
Namespace Name Mixin selector official a
Leyy;a(Leom;F)Ldom;
intermediary method_23206
Lnet/minecraft/class_1007;method_23206(Lnet/minecraft/class_742;F)Lnet/minecraft/class_243;
named getPositionOffset
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getPositionOffset(Lnet/minecraft/client/network/AbstractClientPlayerEntity;F)Lnet/minecraft/util/math/Vec3d;
-
setModelPose
- Mappings:
Namespace Name Mixin selector official b
Leyy;b(Leom;)V
intermediary method_4218
Lnet/minecraft/class_1007;method_4218(Lnet/minecraft/class_742;)V
named setModelPose
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;setModelPose(Lnet/minecraft/client/network/AbstractClientPlayerEntity;)V
-
getArmPose
- Mappings:
Namespace Name Mixin selector official a
Leyy;a(Leom;Lavp;)Leio$a;
intermediary method_4210
Lnet/minecraft/class_1007;method_4210(Lnet/minecraft/class_742;Lnet/minecraft/class_1268;)Lnet/minecraft/class_572$class_573;
named getArmPose
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getArmPose(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<AbstractClientPlayerEntity,
PlayerEntityModel<AbstractClientPlayerEntity>> - Specified by:
getTexture
in classEntityRenderer<AbstractClientPlayerEntity>
- Mappings:
Namespace Name Mixin selector official a
Leyy;a(Leom;)Lyh;
intermediary method_4216
Lnet/minecraft/class_1007;method_4216(Lnet/minecraft/class_742;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getTexture(Lnet/minecraft/client/network/AbstractClientPlayerEntity;)Lnet/minecraft/util/Identifier;
-
scale
protected void scale(AbstractClientPlayerEntity abstractClientPlayerEntity, MatrixStack matrixStack, float float2) - Overrides:
scale
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityModel<AbstractClientPlayerEntity>> - Mappings:
Namespace Name Mixin selector official a
Leyy;a(Leom;Ldsj;F)V
intermediary method_4217
Lnet/minecraft/class_1007;method_4217(Lnet/minecraft/class_742;Lnet/minecraft/class_4587;F)V
named scale
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;scale(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/util/math/MatrixStack;F)V
-
renderLabelIfPresent
protected void renderLabelIfPresent(AbstractClientPlayerEntity abstractClientPlayerEntity, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
renderLabelIfPresent
in classEntityRenderer<AbstractClientPlayerEntity>
- Mappings:
Namespace Name Mixin selector official a
Leyy;a(Leom;Lpz;Ldsj;Lepl;I)V
intermediary method_4213
Lnet/minecraft/class_1007;method_4213(Lnet/minecraft/class_742;Lnet/minecraft/class_2561;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named renderLabelIfPresent
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;renderLabelIfPresent(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/text/Text;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
renderRightArm
public void renderRightArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player) - Mappings:
Namespace Name Mixin selector official a
Leyy;a(Ldsj;Lepl;ILeom;)V
intermediary method_4220
Lnet/minecraft/class_1007;method_4220(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_742;)V
named renderRightArm
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;renderRightArm(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/network/AbstractClientPlayerEntity;)V
-
renderLeftArm
public void renderLeftArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player) - Mappings:
Namespace Name Mixin selector official b
Leyy;b(Ldsj;Lepl;ILeom;)V
intermediary method_4221
Lnet/minecraft/class_1007;method_4221(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_742;)V
named renderLeftArm
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;renderLeftArm(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/network/AbstractClientPlayerEntity;)V
-
renderArm
private void renderArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player, ModelPart arm, ModelPart sleeve) - Mappings:
Namespace Name Mixin selector official a
Leyy;a(Ldsj;Lepl;ILeom;Leku;Leku;)V
intermediary method_23205
Lnet/minecraft/class_1007;method_23205(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_742;Lnet/minecraft/class_630;Lnet/minecraft/class_630;)V
named renderArm
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;renderArm(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/model/ModelPart;)V
-
setupTransforms
protected void setupTransforms(AbstractClientPlayerEntity abstractClientPlayerEntity, MatrixStack matrixStack, float float2, float float3, float float4) - Overrides:
setupTransforms
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityModel<AbstractClientPlayerEntity>> - Mappings:
Namespace Name Mixin selector official a
Leyy;a(Leom;Ldsj;FFF)V
intermediary method_4212
Lnet/minecraft/class_1007;method_4212(Lnet/minecraft/class_742;Lnet/minecraft/class_4587;FFF)V
named setupTransforms
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;setupTransforms(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/util/math/MatrixStack;FFF)V
-