Class IllagerEntityModel<T extends IllagerEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.CompositeEntityModel<T>
net.minecraft.client.render.entity.model.IllagerEntityModel<T>
- All Implemented Interfaces:
Consumer<ModelPart>
,ModelWithArms
,ModelWithHead
@Environment(CLIENT) public class IllagerEntityModel<T extends IllagerEntity> extends CompositeEntityModel<T> implements ModelWithArms, ModelWithHead
-
Field Summary
Fields Modifier and Type Field Description private ModelPart
arms
private ModelPart
hat
private ModelPart
head
private ModelPart
leftAttackingArm
private ModelPart
leftLeg
private ModelPart
rightAttackingArm
private ModelPart
rightLeg
private ModelPart
torso
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory, textureHeight, textureWidth
-
Constructor Summary
Constructors Constructor Description IllagerEntityModel(float scale, float pivotY, int textureWidth, int textureHeight)
-
Method Summary
Modifier and Type Method Description private ModelPart
getAttackingArm(Arm arm)
ModelPart
getHat()
ModelPart
getHead()
Iterable<ModelPart>
getParts()
void
setAngles(T t, float float2, float float3, float float4, float float5, float float6)
void
setArmAngle(Arm arm, MatrixStack matrices)
Methods inherited from class net.minecraft.client.render.entity.model.CompositeEntityModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
head
-
hat
-
torso
-
arms
-
rightLeg
-
leftLeg
-
rightAttackingArm
-
leftAttackingArm
-
-
Constructor Details
-
IllagerEntityModel
public IllagerEntityModel(float scale, float pivotY, int textureWidth, int textureHeight)
-
-
Method Details
-
getParts
- Specified by:
getParts
in classCompositeEntityModel<T extends IllagerEntity>
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends IllagerEntity>
-
getAttackingArm
-
getHat
-
getHead
- Specified by:
getHead
in interfaceModelWithHead
-
setArmAngle
- Specified by:
setArmAngle
in interfaceModelWithArms
-