Class CompositeEntityModel<E extends Entity>

java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.CompositeEntityModel<E>
Direct Known Subclasses:
BoatEntityModel, ShulkerEntityModel

@Environment(CLIENT) public abstract class CompositeEntityModel<E extends Entity> extends EntityModel<E>
Mappings:
Namespace Name
official eig
intermediary net/minecraft/class_4595
named net/minecraft/client/render/entity/model/CompositeEntityModel
  • Constructor Details

    • CompositeEntityModel

      public CompositeEntityModel()
    • CompositeEntityModel

      public CompositeEntityModel(Function<Identifier,RenderLayer> layerFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leik;<init>(Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_3879;<init>(Ljava/util/function/Function;)V
      named <init> Lnet/minecraft/client/model/Model;<init>(Ljava/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.
      Specified by:
      render in class Model
      Parameters:
      light - the lightmap coordinates used for this model rendering
      Mappings:
      Namespace Name Mixin selector
      official a Leik;a(Ldrw;Ldsa;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
    • getParts

      public abstract Iterable<ModelPart> getParts()
      Mappings:
      Namespace Name Mixin selector
      official d Leig;d()Ljava/lang/Iterable;
      intermediary method_22960 Lnet/minecraft/class_4595;method_22960()Ljava/lang/Iterable;
      named getParts Lnet/minecraft/client/render/entity/model/CompositeEntityModel;getParts()Ljava/lang/Iterable;