Class BackpackCraftingModel

java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<net.minecraft.world.entity.Entity>
com.hammy275.immersivemc.client.model.BackpackCraftingModel

public class BackpackCraftingModel extends net.minecraft.client.model.EntityModel<net.minecraft.world.entity.Entity>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.client.model.geom.ModelLayerLocation
     
    static final net.minecraft.resources.ResourceLocation
     

    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
    BackpackCraftingModel(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
    setupAnim(net.minecraft.world.entity.Entity entity, 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
  • Field Details

    • LAYER_LOCATION

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

      public static final net.minecraft.resources.ResourceLocation textureLocation
  • Constructor Details

    • BackpackCraftingModel

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

    • createBodyLayer

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

      public void setupAnim(net.minecraft.world.entity.Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
      Specified by:
      setupAnim in class net.minecraft.client.model.EntityModel<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