Class PlayerEntityRenderer

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

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

    • PlayerEntityRenderer

      public PlayerEntityRenderer(EntityRendererFactory.Context ctx, boolean slim)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lews;<init>(Lerx$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 class LivingEntityRenderer<AbstractClientPlayerEntity,​PlayerEntityModel<AbstractClientPlayerEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Lews;a(Lemi;FFLdqk;Lenh;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

      public Vec3d getPositionOffset(AbstractClientPlayerEntity abstractClientPlayerEntity, float float2)
      Overrides:
      getPositionOffset in class EntityRenderer<AbstractClientPlayerEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lews;a(Lemi;F)Ldna;
      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

      private void setModelPose(AbstractClientPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lews;b(Lemi;)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

      private static BipedEntityModel.ArmPose getArmPose(AbstractClientPlayerEntity player, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lews;a(Lemi;Larz;)Legk$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

      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
      official a Lews;a(Lemi;)Lww;
      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 class LivingEntityRenderer<AbstractClientPlayerEntity,​PlayerEntityModel<AbstractClientPlayerEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Lews;a(Lemi;Ldqk;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 class EntityRenderer<AbstractClientPlayerEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lews;a(Lemi;Los;Ldqk;Lenh;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 Lews;a(Ldqk;Lenh;ILemi;)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 Lews;b(Ldqk;Lenh;ILemi;)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 Lews;a(Ldqk;Lenh;ILemi;Leiq;Leiq;)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 class LivingEntityRenderer<AbstractClientPlayerEntity,​PlayerEntityModel<AbstractClientPlayerEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Lews;a(Lemi;Ldqk;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