Class HeldItemFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithArms>

java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<T,M>
net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer<T,M>
Direct Known Subclasses:
PlayerHeldItemFeatureRenderer

@Environment(CLIENT) public class HeldItemFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithArms> extends FeatureRenderer<T,M>
Mappings:
Namespace Name
official frg
intermediary net/minecraft/class_989
named net/minecraft/client/render/entity/feature/HeldItemFeatureRenderer
  • Field Details

    • heldItemRenderer

      private final HeldItemRenderer heldItemRenderer
      Mappings:
      Namespace Name Mixin selector
      official a Lfrg;a:Lfic;
      intermediary field_38901 Lnet/minecraft/class_989;field_38901:Lnet/minecraft/class_759;
      named heldItemRenderer Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;heldItemRenderer:Lnet/minecraft/client/render/item/HeldItemRenderer;
  • Constructor Details

    • HeldItemFeatureRenderer

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

    • render

      public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7)
      Specified by:
      render in class FeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithArms>
      Mappings:
      Namespace Name Mixin selector
      official a Lfrg;a(Lehe;Lfig;ILbfx;FFFFFF)V
      intermediary method_17162 Lnet/minecraft/class_989;method_17162(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)V
      named render Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/LivingEntity;FFFFFF)V
    • renderItem

      protected void renderItem(LivingEntity entity, ItemStack stack, ModelTransformationMode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Lfrg;a(Lbfx;Lcfv;Lcfs;Lbfr;Lehe;Lfig;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
      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