Class MinecartEntityModel<T extends Entity>


@Environment(CLIENT) public class MinecartEntityModel<T extends Entity> extends SinglePartEntityModel<T>
Represents the model of a minecart-like entity.
Model parts of this model
Part NameParentCorresponding Field
bottomRoot part
frontRoot part
backRoot part
leftRoot part
rightRoot part
Mappings:
Namespace Name
official fan
intermediary net/minecraft/class_580
named net/minecraft/client/render/entity/model/MinecartEntityModel
  • Field Details

    • root

      private final ModelPart root
      Mappings:
      Namespace Name Mixin selector
      official a Lfan;a:Lfcr;
      intermediary field_27452 Lnet/minecraft/class_580;field_27452:Lnet/minecraft/class_630;
      named root Lnet/minecraft/client/render/entity/model/MinecartEntityModel;root:Lnet/minecraft/client/model/ModelPart;
  • Constructor Details

    • MinecartEntityModel

      public MinecartEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfan;<init>(Lfcr;)V
      intermediary <init> Lnet/minecraft/class_580;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/MinecartEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
  • Method Details

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official b Lfan;b()Lfcx;
      intermediary method_32020 Lnet/minecraft/class_580;method_32020()Lnet/minecraft/class_5607;
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/MinecartEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • setAngles

      public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
      Specified by:
      setAngles in class EntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Lezs;a(Lbfh;FFFFF)V
      intermediary method_2819 Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
      named setAngles Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
    • getPart

      public ModelPart getPart()
      Specified by:
      getPart in class SinglePartEntityModel<T extends Entity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfab;a()Lfcr;
      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;