Class GoblinModel<T extends GoblinEntity>

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.GoblinModel<T>
All Implemented Interfaces:
net.minecraft.client.model.ArmedModel, net.minecraft.client.model.HeadedModel

public class GoblinModel<T extends GoblinEntity> 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
    GoblinModel(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 entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
     
    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

    • GoblinModel

      public GoblinModel(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 GoblinEntity>
    • setupAnim

      public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
      Overrides:
      setupAnim in class net.minecraft.client.model.HumanoidModel<T extends GoblinEntity>
    • 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 GoblinEntity>
    • 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 GoblinEntity>