java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<net.minecraft.world.entity.LivingEntity>
net.minecraft.client.model.AgeableListModel<net.minecraft.world.entity.LivingEntity>
net.minecraft.client.model.HumanoidModel<net.minecraft.world.entity.LivingEntity>
net.minecraft.client.model.HumanoidArmorModel<net.minecraft.world.entity.LivingEntity>
com.portingdeadmods.portingdeadlibs.api.client.models.PDLArmorModel
All Implemented Interfaces:
net.minecraft.client.model.ArmedModel, net.minecraft.client.model.HeadedModel

public class PDLArmorModel extends net.minecraft.client.model.HumanoidArmorModel<net.minecraft.world.entity.LivingEntity>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
     

    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

    Constructors
    Constructor
    Description
    PDLArmorModel(net.minecraft.client.model.geom.ModelPart root, net.minecraft.world.entity.EquipmentSlot slot)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.model.geom.builders.LayerDefinition
    createLayer(int textureWidth, int textureHeight, Consumer<PDLArmorModel.PartsDefinition> partsConsumer)
     
    void
    renderToBuffer(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color)
     
    protected void
    setPartVisibility(net.minecraft.world.entity.EquipmentSlot slot)
     
    void
    setupAnim(net.minecraft.world.entity.LivingEntity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
     

    Methods inherited from class net.minecraft.client.model.HumanoidArmorModel

    createBodyLayer

    Methods inherited from class net.minecraft.client.model.HumanoidModel

    bodyParts, copyPropertiesTo, createMesh, getArm, getHead, headParts, prepareMobModel, rotlerpRad, setAllVisible, setupAttackAnimation, translateToHand

    Methods inherited from class net.minecraft.client.model.EntityModel

    copyPropertiesTo

    Methods inherited from class net.minecraft.client.model.Model

    renderToBuffer, renderType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PDLArmorModel

      public PDLArmorModel(net.minecraft.client.model.geom.ModelPart root, net.minecraft.world.entity.EquipmentSlot slot)
  • Method Details

    • createLayer

      public static net.minecraft.client.model.geom.builders.LayerDefinition createLayer(int textureWidth, int textureHeight, Consumer<PDLArmorModel.PartsDefinition> partsConsumer)
    • setupAnim

      public void setupAnim(net.minecraft.world.entity.LivingEntity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
      Overrides:
      setupAnim in class net.minecraft.client.model.HumanoidModel<net.minecraft.world.entity.LivingEntity>
    • renderToBuffer

      public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color)
      Overrides:
      renderToBuffer in class net.minecraft.client.model.AgeableListModel<net.minecraft.world.entity.LivingEntity>
    • setPartVisibility

      protected void setPartVisibility(net.minecraft.world.entity.EquipmentSlot slot)