Class FeatureRenderer<T extends Entity,M extends EntityModel<T>>

java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<T,M>
Direct Known Subclasses:
ArmorFeatureRenderer, CapeFeatureRenderer, CatCollarFeatureRenderer, Deadmau5FeatureRenderer, DolphinHeldItemFeatureRenderer, DrownedOverlayFeatureRenderer, ElytraFeatureRenderer, EndermanBlockFeatureRenderer, EnergySwirlOverlayFeatureRenderer, EyesFeatureRenderer, FoxHeldItemFeatureRenderer, HeadFeatureRenderer, HeldItemFeatureRenderer, HorseArmorFeatureRenderer, HorseMarkingFeatureRenderer, IronGolemCrackFeatureRenderer, IronGolemFlowerFeatureRenderer, LlamaDecorFeatureRenderer, MooshroomMushroomFeatureRenderer, PandaHeldItemFeatureRenderer, SaddleFeatureRenderer, SheepWoolFeatureRenderer, ShoulderParrotFeatureRenderer, ShulkerHeadFeatureRenderer, SlimeOverlayFeatureRenderer, SnowmanPumpkinFeatureRenderer, StrayOverlayFeatureRenderer, StuckObjectsFeatureRenderer, TridentRiptideFeatureRenderer, TropicalFishColorFeatureRenderer, VillagerClothingFeatureRenderer, VillagerHeldItemFeatureRenderer, WolfCollarFeatureRenderer

@Environment(CLIENT) public abstract class FeatureRenderer<T extends Entity,M extends EntityModel<T>> extends Object
Mappings:
Namespace Name
official eyh
intermediary net/minecraft/class_3887
named net/minecraft/client/render/entity/feature/FeatureRenderer
  • Field Details

    • context

      private final FeatureRendererContext<T extends Entity,M extends EntityModel<T>> context
      Mappings:
      Namespace Name Mixin selector
      official a Leyh;a:Levx;
      intermediary field_17155 Lnet/minecraft/class_3887;field_17155:Lnet/minecraft/class_3883;
      named context Lnet/minecraft/client/render/entity/feature/FeatureRenderer;context:Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;
  • Constructor Details

    • FeatureRenderer

      public FeatureRenderer(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

      protected static <T extends LivingEntity> void render(EntityModel<T> contextModel, EntityModel<T> model, Identifier texture, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float limbAngle, float limbDistance, float age, float headYaw, float headPitch, float tickDelta, float red, float green, float blue)
      Mappings:
      Namespace Name Mixin selector
      official a Leyh;a(Leid;Leid;Lyh;Ldsj;Lepl;ILaxh;FFFFFFFFF)V
      intermediary method_23196 Lnet/minecraft/class_3887;method_23196(Lnet/minecraft/class_583;Lnet/minecraft/class_583;Lnet/minecraft/class_2960;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFFFFF)V
      named render Lnet/minecraft/client/render/entity/feature/FeatureRenderer;render(Lnet/minecraft/client/render/entity/model/EntityModel;Lnet/minecraft/client/render/entity/model/EntityModel;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/LivingEntity;FFFFFFFFF)V
    • renderModel

      protected static <T extends LivingEntity> void renderModel(EntityModel<T> model, Identifier texture, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float red, float green, float blue)
      Mappings:
      Namespace Name Mixin selector
      official a Leyh;a(Leid;Lyh;Ldsj;Lepl;ILaxh;FFF)V
      intermediary method_23199 Lnet/minecraft/class_3887;method_23199(Lnet/minecraft/class_583;Lnet/minecraft/class_2960;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFF)V
      named renderModel Lnet/minecraft/client/render/entity/feature/FeatureRenderer;renderModel(Lnet/minecraft/client/render/entity/model/EntityModel;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/LivingEntity;FFF)V
    • getContextModel

      public M getContextModel()
      Mappings:
      Namespace Name Mixin selector
      official c Leyh;c()Leid;
      intermediary method_17165 Lnet/minecraft/class_3887;method_17165()Lnet/minecraft/class_583;
      named getContextModel Lnet/minecraft/client/render/entity/feature/FeatureRenderer;getContextModel()Lnet/minecraft/client/render/entity/model/EntityModel;
    • getTexture

      protected Identifier getTexture(T entity)
      Mappings:
      Namespace Name Mixin selector
      official a Leyh;a(Lawt;)Lyh;
      intermediary method_23194 Lnet/minecraft/class_3887;method_23194(Lnet/minecraft/class_1297;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/feature/FeatureRenderer;getTexture(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/Identifier;
    • render

      public abstract void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float limbAngle, float limbDistance, float tickDelta, float animationProgress, float headYaw, float headPitch)
      Mappings:
      Namespace Name Mixin selector
      official a Leyh;a(Ldsj;Lepl;ILawt;FFFFFF)V
      intermediary method_4199 Lnet/minecraft/class_3887;method_4199(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1297;FFFFFF)V
      named render Lnet/minecraft/client/render/entity/feature/FeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/Entity;FFFFFF)V