Class SpearModel

java.lang.Object
net.minecraft.client.model.Model
com.minecolonies.core.client.model.SpearModel

public class SpearModel extends net.minecraft.client.model.Model
Model for the Spear. The model is a long wooden rod with an iron head and leather handle.
  • Field Summary

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

    renderType
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpearModel(net.minecraft.client.model.geom.ModelPart handle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.model.geom.builders.LayerDefinition
     
    void
    renderToBuffer(@NotNull com.mojang.blaze3d.vertex.PoseStack matrixStack, @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, 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
  • Constructor Details

    • SpearModel

      public SpearModel(net.minecraft.client.model.geom.ModelPart handle)
  • Method Details

    • createLayer

      public static net.minecraft.client.model.geom.builders.LayerDefinition createLayer()
    • renderToBuffer

      public void renderToBuffer(@NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack matrixStack, @NotNull @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
      Specified by:
      renderToBuffer in class net.minecraft.client.model.Model