Package net.minecraft.client.model
Class AxolotlModel<T extends Axolotl & LerpingModel>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.AxolotlModel<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
static final float
private final ModelPart
private final ModelPart
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
static LayerDefinition
private org.joml.Vector3f
getRotationVector
(ModelPart p_254355_) private void
private float
lerpTo
(float p_170375_, float p_170376_) private float
lerpTo
(float p_170378_, float p_170379_, float p_170380_) private void
saveAnimationValues
(T p_170389_) private void
setRotationFromVector
(ModelPart p_254301_, org.joml.Vector3f p_253783_) void
setupAnim
(T p_170395_, float p_170396_, float p_170397_, float p_170398_, float p_170399_, float p_170400_) private void
setupGroundCrawlingAnimation
(float p_170419_, float p_170420_) private void
setupInitialAnimationValues
(T p_170391_, float p_170392_, float p_170393_) private void
setupLayStillOnGroundAnimation
(float p_170415_, float p_170416_) private void
setupPlayDeadAnimation
(float p_170413_) private void
setupSwimmingAnimation
(float p_170423_, float p_170424_) private void
setupWaterHoveringAnimation
(float p_170373_) Methods inherited from class net.minecraft.client.model.AgeableListModel
renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
SWIMMING_LEG_XROT
public static final float SWIMMING_LEG_XROT- See Also:
-
tail
-
leftHindLeg
-
rightHindLeg
-
leftFrontLeg
-
rightFrontLeg
-
body
-
head
-
topGills
-
leftGills
-
rightGills
-
-
Constructor Details
-
AxolotlModel
-
-
Method Details
-
createBodyLayer
-
headParts
- Specified by:
headParts
in classAgeableListModel<T extends Axolotl & LerpingModel>
-
bodyParts
- Specified by:
bodyParts
in classAgeableListModel<T extends Axolotl & LerpingModel>
-
setupAnim
public void setupAnim(T p_170395_, float p_170396_, float p_170397_, float p_170398_, float p_170399_, float p_170400_) - Specified by:
setupAnim
in classEntityModel<T extends Axolotl & LerpingModel>
-
saveAnimationValues
-
getRotationVector
-
setRotationFromVector
-
setupInitialAnimationValues
-
lerpTo
private float lerpTo(float p_170375_, float p_170376_) -
lerpTo
private float lerpTo(float p_170378_, float p_170379_, float p_170380_) -
lerpPart
-
setupLayStillOnGroundAnimation
private void setupLayStillOnGroundAnimation(float p_170415_, float p_170416_) -
setupGroundCrawlingAnimation
private void setupGroundCrawlingAnimation(float p_170419_, float p_170420_) -
setupWaterHoveringAnimation
private void setupWaterHoveringAnimation(float p_170373_) -
setupSwimmingAnimation
private void setupSwimmingAnimation(float p_170423_, float p_170424_) -
setupPlayDeadAnimation
private void setupPlayDeadAnimation(float p_170413_) -
applyMirrorLegRotations
private void applyMirrorLegRotations()
-