Class BipedEntityModel<T extends LivingEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.BipedEntityModel<T>
- All Implemented Interfaces:
ModelWithArms
,ModelWithHead
- Direct Known Subclasses:
AbstractZombieModel
,ArmorEntityModel
,ArmorStandArmorEntityModel
,EndermanEntityModel
,PlayerEntityModel
,SkeletonEntityModel
,ZombieVillagerEntityModel
@Environment(CLIENT)
public class BipedEntityModel<T extends LivingEntity>
extends AnimalModel<T>
implements ModelWithArms, ModelWithHead
Represents the model of a biped living entity.
Part Name | Parent | Corresponding Field |
---|---|---|
"hat" | Root part | hat |
"head" | Root part | head |
"body" | Root part | body |
"right_arm" | Root part | rightArm |
"left_arm" | Root part | leftArm |
"right_leg" | Root part | rightLeg |
"left_leg" | Root part | leftLeg |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/BipedEntityModel
intermediary net/minecraft/class_572
official fvd
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal ModelPart
static final float
static final float
static final float
static final float
private static final float
static final float
private static final float
private static final float
private static final float
final ModelPart
final ModelPart
float
final ModelPart
final ModelPart
final ModelPart
final ModelPart
boolean
private static final float
private static final float
private static final float
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
ConstructorDescriptionBipedEntityModel
(ModelPart root) BipedEntityModel
(ModelPart root, Function<Identifier, RenderLayer> renderLayerFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
animateArms
(T entity, float animationProgress) void
animateModel
(T t, float float2, float float3, float float4) void
copyBipedStateTo
(BipedEntityModel<T> model) protected ModelPart
getHead()
Gets the head model part.static ModelData
getModelData
(Dilation dilation, float pivotOffsetY) private Arm
getPreferredArm
(T entity) protected float
lerpAngle
(float angleOne, float angleTwo, float magnitude) private float
method_2807
(float float2) private void
positionBlockingArm
(ModelPart arm, boolean rightArm) private void
positionLeftArm
(T entity) private void
positionRightArm
(T entity) void
void
setArmAngle
(Arm arm, MatrixStack matrices) void
setVisible
(boolean visible) Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
field_32505
public static final float field_32505- See Also:
- Mappings:
Namespace Name Mixin selector named field_32505
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_32505:F
intermediary field_32505
Lnet/minecraft/class_572;field_32505:F
official f
Lfvd;f:F
-
field_32506
public static final float field_32506- See Also:
- Mappings:
Namespace Name Mixin selector named field_32506
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_32506:F
intermediary field_32506
Lnet/minecraft/class_572;field_32506:F
official g
Lfvd;g:F
-
field_42513
public static final float field_42513- See Also:
- Mappings:
Namespace Name Mixin selector named field_42513
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_42513:F
intermediary field_42513
Lnet/minecraft/class_572;field_42513:F
official h
Lfvd;h:F
-
field_42512
private static final float field_42512- See Also:
- Mappings:
Namespace Name Mixin selector named field_42512
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_42512:F
intermediary field_42512
Lnet/minecraft/class_572;field_42512:F
official a
Lfvd;a:F
-
SPYGLASS_ARM_YAW_OFFSET
private static final float SPYGLASS_ARM_YAW_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector named SPYGLASS_ARM_YAW_OFFSET
Lnet/minecraft/client/render/entity/model/BipedEntityModel;SPYGLASS_ARM_YAW_OFFSET:F
intermediary field_32503
Lnet/minecraft/class_572;field_32503:F
official b
Lfvd;b:F
-
SPYGLASS_ARM_PITCH_OFFSET
private static final float SPYGLASS_ARM_PITCH_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector named SPYGLASS_ARM_PITCH_OFFSET
Lnet/minecraft/client/render/entity/model/BipedEntityModel;SPYGLASS_ARM_PITCH_OFFSET:F
intermediary field_32504
Lnet/minecraft/class_572;field_32504:F
official w
Lfvd;w:F
-
SPYGLASS_SNEAKING_ARM_PITCH_OFFSET
private static final float SPYGLASS_SNEAKING_ARM_PITCH_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector named SPYGLASS_SNEAKING_ARM_PITCH_OFFSET
Lnet/minecraft/client/render/entity/model/BipedEntityModel;SPYGLASS_SNEAKING_ARM_PITCH_OFFSET:F
intermediary field_32507
Lnet/minecraft/class_572;field_32507:F
official x
Lfvd;x:F
-
field_46576
private static final float field_46576- See Also:
- Mappings:
Namespace Name Mixin selector named field_46576
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_46576:F
intermediary field_46576
Lnet/minecraft/class_572;field_46576:F
official y
Lfvd;y:F
-
field_46577
private static final float field_46577- See Also:
- Mappings:
Namespace Name Mixin selector named field_46577
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_46577:F
intermediary field_46577
Lnet/minecraft/class_572;field_46577:F
official z
Lfvd;z:F
-
field_46724
private static final float field_46724- See Also:
- Mappings:
Namespace Name Mixin selector named field_46724
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_46724:F
intermediary field_46724
Lnet/minecraft/class_572;field_46724:F
official A
Lfvd;A:F
-
field_39069
public static final float field_39069- See Also:
- Mappings:
Namespace Name Mixin selector named field_39069
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_39069:F
intermediary field_39069
Lnet/minecraft/class_572;field_39069:F
official i
Lfvd;i:F
-
field_39070
public static final float field_39070- See Also:
- Mappings:
Namespace Name Mixin selector named field_39070
Lnet/minecraft/client/render/entity/model/BipedEntityModel;field_39070:F
intermediary field_39070
Lnet/minecraft/class_572;field_39070:F
official j
Lfvd;j:F
-
head
- Mappings:
Namespace Name Mixin selector named head
Lnet/minecraft/client/render/entity/model/BipedEntityModel;head:Lnet/minecraft/client/model/ModelPart;
intermediary field_3398
Lnet/minecraft/class_572;field_3398:Lnet/minecraft/class_630;
official k
Lfvd;k:Lfxq;
-
hat
- Mappings:
Namespace Name Mixin selector named hat
Lnet/minecraft/client/render/entity/model/BipedEntityModel;hat:Lnet/minecraft/client/model/ModelPart;
intermediary field_3394
Lnet/minecraft/class_572;field_3394:Lnet/minecraft/class_630;
official l
Lfvd;l:Lfxq;
-
body
- Mappings:
Namespace Name Mixin selector named body
Lnet/minecraft/client/render/entity/model/BipedEntityModel;body:Lnet/minecraft/client/model/ModelPart;
intermediary field_3391
Lnet/minecraft/class_572;field_3391:Lnet/minecraft/class_630;
official m
Lfvd;m:Lfxq;
-
rightArm
- Mappings:
Namespace Name Mixin selector named rightArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightArm:Lnet/minecraft/client/model/ModelPart;
intermediary field_3401
Lnet/minecraft/class_572;field_3401:Lnet/minecraft/class_630;
official n
Lfvd;n:Lfxq;
-
leftArm
- Mappings:
Namespace Name Mixin selector named leftArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftArm:Lnet/minecraft/client/model/ModelPart;
intermediary field_27433
Lnet/minecraft/class_572;field_27433:Lnet/minecraft/class_630;
official o
Lfvd;o:Lfxq;
-
rightLeg
- Mappings:
Namespace Name Mixin selector named rightLeg
Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightLeg:Lnet/minecraft/client/model/ModelPart;
intermediary field_3392
Lnet/minecraft/class_572;field_3392:Lnet/minecraft/class_630;
official p
Lfvd;p:Lfxq;
-
leftLeg
- Mappings:
Namespace Name Mixin selector named leftLeg
Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
intermediary field_3397
Lnet/minecraft/class_572;field_3397:Lnet/minecraft/class_630;
official q
Lfvd;q:Lfxq;
-
leftArmPose
- Mappings:
Namespace Name Mixin selector named leftArmPose
Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftArmPose:Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
intermediary field_3399
Lnet/minecraft/class_572;field_3399:Lnet/minecraft/class_572$class_573;
official r
Lfvd;r:Lfvd$a;
-
rightArmPose
- Mappings:
Namespace Name Mixin selector named rightArmPose
Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightArmPose:Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
intermediary field_3395
Lnet/minecraft/class_572;field_3395:Lnet/minecraft/class_572$class_573;
official s
Lfvd;s:Lfvd$a;
-
sneaking
public boolean sneaking- Mappings:
Namespace Name Mixin selector named sneaking
Lnet/minecraft/client/render/entity/model/BipedEntityModel;sneaking:Z
intermediary field_3400
Lnet/minecraft/class_572;field_3400:Z
official t
Lfvd;t:Z
-
leaningPitch
public float leaningPitch- Mappings:
Namespace Name Mixin selector named leaningPitch
Lnet/minecraft/client/render/entity/model/BipedEntityModel;leaningPitch:F
intermediary field_3396
Lnet/minecraft/class_572;field_3396:F
official u
Lfvd;u:F
-
-
Constructor Details
-
BipedEntityModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
intermediary <init>
Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;)V
official <init>
Lfvd;<init>(Lfxq;)V
-
BipedEntityModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;Ljava/util/function/Function;)V
official <init>
Lfvd;<init>(Lfxq;Ljava/util/function/Function;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector named getModelData
Lnet/minecraft/client/render/entity/model/BipedEntityModel;getModelData(Lnet/minecraft/client/model/Dilation;F)Lnet/minecraft/client/model/ModelData;
intermediary method_32011
Lnet/minecraft/class_572;method_32011(Lnet/minecraft/class_5605;F)Lnet/minecraft/class_5609;
official a
Lfvd;a(Lfxu;F)Lfxy;
-
getHeadParts
- Specified by:
getHeadParts
in classAnimalModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named getHeadParts
Lnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
intermediary method_22946
Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;
official a
Lftl;a()Ljava/lang/Iterable;
-
getBodyParts
- Specified by:
getBodyParts
in classAnimalModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named getBodyParts
Lnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
intermediary method_22948
Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;
official b
Lftl;b()Ljava/lang/Iterable;
-
animateModel
- Overrides:
animateModel
in classEntityModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named animateModel
Lnet/minecraft/client/render/entity/model/BipedEntityModel;animateModel(Lnet/minecraft/entity/LivingEntity;FFF)V
intermediary method_17086
Lnet/minecraft/class_572;method_17086(Lnet/minecraft/class_1309;FFF)V
official a
Lfvd;a(Lbtc;FFF)V
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/BipedEntityModel;setAngles(Lnet/minecraft/entity/LivingEntity;FFFFF)V
intermediary method_17087
Lnet/minecraft/class_572;method_17087(Lnet/minecraft/class_1309;FFFFF)V
official a
Lfvd;a(Lbtc;FFFFF)V
-
positionRightArm
- Mappings:
Namespace Name Mixin selector named positionRightArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionRightArm(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_30154
Lnet/minecraft/class_572;method_30154(Lnet/minecraft/class_1309;)V
official a
Lfvd;a(Lbtc;)V
-
positionLeftArm
- Mappings:
Namespace Name Mixin selector named positionLeftArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionLeftArm(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_30155
Lnet/minecraft/class_572;method_30155(Lnet/minecraft/class_1309;)V
official b
Lfvd;b(Lbtc;)V
-
positionBlockingArm
- Mappings:
Namespace Name Mixin selector named positionBlockingArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionBlockingArm(Lnet/minecraft/client/model/ModelPart;Z)V
intermediary method_54131
Lnet/minecraft/class_572;method_54131(Lnet/minecraft/class_630;Z)V
official a
Lfvd;a(Lfxq;Z)V
-
animateArms
- Mappings:
Namespace Name Mixin selector named animateArms
Lnet/minecraft/client/render/entity/model/BipedEntityModel;animateArms(Lnet/minecraft/entity/LivingEntity;F)V
intermediary method_29353
Lnet/minecraft/class_572;method_29353(Lnet/minecraft/class_1309;F)V
official a
Lfvd;a(Lbtc;F)V
-
lerpAngle
protected float lerpAngle(float angleOne, float angleTwo, float magnitude) - Mappings:
Namespace Name Mixin selector named lerpAngle
Lnet/minecraft/client/render/entity/model/BipedEntityModel;lerpAngle(FFF)F
intermediary method_2804
Lnet/minecraft/class_572;method_2804(FFF)F
official a
Lfvd;a(FFF)F
-
method_2807
private float method_2807(float float2) - Mappings:
Namespace Name Mixin selector named method_2807
Lnet/minecraft/client/render/entity/model/BipedEntityModel;method_2807(F)F
intermediary method_2807
Lnet/minecraft/class_572;method_2807(F)F
official a
Lfvd;a(F)F
-
copyBipedStateTo
- Mappings:
Namespace Name Mixin selector named copyBipedStateTo
Lnet/minecraft/client/render/entity/model/BipedEntityModel;copyBipedStateTo(Lnet/minecraft/client/render/entity/model/BipedEntityModel;)V
intermediary method_2818
Lnet/minecraft/class_572;method_2818(Lnet/minecraft/class_572;)V
official a
Lfvd;a(Lfvd;)V
-
setVisible
public void setVisible(boolean visible) - Mappings:
Namespace Name Mixin selector named setVisible
Lnet/minecraft/client/render/entity/model/BipedEntityModel;setVisible(Z)V
intermediary method_2805
Lnet/minecraft/class_572;method_2805(Z)V
official c_
Lfvd;c_(Z)V
-
setArmAngle
- Specified by:
setArmAngle
in interfaceModelWithArms
- Mappings:
Namespace Name Mixin selector named setArmAngle
Lnet/minecraft/client/render/entity/model/ModelWithArms;setArmAngle(Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;)V
intermediary method_2803
Lnet/minecraft/class_3881;method_2803(Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;)V
official a
Lftp;a(Lbsw;Lfao;)V
-
getArm
- Mappings:
Namespace Name Mixin selector named getArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;getArm(Lnet/minecraft/util/Arm;)Lnet/minecraft/client/model/ModelPart;
intermediary method_2808
Lnet/minecraft/class_572;method_2808(Lnet/minecraft/class_1306;)Lnet/minecraft/class_630;
official a
Lfvd;a(Lbsw;)Lfxq;
-
getHead
Gets the head model part.- Specified by:
getHead
in interfaceModelWithHead
- Returns:
- the head
- Mappings:
Namespace Name Mixin selector named getHead
Lnet/minecraft/client/render/entity/model/ModelWithHead;getHead()Lnet/minecraft/client/model/ModelPart;
intermediary method_2838
Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;
official d
Lfuy;d()Lfxq;
-
getPreferredArm
- Mappings:
Namespace Name Mixin selector named getPreferredArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;getPreferredArm(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/Arm;
intermediary method_2806
Lnet/minecraft/class_572;method_2806(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1306;
official c
Lfvd;c(Lbtc;)Lbsw;
-