Class GenericSmdModel

java.lang.Object
net.minecraft.client.model.Model
com.pixelmonmod.pixelmon.client.models.blocks.GenericSmdModel
Direct Known Subclasses:
ModelMechanicalAnvil

public class GenericSmdModel extends net.minecraft.client.model.Model
Created by clienthax on 10/3/2015. Edited by Rasgnarok on 6/28/2018. Converted to 1.16.5 by Waterdude on 20/11/2021.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

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

    renderType
  • Constructor Summary

    Constructors
    Constructor
    Description
    GenericSmdModel(String basePath, String pqcPath)
     
    GenericSmdModel(net.minecraft.resources.ResourceLocation pqcResource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay)
     
    void
    renderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
     
    void
    setFrame(int frame)
     

    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

  • Constructor Details

    • GenericSmdModel

      public GenericSmdModel(net.minecraft.resources.ResourceLocation pqcResource)
    • GenericSmdModel

      public GenericSmdModel(String basePath, String pqcPath)
  • Method Details

    • reloadModel

      public void reloadModel()
    • getModel

      public ValveStudioModel getModel()
    • setFrame

      public void setFrame(int frame)
    • renderToBuffer

      public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrix, 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
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay)