Class ModelBikeArmor
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.HumanoidModel<net.minecraft.client.player.AbstractClientPlayer>
com.pixelmonmod.pixelmon.client.render.player.ModelBikeArmor
- All Implemented Interfaces:
net.minecraft.client.model.ArmedModel
,net.minecraft.client.model.HeadedModel
public class ModelBikeArmor
extends net.minecraft.client.model.HumanoidModel<net.minecraft.client.player.AbstractClientPlayer>
Created by Jay113355 on 11/1/2019.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModel
net.minecraft.client.model.HumanoidModel.ArmPose
-
Field Summary
Fields inherited from class net.minecraft.client.model.HumanoidModel
body, crouching, hat, HAT_OVERLAY_SCALE, head, leftArm, leftArmPose, leftLeg, LEGGINGS_OVERLAY_SCALE, OVERLAY_SCALE, rightArm, rightArmPose, rightLeg, swimAmount, TOOT_HORN_XROT_BASE, TOOT_HORN_YROT_BASE
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
ConstructorDescriptionModelBikeArmor
(net.minecraft.client.model.geom.ModelPart p_170677_) ModelBikeArmor
(net.minecraft.client.model.geom.ModelPart p_170679_, Function<net.minecraft.resources.ResourceLocation, net.minecraft.client.renderer.RenderType> p_170680_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRotationAngles
(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, net.minecraft.world.entity.Entity entityIn) Sets the model's various rotation angles.Methods inherited from class net.minecraft.client.model.HumanoidModel
bodyParts, copyPropertiesTo, createMesh, getArm, getHead, headParts, prepareMobModel, rotlerpRad, setAllVisible, setupAnim, setupAttackAnimation, translateToHand
Methods inherited from class net.minecraft.client.model.AgeableListModel
renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo
Methods inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Details
-
ModelBikeArmor
public ModelBikeArmor(net.minecraft.client.model.geom.ModelPart p_170677_) -
ModelBikeArmor
public ModelBikeArmor(net.minecraft.client.model.geom.ModelPart p_170679_, Function<net.minecraft.resources.ResourceLocation, net.minecraft.client.renderer.RenderType> p_170680_)
-
-
Method Details
-
setRotationAngles
public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, net.minecraft.world.entity.Entity entityIn) Sets the model's various rotation angles. For bipeds, par1 and par2 are used for animating the movement of arms and legs, where par1 represents the time(so that arms and legs swing back and forth) and par2 represents how "far" arms and legs can swing at most.
-