Class PlayerEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<AbstractClientPlayerEntity,PlayerEntityRenderState>
net.minecraft.client.render.entity.LivingEntityRenderer<AbstractClientPlayerEntity,PlayerEntityRenderState,PlayerEntityModel>
net.minecraft.client.render.entity.PlayerEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<PlayerEntityRenderState,
PlayerEntityModel>
@Environment(CLIENT)
public class PlayerEntityRenderer
extends LivingEntityRenderer<AbstractClientPlayerEntity,PlayerEntityRenderState,PlayerEntityModel>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/PlayerEntityRenderer
intermediary net/minecraft/class_1007
official gww
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, itemRenderer, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static BipedEntityModel.ArmPose
getArmPose
(PlayerEntityRenderState state, PlayerEntityRenderState.HandState handState, Hand hand) static BipedEntityModel.ArmPose
getArmPose
(PlayerEntityRenderState state, Arm arm) getPositionOffset
(PlayerEntityRenderState playerEntityRenderState) private static ParrotEntity.Variant
getShoulderParrotVariant
(AbstractClientPlayerEntity player, boolean left) getTexture
(PlayerEntityRenderState playerEntityRenderState) private void
renderArm
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Identifier skinTexture, ModelPart arm, boolean sleeveVisible) protected void
renderLabelIfPresent
(PlayerEntityRenderState playerEntityRenderState, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) void
renderLeftArm
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Identifier skinTexture, boolean sleeveVisible) void
renderRightArm
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Identifier skinTexture, boolean sleeveVisible) protected void
scale
(PlayerEntityRenderState playerEntityRenderState, MatrixStack matrixStack) protected void
setupTransforms
(PlayerEntityRenderState playerEntityRenderState, MatrixStack matrixStack, float float2, float float3) protected boolean
shouldRenderFeatures
(PlayerEntityRenderState playerEntityRenderState) private static void
updateCape
(AbstractClientPlayerEntity player, PlayerEntityRenderState state, float tickDelta) private static void
updateGliding
(AbstractClientPlayerEntity player, PlayerEntityRenderState state, float tickDelta) private void
updateHandState
(AbstractClientPlayerEntity player, PlayerEntityRenderState.HandState handState, Hand hand) void
updateRenderState
(AbstractClientPlayerEntity abstractClientPlayerEntity, PlayerEntityRenderState playerEntityRenderState, float float2) Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getBoundingBox, getMixColor, getModel, getOverlay, getRenderLayer, getShadowRadius, hasLabel, isShaking, isVisible, method_3919, render, shouldFlipUpsideDown
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
canBeCulled, getAndUpdateRenderState, getBlockLight, getDisplayName, 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>
Lgww;<init>(Lgrp$a;Z)V
-
-
Method Details
-
shouldRenderFeatures
- Overrides:
shouldRenderFeatures
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityRenderState, PlayerEntityModel> - Mappings:
Namespace Name Mixin selector named shouldRenderFeatures
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;shouldRenderFeatures(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;)Z
intermediary method_62606
Lnet/minecraft/class_1007;method_62606(Lnet/minecraft/class_10055;)Z
official a
Lgww;a(Lgzf;)Z
-
getPositionOffset
- Overrides:
getPositionOffset
in classEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityRenderState> - Mappings:
Namespace Name Mixin selector named getPositionOffset
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getPositionOffset(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;)Lnet/minecraft/util/math/Vec3d;
intermediary method_23206
Lnet/minecraft/class_1007;method_23206(Lnet/minecraft/class_10055;)Lnet/minecraft/class_243;
official b
Lgww;b(Lgzf;)Lfbx;
-
getArmPose
- Mappings:
Namespace Name Mixin selector named getArmPose
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getArmPose(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;Lnet/minecraft/util/Arm;)Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
intermediary method_64258
Lnet/minecraft/class_1007;method_64258(Lnet/minecraft/class_10055;Lnet/minecraft/class_1306;)Lnet/minecraft/class_572$class_573;
official a
Lgww;a(Lgzf;Lbvz;)Lgby$a;
-
getArmPose
private static BipedEntityModel.ArmPose getArmPose(PlayerEntityRenderState state, PlayerEntityRenderState.HandState handState, Hand hand) - Mappings:
Namespace Name Mixin selector named getArmPose
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getArmPose(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState$HandState;Lnet/minecraft/util/Hand;)Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
intermediary method_4210
Lnet/minecraft/class_1007;method_4210(Lnet/minecraft/class_10055;Lnet/minecraft/class_10055$class_10056;Lnet/minecraft/class_1268;)Lnet/minecraft/class_572$class_573;
official a
Lgww;a(Lgzf;Lgzf$a;Lbth;)Lgby$a;
-
getTexture
- Specified by:
getTexture
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityRenderState, PlayerEntityModel> - Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getTexture(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;)Lnet/minecraft/util/Identifier;
intermediary method_4216
Lnet/minecraft/class_1007;method_4216(Lnet/minecraft/class_10055;)Lnet/minecraft/class_2960;
official c
Lgww;c(Lgzf;)Lalz;
-
scale
- Overrides:
scale
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityRenderState, PlayerEntityModel> - Mappings:
Namespace Name Mixin selector named scale
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;scale(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;)V
intermediary method_4217
Lnet/minecraft/class_1007;method_4217(Lnet/minecraft/class_10055;Lnet/minecraft/class_4587;)V
official a
Lgww;a(Lgzf;Lfgr;)V
-
renderLabelIfPresent
protected void renderLabelIfPresent(PlayerEntityRenderState playerEntityRenderState, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
renderLabelIfPresent
in classEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityRenderState> - Mappings:
Namespace Name Mixin selector named renderLabelIfPresent
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;renderLabelIfPresent(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;Lnet/minecraft/text/Text;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_4213
Lnet/minecraft/class_1007;method_4213(Lnet/minecraft/class_10055;Lnet/minecraft/class_2561;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgww;a(Lgzf;Lxv;Lfgr;Lglk;I)V
-
createRenderState
- Specified by:
createRenderState
in classEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityRenderState> - Mappings:
Namespace Name Mixin selector named createRenderState
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;
intermediary method_62608
Lnet/minecraft/class_1007;method_62608()Lnet/minecraft/class_10055;
official b
Lgww;b()Lgzf;
-
updateRenderState
public void updateRenderState(AbstractClientPlayerEntity abstractClientPlayerEntity, PlayerEntityRenderState playerEntityRenderState, float float2) - Overrides:
updateRenderState
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityRenderState, PlayerEntityModel> - Mappings:
Namespace Name Mixin selector named updateRenderState
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;updateRenderState(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;F)V
intermediary method_62604
Lnet/minecraft/class_1007;method_62604(Lnet/minecraft/class_742;Lnet/minecraft/class_10055;F)V
official a
Lgww;a(Lgkd;Lgzf;F)V
-
updateGliding
private static void updateGliding(AbstractClientPlayerEntity player, PlayerEntityRenderState state, float tickDelta) - Mappings:
Namespace Name Mixin selector named updateGliding
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;updateGliding(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;F)V
intermediary method_62607
Lnet/minecraft/class_1007;method_62607(Lnet/minecraft/class_742;Lnet/minecraft/class_10055;F)V
official b
Lgww;b(Lgkd;Lgzf;F)V
-
updateHandState
private void updateHandState(AbstractClientPlayerEntity player, PlayerEntityRenderState.HandState handState, Hand hand) - Mappings:
Namespace Name Mixin selector named updateHandState
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;updateHandState(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState$HandState;Lnet/minecraft/util/Hand;)V
intermediary method_62603
Lnet/minecraft/class_1007;method_62603(Lnet/minecraft/class_742;Lnet/minecraft/class_10055$class_10056;Lnet/minecraft/class_1268;)V
official a
Lgww;a(Lgkd;Lgzf$a;Lbth;)V
-
updateCape
private static void updateCape(AbstractClientPlayerEntity player, PlayerEntityRenderState state, float tickDelta) - Mappings:
Namespace Name Mixin selector named updateCape
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;updateCape(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;F)V
intermediary method_62609
Lnet/minecraft/class_1007;method_62609(Lnet/minecraft/class_742;Lnet/minecraft/class_10055;F)V
official c
Lgww;c(Lgkd;Lgzf;F)V
-
getShoulderParrotVariant
@Nullable private static ParrotEntity.Variant getShoulderParrotVariant(AbstractClientPlayerEntity player, boolean left) - Mappings:
Namespace Name Mixin selector named getShoulderParrotVariant
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;getShoulderParrotVariant(Lnet/minecraft/client/network/AbstractClientPlayerEntity;Z)Lnet/minecraft/entity/passive/ParrotEntity$Variant;
intermediary method_62605
Lnet/minecraft/class_1007;method_62605(Lnet/minecraft/class_742;Z)Lnet/minecraft/class_1453$class_7989;
official a
Lgww;a(Lgkd;Z)Lcim$b;
-
renderRightArm
public void renderRightArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Identifier skinTexture, boolean sleeveVisible) - 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/util/Identifier;Z)V
intermediary method_4220
Lnet/minecraft/class_1007;method_4220(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_2960;Z)V
official a
Lgww;a(Lfgr;Lglk;ILalz;Z)V
-
renderLeftArm
public void renderLeftArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Identifier skinTexture, boolean sleeveVisible) - 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/util/Identifier;Z)V
intermediary method_4221
Lnet/minecraft/class_1007;method_4221(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_2960;Z)V
official b
Lgww;b(Lfgr;Lglk;ILalz;Z)V
-
renderArm
private void renderArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Identifier skinTexture, ModelPart arm, boolean sleeveVisible) - 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/util/Identifier;Lnet/minecraft/client/model/ModelPart;Z)V
intermediary method_23205
Lnet/minecraft/class_1007;method_23205(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_2960;Lnet/minecraft/class_630;Z)V
official a
Lgww;a(Lfgr;Lglk;ILalz;Lgen;Z)V
-
setupTransforms
protected void setupTransforms(PlayerEntityRenderState playerEntityRenderState, MatrixStack matrixStack, float float2, float float3) - Overrides:
setupTransforms
in classLivingEntityRenderer<AbstractClientPlayerEntity,
PlayerEntityRenderState, PlayerEntityModel> - Mappings:
Namespace Name Mixin selector named setupTransforms
Lnet/minecraft/client/render/entity/PlayerEntityRenderer;setupTransforms(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;FF)V
intermediary method_4212
Lnet/minecraft/class_1007;method_4212(Lnet/minecraft/class_10055;Lnet/minecraft/class_4587;FF)V
official a
Lgww;a(Lgzf;Lfgr;FF)V
-