Class BipedEntityModel<T extends LivingEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
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
,ArmorStandArmorEntityModel
,EndermanEntityModel
,PlayerEntityModel
,SkeletonEntityModel
,VexEntityModel
,ZombieVillagerEntityModel
@Environment(CLIENT) public class BipedEntityModel<T extends LivingEntity> extends AnimalModel<T> implements ModelWithArms, ModelWithHead
- Mappings:
Namespace Name official ebb
intermediary net/minecraft/class_572
named net/minecraft/client/render/entity/model/BipedEntityModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BipedEntityModel.ArmPose
-
Field Summary
Fields Modifier and Type Field Description ModelPart
body
ModelPart
hat
ModelPart
head
float
leaningPitch
ModelPart
leftArm
BipedEntityModel.ArmPose
leftArmPose
ModelPart
leftLeg
ModelPart
rightArm
BipedEntityModel.ArmPose
rightArmPose
ModelPart
rightLeg
boolean
sneaking
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
Constructors Constructor Description BipedEntityModel(ModelPart root)
BipedEntityModel(ModelPart root, Function<Identifier,RenderLayer> renderLayerFactory)
-
Method Summary
Modifier and Type Method Description protected void
animateArms(T entity, float animationProgress)
void
animateModel(T t, float float2, float float3, float float4)
protected ModelPart
getArm(Arm arm)
protected Iterable<ModelPart>
getBodyParts()
ModelPart
getHead()
protected Iterable<ModelPart>
getHeadParts()
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
positionLeftArm(T entity)
private void
positionRightArm(T entity)
void
setAngles(T t, float float2, float float3, float float4, float float5, float float6)
void
setArmAngle(Arm arm, MatrixStack matrices)
void
setAttributes(BipedEntityModel<T> model)
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
-
head
- Mappings:
Namespace Name Mixin selector official f
Lebb;f:Ledh;
intermediary field_3398
Lnet/minecraft/class_572;field_3398:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/BipedEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
hat
- Mappings:
Namespace Name Mixin selector official g
Lebb;g:Ledh;
intermediary field_3394
Lnet/minecraft/class_572;field_3394:Lnet/minecraft/class_630;
named hat
Lnet/minecraft/client/render/entity/model/BipedEntityModel;hat:Lnet/minecraft/client/model/ModelPart;
-
body
- Mappings:
Namespace Name Mixin selector official h
Lebb;h:Ledh;
intermediary field_3391
Lnet/minecraft/class_572;field_3391:Lnet/minecraft/class_630;
named body
Lnet/minecraft/client/render/entity/model/BipedEntityModel;body:Lnet/minecraft/client/model/ModelPart;
-
rightArm
- Mappings:
Namespace Name Mixin selector official i
Lebb;i:Ledh;
intermediary field_3401
Lnet/minecraft/class_572;field_3401:Lnet/minecraft/class_630;
named rightArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightArm:Lnet/minecraft/client/model/ModelPart;
-
leftArm
- Mappings:
Namespace Name Mixin selector official j
Lebb;j:Ledh;
intermediary field_27433
Lnet/minecraft/class_572;field_27433:Lnet/minecraft/class_630;
named leftArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftArm:Lnet/minecraft/client/model/ModelPart;
-
rightLeg
- Mappings:
Namespace Name Mixin selector official k
Lebb;k:Ledh;
intermediary field_3392
Lnet/minecraft/class_572;field_3392:Lnet/minecraft/class_630;
named rightLeg
Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightLeg:Lnet/minecraft/client/model/ModelPart;
-
leftLeg
- Mappings:
Namespace Name Mixin selector official l
Lebb;l:Ledh;
intermediary field_3397
Lnet/minecraft/class_572;field_3397:Lnet/minecraft/class_630;
named leftLeg
Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
-
leftArmPose
- Mappings:
Namespace Name Mixin selector official m
Lebb;m:Lebb$a;
intermediary field_3399
Lnet/minecraft/class_572;field_3399:Lnet/minecraft/class_572$class_573;
named leftArmPose
Lnet/minecraft/client/render/entity/model/BipedEntityModel;leftArmPose:Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
-
rightArmPose
- Mappings:
Namespace Name Mixin selector official n
Lebb;n:Lebb$a;
intermediary field_3395
Lnet/minecraft/class_572;field_3395:Lnet/minecraft/class_572$class_573;
named rightArmPose
Lnet/minecraft/client/render/entity/model/BipedEntityModel;rightArmPose:Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
-
sneaking
public boolean sneaking- Mappings:
Namespace Name Mixin selector official o
Lebb;o:Z
intermediary field_3400
Lnet/minecraft/class_572;field_3400:Z
named sneaking
Lnet/minecraft/client/render/entity/model/BipedEntityModel;sneaking:Z
-
leaningPitch
public float leaningPitch- Mappings:
Namespace Name Mixin selector official p
Lebb;p:F
intermediary field_3396
Lnet/minecraft/class_572;field_3396:F
named leaningPitch
Lnet/minecraft/client/render/entity/model/BipedEntityModel;leaningPitch:F
-
-
Constructor Details
-
BipedEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lebb;<init>(Ledh;)V
intermediary <init>
Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
BipedEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lebb;<init>(Ledh;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Ljava/util/function/Function;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector official a
Lebb;a(Ledl;F)Ledp;
intermediary method_32011
Lnet/minecraft/class_572;method_32011(Lnet/minecraft/class_5605;F)Lnet/minecraft/class_5609;
named getModelData
Lnet/minecraft/client/render/entity/model/BipedEntityModel;getModelData(Lnet/minecraft/client/util/math/Dilation;F)Lnet/minecraft/client/model/ModelData;
-
getHeadParts
- Specified by:
getHeadParts
in classAnimalModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Ldzt;a()Ljava/lang/Iterable;
intermediary method_22946
Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;
named getHeadParts
Lnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
-
getBodyParts
- Specified by:
getBodyParts
in classAnimalModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official b
Ldzt;b()Ljava/lang/Iterable;
intermediary method_22948
Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;
named getBodyParts
Lnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
-
animateModel
- Overrides:
animateModel
in classEntityModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lebb;a(Lari;FFF)V
intermediary method_17086
Lnet/minecraft/class_572;method_17086(Lnet/minecraft/class_1309;FFF)V
named animateModel
Lnet/minecraft/client/render/entity/model/BipedEntityModel;animateModel(Lnet/minecraft/entity/LivingEntity;FFF)V
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lebb;a(Lari;FFFFF)V
intermediary method_17087
Lnet/minecraft/class_572;method_17087(Lnet/minecraft/class_1309;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/BipedEntityModel;setAngles(Lnet/minecraft/entity/LivingEntity;FFFFF)V
-
positionRightArm
- Mappings:
Namespace Name Mixin selector official a
Lebb;a(Lari;)V
intermediary method_30154
Lnet/minecraft/class_572;method_30154(Lnet/minecraft/class_1309;)V
named positionRightArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionRightArm(Lnet/minecraft/entity/LivingEntity;)V
-
positionLeftArm
- Mappings:
Namespace Name Mixin selector official b
Lebb;b(Lari;)V
intermediary method_30155
Lnet/minecraft/class_572;method_30155(Lnet/minecraft/class_1309;)V
named positionLeftArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;positionLeftArm(Lnet/minecraft/entity/LivingEntity;)V
-
animateArms
- Mappings:
Namespace Name Mixin selector official a
Lebb;a(Lari;F)V
intermediary method_29353
Lnet/minecraft/class_572;method_29353(Lnet/minecraft/class_1309;F)V
named animateArms
Lnet/minecraft/client/render/entity/model/BipedEntityModel;animateArms(Lnet/minecraft/entity/LivingEntity;F)V
-
lerpAngle
protected float lerpAngle(float angleOne, float angleTwo, float magnitude)- Mappings:
Namespace Name Mixin selector official a
Lebb;a(FFF)F
intermediary method_2804
Lnet/minecraft/class_572;method_2804(FFF)F
named lerpAngle
Lnet/minecraft/client/render/entity/model/BipedEntityModel;lerpAngle(FFF)F
-
method_2807
private float method_2807(float float2)- Mappings:
Namespace Name Mixin selector official a
Lebb;a(F)F
intermediary method_2807
Lnet/minecraft/class_572;method_2807(F)F
named method_2807
Lnet/minecraft/client/render/entity/model/BipedEntityModel;method_2807(F)F
-
setAttributes
- Mappings:
Namespace Name Mixin selector official a
Lebb;a(Lebb;)V
intermediary method_2818
Lnet/minecraft/class_572;method_2818(Lnet/minecraft/class_572;)V
named setAttributes
Lnet/minecraft/client/render/entity/model/BipedEntityModel;setAttributes(Lnet/minecraft/client/render/entity/model/BipedEntityModel;)V
-
setVisible
public void setVisible(boolean visible)- Mappings:
Namespace Name Mixin selector official d_
Lebb;d_(Z)V
intermediary method_2805
Lnet/minecraft/class_572;method_2805(Z)V
named setVisible
Lnet/minecraft/client/render/entity/model/BipedEntityModel;setVisible(Z)V
-
setArmAngle
- Specified by:
setArmAngle
in interfaceModelWithArms
- Mappings:
Namespace Name Mixin selector official a
Ldzv;a(Lare;Ldlr;)V
intermediary method_2803
Lnet/minecraft/class_3881;method_2803(Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;)V
named setArmAngle
Lnet/minecraft/client/render/entity/model/ModelWithArms;setArmAngle(Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;)V
-
getArm
- Mappings:
Namespace Name Mixin selector official a
Lebb;a(Lare;)Ledh;
intermediary method_2808
Lnet/minecraft/class_572;method_2808(Lnet/minecraft/class_1306;)Lnet/minecraft/class_630;
named getArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;getArm(Lnet/minecraft/util/Arm;)Lnet/minecraft/client/model/ModelPart;
-
getHead
- Specified by:
getHead
in interfaceModelWithHead
- Mappings:
Namespace Name Mixin selector official d
Leax;d()Ledh;
intermediary method_2838
Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;
named getHead
Lnet/minecraft/client/render/entity/model/ModelWithHead;getHead()Lnet/minecraft/client/model/ModelPart;
-
getPreferredArm
- Mappings:
Namespace Name Mixin selector official c
Lebb;c(Lari;)Lare;
intermediary method_2806
Lnet/minecraft/class_572;method_2806(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1306;
named getPreferredArm
Lnet/minecraft/client/render/entity/model/BipedEntityModel;getPreferredArm(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/Arm;
-