Class BackpackModel

java.lang.Object
net.minecraft.client.model.Model
com.hammy275.immersivemc.client.model.BackpackModel

public class BackpackModel extends net.minecraft.client.model.Model
  • 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.Model

    renderType
  • Constructor Summary

    Constructors
    Constructor
    Description
    BackpackModel(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)
     

    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

    • textureLocation

      public static final net.minecraft.resources.ResourceLocation textureLocation
    • LAYER_LOCATION

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

    • BackpackModel

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

    • createBodyLayer

      public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer()
    • 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