Class WolfEntityModel<T extends WolfEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.AnimalModel<E>
net.minecraft.client.render.entity.model.TintableAnimalModel<T>
net.minecraft.client.render.entity.model.WolfEntityModel<T>
@Environment(CLIENT) public class WolfEntityModel<T extends WolfEntity> extends TintableAnimalModel<T>
-
Field Summary
Fields Modifier and Type Field Description private ModelPartheadThis is the main bone used to animate the head.private ModelPartleftFrontLegprivate ModelPartleftHindLegprivate ModelPartneckprivate ModelPartrealHeadprivate ModelPartrealTailprivate ModelPartrightFrontLegprivate ModelPartrightHindLegprivate ModelParttailThis is the main bone used to animate the tail.private ModelParttorsoFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description WolfEntityModel(ModelPart root) -
Method Summary
Modifier and Type Method Description voidanimateModel(T t, float float2, float float3, float float4)protected Iterable<ModelPart>getBodyParts()protected Iterable<ModelPart>getHeadParts()static TexturedModelDatagetTexturedModelData()voidsetAngles(T t, float float2, float float3, float float4, float float5, float float6)Methods inherited from class net.minecraft.client.render.entity.model.TintableAnimalModel
render, setColorMultiplierMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
head
This is the main bone used to animate the head. It contains the#real_headas one of its children. -
realHead
-
torso
-
rightHindLeg
-
leftHindLeg
-
rightFrontLeg
-
leftFrontLeg
-
tail
This is the main bone used to animate the tail. It contains#real_tailas one of its children. -
realTail
-
neck
-
-
Constructor Details
-
WolfEntityModel
-
-
Method Details
-
getTexturedModelData
-
getHeadParts
- Specified by:
getHeadPartsin classAnimalModel<T extends WolfEntity>
-
getBodyParts
- Specified by:
getBodyPartsin classAnimalModel<T extends WolfEntity>
-
animateModel
- Overrides:
animateModelin classEntityModel<T extends WolfEntity>
-
setAngles
- Specified by:
setAnglesin classEntityModel<T extends WolfEntity>
-