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 ModelPart
head
This is the main bone used to animate the head.private ModelPart
leftFrontLeg
private ModelPart
leftHindLeg
private ModelPart
neck
private ModelPart
realHead
private ModelPart
realTail
private ModelPart
rightFrontLeg
private ModelPart
rightHindLeg
private ModelPart
tail
This is the main bone used to animate the tail.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
-
Constructor Summary
Constructors Constructor Description WolfEntityModel(ModelPart root)
-
Method Summary
Modifier and Type Method Description void
animateModel(T t, float float2, float float3, float float4)
protected Iterable<ModelPart>
getBodyParts()
protected Iterable<ModelPart>
getHeadParts()
static TexturedModelData
getTexturedModelData()
void
setAngles(T t, float float2, float float3, float float4, float float5, float float6)
Methods inherited from class net.minecraft.client.render.entity.model.TintableAnimalModel
render, setColorMultiplier
Methods 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_head
as one of its children. -
realHead
-
torso
-
rightHindLeg
-
leftHindLeg
-
rightFrontLeg
-
leftFrontLeg
-
tail
This is the main bone used to animate the tail. It contains#real_tail
as one of its children. -
realTail
-
neck
-
-
Constructor Details
-
WolfEntityModel
-
-
Method Details
-
getTexturedModelData
-
getHeadParts
- Specified by:
getHeadParts
in classAnimalModel<T extends WolfEntity>
-
getBodyParts
- Specified by:
getBodyParts
in classAnimalModel<T extends WolfEntity>
-
animateModel
- Overrides:
animateModel
in classEntityModel<T extends WolfEntity>
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends WolfEntity>
-