Class VillagerHeldItemFeatureRenderer<S extends LivingEntityRenderState,M extends EntityModel<S>>

java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<S,M>
net.minecraft.client.render.entity.feature.VillagerHeldItemFeatureRenderer<S,M>
Direct Known Subclasses:
WitchHeldItemFeatureRenderer

@Environment(CLIENT) public class VillagerHeldItemFeatureRenderer<S extends LivingEntityRenderState,M extends EntityModel<S>> extends FeatureRenderer<S,M>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/feature/VillagerHeldItemFeatureRenderer
intermediary net/minecraft/class_4004
official gvh
  • Field Details

    • itemRenderer

      private final ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      named itemRenderer Lnet/minecraft/client/render/entity/feature/VillagerHeldItemFeatureRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
      intermediary field_38896 Lnet/minecraft/class_4004;field_38896:Lnet/minecraft/class_918;
      official a Lgvh;a:Lgsn;
  • Constructor Details

    • VillagerHeldItemFeatureRenderer

      public VillagerHeldItemFeatureRenderer(FeatureRendererContext<S,M> context, ItemRenderer itemRenderer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/feature/VillagerHeldItemFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/item/ItemRenderer;)V
      intermediary <init> Lnet/minecraft/class_4004;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_918;)V
      official <init> Lgvh;<init>(Lgtm;Lgsn;)V
  • Method Details

    • render

      public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3)
      Specified by:
      render in class FeatureRenderer<S extends LivingEntityRenderState,M extends EntityModel<S>>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/feature/VillagerHeldItemFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/state/LivingEntityRenderState;FF)V
      intermediary method_4208 Lnet/minecraft/class_4004;method_4208(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_10042;FF)V
      official a Lgvh;a(Lfgr;Lglk;ILgys;FF)V