类 FeatureRenderer<T extends Entity,​M extends EntityModel<T>>

    • 字段详细资料

      • context

        private final FeatureRendererContext<T extends Entity,​M extends EntityModel<T>> context
        Mappings:
        Namespace Name Mixin selector
        official a Leuu;a:Lesk;
        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;
    • 构造器详细资料

      • FeatureRenderer

        public FeatureRenderer​(FeatureRendererContext<T,​M> context)
        Mappings:
        Namespace Name Mixin selector
        official <init> Leuu;<init>(Lesk;)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
    • 方法详细资料

      • 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 Leuu;a(Leep;Leep;Lwp;Ldpi;Lema;ILasy;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 Leuu;a(Leep;Lwp;Ldpi;Lema;ILasy;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 Leuu;c()Leep;
        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 Leuu;a(Lasl;)Lwp;
        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 Leuu;a(Ldpi;Lema;ILasl;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