Class MannequinModel<T extends net.minecraft.world.entity.Entity>

java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
com.idark.valoria.client.render.model.entity.MannequinModel<T>

public class MannequinModel<T extends net.minecraft.world.entity.Entity> extends net.minecraft.client.model.EntityModel<T>
  • 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

    Constructors
    Constructor
    Description
    MannequinModel(net.minecraft.client.model.geom.ModelPart root)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.model.geom.builders.LayerDefinition
     
    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
    setRotationAngle(net.minecraft.client.model.geom.ModelPart modelRenderer, float x, float y, float z)
     
    void
    setupAnim(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float HeadPitch)
     

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

    copyPropertiesTo, prepareMobModel

    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
  • Constructor Details

    • MannequinModel

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

    • createBodyLayer

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

      public void setupAnim(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float HeadPitch)
      Specified by:
      setupAnim in class net.minecraft.client.model.EntityModel<T extends net.minecraft.world.entity.Entity>
    • 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)
      Specified by:
      renderToBuffer in class net.minecraft.client.model.Model
    • setRotationAngle

      public void setRotationAngle(net.minecraft.client.model.geom.ModelPart modelRenderer, float x, float y, float z)