Class UndeadModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.HierarchicalModel<UndeadEntity>
com.idark.valoria.client.render.model.entity.UndeadModel
- All Implemented Interfaces:
net.minecraft.client.model.ArmedModel
public class UndeadModel
extends net.minecraft.client.model.HierarchicalModel<UndeadEntity>
implements net.minecraft.client.model.ArmedModel
-
Field Summary
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 TypeMethodDescriptionstatic net.minecraft.client.model.geom.builders.LayerDefinition
net.minecraft.client.model.geom.ModelPart
root()
void
setupAnim
(UndeadEntity pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesvoid
translateToHand
(net.minecraft.world.entity.HumanoidArm pSide, com.mojang.blaze3d.vertex.PoseStack pPoseStack) Methods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animateWalk, applyStatic, getAnyDescendantWithName, renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Details
-
UndeadModel
public UndeadModel(net.minecraft.client.model.geom.ModelPart pRoot)
-
-
Method Details
-
createBodyLayer
public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer() -
setupAnim
public void setupAnim(UndeadEntity pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Specified by:
setupAnim
in classnet.minecraft.client.model.EntityModel<UndeadEntity>
-
root
public net.minecraft.client.model.geom.ModelPart root()- Specified by:
root
in classnet.minecraft.client.model.HierarchicalModel<UndeadEntity>
-
translateToHand
public void translateToHand(net.minecraft.world.entity.HumanoidArm pSide, com.mojang.blaze3d.vertex.PoseStack pPoseStack) - Specified by:
translateToHand
in interfacenet.minecraft.client.model.ArmedModel
-