Class PlayerEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<AbstractClientPlayerEntity>
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 named net/minecraft/client/render/entity/PlayerEntityRenderer
intermediary net/minecraft/class_1007
official goe
-
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, float float2) 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, float float5) Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, getShadowRadius, 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 named <init>
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Z)V
intermediary <init>
Lnet/minecraft/class_1007;<init>(Lnet/minecraft/class_5617$class_5618;Z)V
official <init>
Lgoe;<init>(Lgiz$a;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 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
intermediary method_4215
Lnet/minecraft/class_1007;method_4215(Lnet/minecraft/class_742;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgoe;a(Lgcp;FFLfaa;Lgdq;I)V
-
getPositionOffset
- Overrides:
getPositionOffset
in classEntityRenderer<AbstractClientPlayerEntity>
- Mappings:
Namespace Name Mixin selector named getPositionOffset
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getPositionOffset(Lnet/minecraft/client/network/AbstractClientPlayerEntity;F)Lnet/minecraft/util/math/Vec3d;
intermediary method_23206
Lnet/minecraft/class_1007;method_23206(Lnet/minecraft/class_742;F)Lnet/minecraft/class_243;
official a
Lgoe;a(Lgcp;F)Levt;
-
setModelPose
- Mappings:
Namespace Name Mixin selector named setModelPose
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;setModelPose(Lnet/minecraft/client/network/AbstractClientPlayerEntity;)V
intermediary method_4218
Lnet/minecraft/class_1007;method_4218(Lnet/minecraft/class_742;)V
official b
Lgoe;b(Lgcp;)V
-
getArmPose
- Mappings:
Namespace Name Mixin selector 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;
intermediary method_4210
Lnet/minecraft/class_1007;method_4210(Lnet/minecraft/class_742;Lnet/minecraft/class_1268;)Lnet/minecraft/class_572$class_573;
official a
Lgoe;a(Lgcp;Lbqv;)Lfup$a;
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<AbstractClientPlayerEntity,
PlayerEntityModel<AbstractClientPlayerEntity>> - Specified by:
getTexture
in classEntityRenderer<AbstractClientPlayerEntity>
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getTexture(Lnet/minecraft/client/network/AbstractClientPlayerEntity;)Lnet/minecraft/util/Identifier;
intermediary method_4216
Lnet/minecraft/class_1007;method_4216(Lnet/minecraft/class_742;)Lnet/minecraft/class_2960;
official a
Lgoe;a(Lgcp;)Lalf;
-
scale
protected void scale(AbstractClientPlayerEntity abstractClientPlayerEntity, MatrixStack matrixStack, float float2) - Overrides:
scale
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityModel<AbstractClientPlayerEntity>> - Mappings:
Namespace Name Mixin selector named scale
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;scale(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/util/math/MatrixStack;F)V
intermediary method_4217
Lnet/minecraft/class_1007;method_4217(Lnet/minecraft/class_742;Lnet/minecraft/class_4587;F)V
official a
Lgoe;a(Lgcp;Lfaa;F)V
-
renderLabelIfPresent
protected void renderLabelIfPresent(AbstractClientPlayerEntity abstractClientPlayerEntity, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, float float2) - Overrides:
renderLabelIfPresent
in classEntityRenderer<AbstractClientPlayerEntity>
- Mappings:
Namespace Name Mixin selector 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;IF)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;IF)V
official a
Lgoe;a(Lgcp;Lxp;Lfaa;Lgdq;IF)V
-
renderRightArm
public void renderRightArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player) - Mappings:
Namespace Name Mixin selector 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
intermediary method_4220
Lnet/minecraft/class_1007;method_4220(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_742;)V
official a
Lgoe;a(Lfaa;Lgdq;ILgcp;)V
-
renderLeftArm
public void renderLeftArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player) - Mappings:
Namespace Name Mixin selector 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
intermediary method_4221
Lnet/minecraft/class_1007;method_4221(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_742;)V
official b
Lgoe;b(Lfaa;Lgdq;ILgcp;)V
-
renderArm
private void renderArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, AbstractClientPlayerEntity player, ModelPart arm, ModelPart sleeve) - Mappings:
Namespace Name Mixin selector 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
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
official a
Lgoe;a(Lfaa;Lgdq;ILgcp;Lfxc;Lfxc;)V
-
setupTransforms
protected void setupTransforms(AbstractClientPlayerEntity abstractClientPlayerEntity, MatrixStack matrixStack, float float2, float float3, float float4, float float5) - Overrides:
setupTransforms
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityModel<AbstractClientPlayerEntity>> - Mappings:
Namespace Name Mixin selector named setupTransforms
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;setupTransforms(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/util/math/MatrixStack;FFFF)V
intermediary method_4212
Lnet/minecraft/class_1007;method_4212(Lnet/minecraft/class_742;Lnet/minecraft/class_4587;FFFF)V
official a
Lgoe;a(Lgcp;Lfaa;FFFF)V
-