Class SinglePartEntityModelWithChildTransform<E extends Entity>

Direct Known Subclasses:
ArmadilloEntityModel, SnifferEntityModel

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

    • childScale

      private final float childScale
      Mappings:
      Namespace Name Mixin selector
      named childScale Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;childScale:F
      intermediary field_42875 Lnet/minecraft/class_8184;field_42875:F
      official a Lftk;a:F
    • childTranslation

      private final float childTranslation
      Mappings:
      Namespace Name Mixin selector
      named childTranslation Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;childTranslation:F
      intermediary field_42876 Lnet/minecraft/class_8184;field_42876:F
      official b Lftk;b:F
  • Constructor Details

    • SinglePartEntityModelWithChildTransform

      public SinglePartEntityModelWithChildTransform(float childScale, float childTranslation)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;<init>(FF)V
      intermediary <init> Lnet/minecraft/class_8184;<init>(FF)V
      official <init> Lftk;<init>(FF)V
    • SinglePartEntityModelWithChildTransform

      public SinglePartEntityModelWithChildTransform(float childScale, float childTranslation, Function<Identifier,RenderLayer> layerFactory)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;<init>(FFLjava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_8184;<init>(FFLjava/util/function/Function;)V
      official <init> Lftk;<init>(FFLjava/util/function/Function;)V
  • Method Details

    • 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