Class PlayerHeldItemFeatureRenderer<T extends PlayerEntity,M extends EntityModel<T> & ModelWithArms & ModelWithHead>


@Environment(CLIENT) public class PlayerHeldItemFeatureRenderer<T extends PlayerEntity,M extends EntityModel<T> & ModelWithArms & ModelWithHead> extends HeldItemFeatureRenderer<T,M>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer
intermediary net/minecraft/class_5697
official gou
  • Field Details

    • HEAD_YAW

      private static final float HEAD_YAW
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HEAD_YAW Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;HEAD_YAW:F
      intermediary field_32944 Lnet/minecraft/class_5697;field_32944:F
      official b Lgou;b:F
    • HEAD_ROLL

      private static final float HEAD_ROLL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HEAD_ROLL Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;HEAD_ROLL:F
      intermediary field_32945 Lnet/minecraft/class_5697;field_32945:F
      official c Lgou;c:F
    • playerHeldItemRenderer

      private final HeldItemRenderer playerHeldItemRenderer
      Mappings:
      Namespace Name Mixin selector
      named playerHeldItemRenderer Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;playerHeldItemRenderer:Lnet/minecraft/client/render/item/HeldItemRenderer;
      intermediary field_38904 Lnet/minecraft/class_5697;field_38904:Lnet/minecraft/class_759;
      official a Lgou;a:Lgev;
  • Constructor Details

    • PlayerHeldItemFeatureRenderer

      public PlayerHeldItemFeatureRenderer(FeatureRendererContext<T,M> context, HeldItemRenderer heldItemRenderer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/item/HeldItemRenderer;)V
      intermediary <init> Lnet/minecraft/class_989;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_759;)V
      official <init> Lgoo;<init>(Lgmf;Lgev;)V
  • Method Details

    • renderItem

      protected void renderItem(LivingEntity entity, ItemStack stack, ModelTransformationMode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Overrides:
      renderItem in class HeldItemFeatureRenderer<T extends PlayerEntity,M extends EntityModel<T> & ModelWithArms & ModelWithHead>
      Mappings:
      Namespace Name Mixin selector
      named renderItem Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;renderItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/render/model/json/ModelTransformationMode;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_4192 Lnet/minecraft/class_989;method_4192(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgoo;a(Lbtn;Lcuq;Lcun;Lbtg;Lfbi;Lgez;I)V
    • renderSpyglass

      private void renderSpyglass(LivingEntity entity, ItemStack stack, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Mappings:
      Namespace Name Mixin selector
      named renderSpyglass Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;renderSpyglass(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_32799 Lnet/minecraft/class_5697;method_32799(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgou;a(Lbtn;Lcuq;Lbtg;Lfbi;Lgez;I)V