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 eya
intermediary net/minecraft/class_989
named net/minecraft/client/render/entity/feature/HeldItemFeatureRenderer
  • Constructor Details

    • HeldItemFeatureRenderer

      public HeldItemFeatureRenderer(FeatureRendererContext<T,M> context)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyh;<init>(Levx;)V
      intermediary <init> Lnet/minecraft/class_3887;<init>(Lnet/minecraft/class_3883;)V
      named <init> Lnet/minecraft/client/render/entity/feature/FeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;)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 Leya;a(Ldsj;Lepl;ILaxh;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, ModelTransformation.Mode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Leya;a(Laxh;Lbue;Leqr$b;Laxc;Ldsj;Lepl;I)V
      intermediary method_4192 Lnet/minecraft/class_989;method_4192(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_809$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/ModelTransformation$Mode;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V