Class TintableAnimalModel<E extends Entity>

Direct Known Subclasses:
WolfEntityModel

@Environment(CLIENT) public abstract class TintableAnimalModel<E extends Entity> extends AnimalModel<E>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/TintableAnimalModel
intermediary net/minecraft/class_4593
official fts
  • Field Details

    • redMultiplier

      private float redMultiplier
      Mappings:
      Namespace Name Mixin selector
      named redMultiplier Lnet/minecraft/client/render/entity/model/TintableAnimalModel;redMultiplier:F
      intermediary field_20923 Lnet/minecraft/class_4593;field_20923:F
      official a Lfts;a:F
    • greenMultiplier

      private float greenMultiplier
      Mappings:
      Namespace Name Mixin selector
      named greenMultiplier Lnet/minecraft/client/render/entity/model/TintableAnimalModel;greenMultiplier:F
      intermediary field_20924 Lnet/minecraft/class_4593;field_20924:F
      official b Lfts;b:F
    • blueMultiplier

      private float blueMultiplier
      Mappings:
      Namespace Name Mixin selector
      named blueMultiplier Lnet/minecraft/client/render/entity/model/TintableAnimalModel;blueMultiplier:F
      intermediary field_20925 Lnet/minecraft/class_4593;field_20925:F
      official f Lfts;f:F
  • Constructor Details

    • TintableAnimalModel

      public TintableAnimalModel()
  • Method Details

    • setColorMultiplier

      public void setColorMultiplier(float red, float green, float blue)
      Mappings:
      Namespace Name Mixin selector
      named setColorMultiplier Lnet/minecraft/client/render/entity/model/TintableAnimalModel;setColorMultiplier(FFF)V
      intermediary method_22955 Lnet/minecraft/class_4593;method_22955(FFF)V
      official a Lfts;a(FFF)V
    • render

      public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
      Renders the model.
      Overrides:
      render in class AnimalModel<E extends Entity>
      Parameters:
      light - the lightmap coordinates used for this model rendering
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
      official a Lfux;a(Lezz;Lfad;IIFFFF)V