Class SinglePartEntityModel<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.SinglePartEntityModel<E>
Direct Known Subclasses:
BatEntityModel, BlazeEntityModel, CodEntityModel, CreeperEntityModel, DolphinEntityModel, EndermiteEntityModel, EvokerFangsEntityModel, GhastEntityModel, GuardianEntityModel, IllagerEntityModel, IronGolemEntityModel, LargePufferfishEntityModel, LeashKnotEntityModel, LlamaSpitEntityModel, MagmaCubeEntityModel, MediumPufferfishEntityModel, MinecartEntityModel, ParrotEntityModel, PhantomEntityModel, RavagerEntityModel, SalmonEntityModel, ShulkerBulletEntityModel, SilverfishEntityModel, SlimeEntityModel, SmallPufferfishEntityModel, SnowGolemEntityModel, SpiderEntityModel, SquidEntityModel, StriderEntityModel, TintableCompositeModel, VillagerResemblingModel, WitherEntityModel

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

    • SinglePartEntityModel

      public SinglePartEntityModel()
    • SinglePartEntityModel

      public SinglePartEntityModel(Function<Identifier,RenderLayer> layerFactory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leix;<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 Leix;a(Ldsj;Ldsn;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
    • getPart

      public abstract ModelPart getPart()
      Mappings:
      Namespace Name Mixin selector
      official b Leil;b()Leku;
      intermediary method_32008 Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;
      named getPart Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;getPart()Lnet/minecraft/client/model/ModelPart;