Class PixelmonModelRenderer

java.lang.Object
net.minecraft.client.model.geom.ModelPart
com.pixelmonmod.pixelmon.client.models.PixelmonModelRenderer

public class PixelmonModelRenderer extends net.minecraft.client.model.geom.ModelPart
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.client.model.geom.ModelPart

    net.minecraft.client.model.geom.ModelPart.Cube, net.minecraft.client.model.geom.ModelPart.Visitor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
     
     
     
    double
     
    double
     
    double
     
    float
     

    Fields inherited from class net.minecraft.client.model.geom.ModelPart

    children, cubes, DEFAULT_SCALE, initialPose, skipDraw, visible, x, xRot, xScale, y, yRot, yScale, z, zRot, zScale
  • Constructor Summary

    Constructors
    Constructor
    Description
    PixelmonModelRenderer(net.minecraft.client.model.Model model)
     
    PixelmonModelRenderer(net.minecraft.client.model.Model model, String label)
     
    PixelmonModelRenderer(net.minecraft.client.model.Model model, String label, int texOffX, int texOffY)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    net.minecraft.client.model.Model
     
    boolean
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay)
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
     
    protected void
    renderCustomModels(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha, float scale, float partialTick)
     
    void
    setTransparent(float transparency)
     

    Methods inherited from class net.minecraft.client.model.geom.ModelPart

    copyFrom, getAllParts, getChild, getInitialPose, getRandomCube, hasChild, isEmpty, loadPose, offsetPos, offsetRotation, offsetScale, resetPose, setInitialPose, setPos, setRotation, storePose, translateAndRotate, visit

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • label

      public String label
    • objs

    • offsetX

      public double offsetX
    • offsetY

      public double offsetY
    • offsetZ

      public double offsetZ
    • isHidden

      public boolean isHidden
    • scale

      public float scale
  • Constructor Details

    • PixelmonModelRenderer

      public PixelmonModelRenderer(net.minecraft.client.model.Model model, String label)
    • PixelmonModelRenderer

      public PixelmonModelRenderer(net.minecraft.client.model.Model model)
    • PixelmonModelRenderer

      public PixelmonModelRenderer(net.minecraft.client.model.Model model, String label, int texOffX, int texOffY)
  • Method Details

    • addCustomModel

      public void addCustomModel(ModelCustomWrapper model)
    • setTransparent

      public void setTransparent(float transparency)
    • isTransparent

      public boolean isTransparent()
    • getModel

      public net.minecraft.client.model.Model getModel()
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
      Overrides:
      render in class net.minecraft.client.model.geom.ModelPart
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay)
      Overrides:
      render in class net.minecraft.client.model.geom.ModelPart
    • renderCustomModels

      protected void renderCustomModels(com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha, float scale, float partialTick)