Class ArmorModel

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>
vazkii.botania.client.model.armor.ArmorModel
All Implemented Interfaces:
net.minecraft.client.model.ArmedModel, net.minecraft.client.model.HeadedModel

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

    Nested classes/interfaces inherited from class net.minecraft.client.model.HumanoidModel

    net.minecraft.client.model.HumanoidModel.ArmPose
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.world.entity.EquipmentSlot
     

    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
    ArmorModel(net.minecraft.client.model.geom.ModelPart root, net.minecraft.world.entity.EquipmentSlot slot)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renderToBuffer(com.mojang.blaze3d.vertex.PoseStack ms, com.mojang.blaze3d.vertex.VertexConsumer buffer, int light, int overlay, int color)
     
    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.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
  • Field Details

    • slot

      protected final net.minecraft.world.entity.EquipmentSlot slot
  • Constructor Details

    • ArmorModel

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

    • 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 ms, com.mojang.blaze3d.vertex.VertexConsumer buffer, int light, int overlay, int color)
      Overrides:
      renderToBuffer in class net.minecraft.client.model.AgeableListModel<net.minecraft.world.entity.LivingEntity>