Class TintableCompositeModel<E extends Entity>

Direct Known Subclasses:
LargeTropicalFishEntityModel, SmallTropicalFishEntityModel

@Environment(CLIENT) public abstract class TintableCompositeModel<E extends Entity> extends SinglePartEntityModel<E>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/TintableCompositeModel
intermediary net/minecraft/class_4594
official fui
  • Field Details

    • redMultiplier

      private float redMultiplier
      Mappings:
      Namespace Name Mixin selector
      named redMultiplier Lnet/minecraft/client/render/entity/model/TintableCompositeModel;redMultiplier:F
      intermediary field_20926 Lnet/minecraft/class_4594;field_20926:F
      official a Lfui;a:F
    • greenMultiplier

      private float greenMultiplier
      Mappings:
      Namespace Name Mixin selector
      named greenMultiplier Lnet/minecraft/client/render/entity/model/TintableCompositeModel;greenMultiplier:F
      intermediary field_20927 Lnet/minecraft/class_4594;field_20927:F
      official b Lfui;b:F
    • blueMultiplier

      private float blueMultiplier
      Mappings:
      Namespace Name Mixin selector
      named blueMultiplier Lnet/minecraft/client/render/entity/model/TintableCompositeModel;blueMultiplier:F
      intermediary field_20928 Lnet/minecraft/class_4594;field_20928:F
      official f Lfui;f:F
  • Constructor Details

    • TintableCompositeModel

      public TintableCompositeModel()
  • 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/TintableCompositeModel;setColorMultiplier(FFF)V
      intermediary method_22956 Lnet/minecraft/class_4594;method_22956(FFF)V
      official a Lfui;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 SinglePartEntityModel<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 Lfvm;a(Lfao;Lfas;IIFFFF)V