Class RabbitEntityModel<T extends RabbitEntity>

java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.RabbitEntityModel<T>

@Environment(CLIENT) public class RabbitEntityModel<T extends RabbitEntity> extends EntityModel<T>
Represents the model of a RabbitEntity.
Model parts of this model
Part NameParentCorresponding Field
"left_hind_foot"Root partleftHindLeg
"right_hind_foot"Root partrightHindLeg
"left_haunch"Root partleftHaunch
"right_haunch"Root partrightHaunch
"body"Root partbody
"left_front_leg"Root partleftFrontLeg
"right_front_leg"Root partrightFrontLeg
"head"Root parthead
"right_ear"Root partrightEar
"left_ear"Root partleftEar
"tail"Root parttail
"nose"Root partnose
Mappings:
Namespace Name
official eks
intermediary net/minecraft/class_596
named net/minecraft/client/render/entity/model/RabbitEntityModel
  • Field Details

    • HAUNCH_JUMP_PITCH_MULTIPLIER

      private static final float HAUNCH_JUMP_PITCH_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leks;a:F
      intermediary field_32542 Lnet/minecraft/class_596;field_32542:F
      named HAUNCH_JUMP_PITCH_MULTIPLIER Lnet/minecraft/client/render/entity/model/RabbitEntityModel;HAUNCH_JUMP_PITCH_MULTIPLIER:F
    • FRONT_LEGS_JUMP_PITCH_MULTIPLIER

      private static final float FRONT_LEGS_JUMP_PITCH_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leks;b:F
      intermediary field_32543 Lnet/minecraft/class_596;field_32543:F
      named FRONT_LEGS_JUMP_PITCH_MULTIPLIER Lnet/minecraft/client/render/entity/model/RabbitEntityModel;FRONT_LEGS_JUMP_PITCH_MULTIPLIER:F
    • LEFT_HAUNCH

      private static final String LEFT_HAUNCH
      The key of the left haunch model part, whose value is "left_haunch".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Leks;f:Ljava/lang/String;
      intermediary field_32544 Lnet/minecraft/class_596;field_32544:Ljava/lang/String;
      named LEFT_HAUNCH Lnet/minecraft/client/render/entity/model/RabbitEntityModel;LEFT_HAUNCH:Ljava/lang/String;
    • RIGHT_HAUNCH

      private static final String RIGHT_HAUNCH
      The key of the right haunch model part, whose value is "right_haunch".
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Leks;g:Ljava/lang/String;
      intermediary field_32545 Lnet/minecraft/class_596;field_32545:Ljava/lang/String;
      named RIGHT_HAUNCH Lnet/minecraft/client/render/entity/model/RabbitEntityModel;RIGHT_HAUNCH:Ljava/lang/String;
    • SCALE

      private static final float SCALE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Leks;v:F
      intermediary field_32546 Lnet/minecraft/class_596;field_32546:F
      named SCALE Lnet/minecraft/client/render/entity/model/RabbitEntityModel;SCALE:F
    • leftHindLeg

      private final ModelPart leftHindLeg
      Mappings:
      Namespace Name Mixin selector
      official h Leks;h:Lemb;
      intermediary field_27480 Lnet/minecraft/class_596;field_27480:Lnet/minecraft/class_630;
      named leftHindLeg Lnet/minecraft/client/render/entity/model/RabbitEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
    • rightHindLeg

      private final ModelPart rightHindLeg
      Mappings:
      Namespace Name Mixin selector
      official i Leks;i:Lemb;
      intermediary field_27481 Lnet/minecraft/class_596;field_27481:Lnet/minecraft/class_630;
      named rightHindLeg Lnet/minecraft/client/render/entity/model/RabbitEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
    • leftHaunch

      private final ModelPart leftHaunch
      Mappings:
      Namespace Name Mixin selector
      official j Leks;j:Lemb;
      intermediary field_27482 Lnet/minecraft/class_596;field_27482:Lnet/minecraft/class_630;
      named leftHaunch Lnet/minecraft/client/render/entity/model/RabbitEntityModel;leftHaunch:Lnet/minecraft/client/model/ModelPart;
    • rightHaunch

      private final ModelPart rightHaunch
      Mappings:
      Namespace Name Mixin selector
      official k Leks;k:Lemb;
      intermediary field_27483 Lnet/minecraft/class_596;field_27483:Lnet/minecraft/class_630;
      named rightHaunch Lnet/minecraft/client/render/entity/model/RabbitEntityModel;rightHaunch:Lnet/minecraft/client/model/ModelPart;
    • body

      private final ModelPart body
      Mappings:
      Namespace Name Mixin selector
      official l Leks;l:Lemb;
      intermediary field_3528 Lnet/minecraft/class_596;field_3528:Lnet/minecraft/class_630;
      named body Lnet/minecraft/client/render/entity/model/RabbitEntityModel;body:Lnet/minecraft/client/model/ModelPart;
    • leftFrontLeg

      private final ModelPart leftFrontLeg
      Mappings:
      Namespace Name Mixin selector
      official m Leks;m:Lemb;
      intermediary field_27484 Lnet/minecraft/class_596;field_27484:Lnet/minecraft/class_630;
      named leftFrontLeg Lnet/minecraft/client/render/entity/model/RabbitEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;
    • rightFrontLeg

      private final ModelPart rightFrontLeg
      Mappings:
      Namespace Name Mixin selector
      official n Leks;n:Lemb;
      intermediary field_27485 Lnet/minecraft/class_596;field_27485:Lnet/minecraft/class_630;
      named rightFrontLeg Lnet/minecraft/client/render/entity/model/RabbitEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
    • rightEar

      private final ModelPart rightEar
      Mappings:
      Namespace Name Mixin selector
      official p Leks;p:Lemb;
      intermediary field_27487 Lnet/minecraft/class_596;field_27487:Lnet/minecraft/class_630;
      named rightEar Lnet/minecraft/client/render/entity/model/RabbitEntityModel;rightEar:Lnet/minecraft/client/model/ModelPart;
    • leftEar

      private final ModelPart leftEar
      Mappings:
      Namespace Name Mixin selector
      official q Leks;q:Lemb;
      intermediary field_27488 Lnet/minecraft/class_596;field_27488:Lnet/minecraft/class_630;
      named leftEar Lnet/minecraft/client/render/entity/model/RabbitEntityModel;leftEar:Lnet/minecraft/client/model/ModelPart;
    • tail

      private final ModelPart tail
      Mappings:
      Namespace Name Mixin selector
      official r Leks;r:Lemb;
      intermediary field_3524 Lnet/minecraft/class_596;field_3524:Lnet/minecraft/class_630;
      named tail Lnet/minecraft/client/render/entity/model/RabbitEntityModel;tail:Lnet/minecraft/client/model/ModelPart;
    • nose

      private final ModelPart nose
      Mappings:
      Namespace Name Mixin selector
      official t Leks;t:Lemb;
      intermediary field_3530 Lnet/minecraft/class_596;field_3530:Lnet/minecraft/class_630;
      named nose Lnet/minecraft/client/render/entity/model/RabbitEntityModel;nose:Lnet/minecraft/client/model/ModelPart;
    • jumpProgress

      private float jumpProgress
      Mappings:
      Namespace Name Mixin selector
      official u Leks;u:F
      intermediary field_3531 Lnet/minecraft/class_596;field_3531:F
      named jumpProgress Lnet/minecraft/client/render/entity/model/RabbitEntityModel;jumpProgress:F
  • Constructor Details

    • RabbitEntityModel

      public RabbitEntityModel(ModelPart root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leks;<init>(Lemb;)V
      intermediary <init> Lnet/minecraft/class_596;<init>(Lnet/minecraft/class_630;)V
      named <init> Lnet/minecraft/client/render/entity/model/RabbitEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
  • Method Details

    • getTexturedModelData

      public static TexturedModelData getTexturedModelData()
      Mappings:
      Namespace Name Mixin selector
      official a Leks;a()Lemh;
      intermediary method_32034 Lnet/minecraft/class_596;method_32034()Lnet/minecraft/class_5607;
      named getTexturedModelData Lnet/minecraft/client/render/entity/model/RabbitEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
    • 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 Leke;a(Ldtm;Ldtq;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
    • setAngles

      public void setAngles(T t, float float2, float float3, float float4, float float5, float float6)
      Specified by:
      setAngles in class EntityModel<T extends RabbitEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Leks;a(Lbiv;FFFFF)V
      intermediary method_17117 Lnet/minecraft/class_596;method_17117(Lnet/minecraft/class_1463;FFFFF)V
      named setAngles Lnet/minecraft/client/render/entity/model/RabbitEntityModel;setAngles(Lnet/minecraft/entity/passive/RabbitEntity;FFFFF)V
    • animateModel

      public void animateModel(T t, float float2, float float3, float float4)
      Overrides:
      animateModel in class EntityModel<T extends RabbitEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Leks;a(Lbiv;FFF)V
      intermediary method_17115 Lnet/minecraft/class_596;method_17115(Lnet/minecraft/class_1463;FFF)V
      named animateModel Lnet/minecraft/client/render/entity/model/RabbitEntityModel;animateModel(Lnet/minecraft/entity/passive/RabbitEntity;FFF)V