Class DraugrModel<T extends net.minecraft.world.entity.Mob & net.minecraft.world.entity.monster.RangedAttackMob>

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<T>
com.idark.valoria.client.render.model.entity.DraugrModel<T>
All Implemented Interfaces:
net.minecraft.client.model.ArmedModel, net.minecraft.client.model.HeadedModel

public class DraugrModel<T extends net.minecraft.world.entity.Mob & net.minecraft.world.entity.monster.RangedAttackMob> extends net.minecraft.client.model.HumanoidModel<T>
  • 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
    static final net.minecraft.client.model.geom.ModelLayerLocation
     

    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
    DraugrModel(net.minecraft.client.model.geom.ModelPart root)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.model.geom.builders.LayerDefinition
     
    void
    prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick)
     
    void
    renderToBuffer(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
     
    void
    setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch)
     
    void
    translateToHand(net.minecraft.world.entity.HumanoidArm pSide, com.mojang.blaze3d.vertex.PoseStack pPoseStack)
     

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

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

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

    copyPropertiesTo

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

    renderType

    Methods inherited from class java.lang.Object

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

    • LAYER_LOCATION

      public static final net.minecraft.client.model.geom.ModelLayerLocation LAYER_LOCATION
  • Constructor Details

    • DraugrModel

      public DraugrModel(net.minecraft.client.model.geom.ModelPart root)
  • Method Details

    • createBodyLayer

      public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer()
    • prepareMobModel

      public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick)
      Overrides:
      prepareMobModel in class net.minecraft.client.model.HumanoidModel<T extends net.minecraft.world.entity.Mob & net.minecraft.world.entity.monster.RangedAttackMob>
    • setupAnim

      public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch)
      Overrides:
      setupAnim in class net.minecraft.client.model.HumanoidModel<T extends net.minecraft.world.entity.Mob & net.minecraft.world.entity.monster.RangedAttackMob>
    • translateToHand

      public void translateToHand(net.minecraft.world.entity.HumanoidArm pSide, com.mojang.blaze3d.vertex.PoseStack pPoseStack)
      Specified by:
      translateToHand in interface net.minecraft.client.model.ArmedModel
      Overrides:
      translateToHand in class net.minecraft.client.model.HumanoidModel<T extends net.minecraft.world.entity.Mob & net.minecraft.world.entity.monster.RangedAttackMob>
    • renderToBuffer

      public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
      Overrides:
      renderToBuffer in class net.minecraft.client.model.AgeableListModel<T extends net.minecraft.world.entity.Mob & net.minecraft.world.entity.monster.RangedAttackMob>