Class SinglePartEntityModelWithChildTransform<E extends Entity>

Direct Known Subclasses:
SnifferEntityModel

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

    • childScale

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

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

    • SinglePartEntityModelWithChildTransform

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

      public SinglePartEntityModelWithChildTransform(float childScale, float childTranslation, Function<Identifier,RenderLayer> layerFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfea;<init>(FFLjava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_8184;<init>(FFLjava/util/function/Function;)V
      named <init> Lnet/minecraft/client/render/entity/model/SinglePartEntityModelWithChildTransform;<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
      official a Lffz;a(Lelp;Lelt;IIFFFF)V
      intermediary method_2828 Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
      named render Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V