Class PlayerEntityRenderer

All Implemented Interfaces:
FeatureRendererContext<AbstractClientPlayerEntity,PlayerEntityModel<AbstractClientPlayerEntity>>

Mappings:
Namespace Name
named net/minecraft/client/render/entity/PlayerEntityRenderer
intermediary net/minecraft/class_1007
official goe
  • Constructor Details

    • PlayerEntityRenderer

      public PlayerEntityRenderer(EntityRendererFactory.Context ctx, boolean slim)
      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 class LivingEntityRenderer<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

      public Vec3d getPositionOffset(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2)
      Overrides:
      getPositionOffset in class EntityRenderer<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

      private void setModelPose(AbstractClientPlayerEntity player)
      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

      private static BipedEntityModel.ArmPose getArmPose(AbstractClientPlayerEntity player, Hand hand)
      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

      public Identifier getTexture(AbstractClientPlayerEntity abstractClientPlayerEntity)
      Specified by:
      getTexture in interface FeatureRendererContext<AbstractClientPlayerEntity,PlayerEntityModel<AbstractClientPlayerEntity>>
      Specified by:
      getTexture in class EntityRenderer<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 class LivingEntityRenderer<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 class EntityRenderer<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 class LivingEntityRenderer<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