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, RaftEntityModel, ShulkerEntityModel

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

    • CompositeEntityModel

      public CompositeEntityModel()
    • CompositeEntityModel

      public CompositeEntityModel(Function<Identifier,RenderLayer> layerFactory)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/model/Model;<init>(Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_3879;<init>(Ljava/util/function/Function;)V
      official <init> Lfux;<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
      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
    • getParts

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