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 ModelPartarmsprivate ModelParthatprivate ModelPartheadprivate ModelPartleftAttackingArmprivate ModelPartleftLegprivate ModelPartrightAttackingArmprivate ModelPartrightLegprivate ModelParttorsoFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields 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 ModelPartgetAttackingArm(Arm arm)ModelPartgetHat()ModelPartgetHead()Iterable<ModelPart>getParts()voidsetAngles(T t, float float2, float float3, float float4, float float5, float float6)voidsetArmAngle(Arm arm, MatrixStack matrices)Methods inherited from class net.minecraft.client.render.entity.model.CompositeEntityModel
renderMethods 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:
getPartsin classCompositeEntityModel<T extends IllagerEntity>
-
setAngles
- Specified by:
setAnglesin classEntityModel<T extends IllagerEntity>
-
getAttackingArm
-
getHat
-
getHead
- Specified by:
getHeadin interfaceModelWithHead
-
setArmAngle
- Specified by:
setArmAnglein interfaceModelWithArms
-