Package net.minecraft.client.model
Class SnifferModel<T extends Sniffer>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.HierarchicalModel<T>
net.minecraft.client.model.AgeableHierarchicalModel<T>
net.minecraft.client.model.SnifferModel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private static final float
private static final float
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
root()
void
setupAnim
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesMethods inherited from class net.minecraft.client.model.AgeableHierarchicalModel
renderToBuffer
Methods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animate, animate, animateWalk, animateWalk, applyStatic, applyStatic, getAnimation, getAnyDescendantWithName
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
WALK_ANIMATION_SPEED_MAX
private static final float WALK_ANIMATION_SPEED_MAX- See Also:
-
WALK_ANIMATION_SCALE_FACTOR
private static final float WALK_ANIMATION_SCALE_FACTOR- See Also:
-
root
-
head
-
-
Constructor Details
-
SnifferModel
-
-
Method Details
-
createBodyLayer
-
setupAnim
public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Specified by:
setupAnim
in classEntityModel<T extends Sniffer>
-
root
- Specified by:
root
in classHierarchicalModel<T extends Sniffer>
-