java.lang.Object
com.pixelmonmod.pixelmon.client.render.entity.renderers.smd.SMDRenderer

public class SMDRenderer extends Object
This is just a place to keep the common code also used by SMDRenderingHandler
The usage in AbstractPokemonRenderer will later need changed not to use this but instead an abstract class for clean code surrounding the block bench model stuff!
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <A extends RenderableEntity>
    com.mojang.blaze3d.vertex.VertexConsumer
    getVertexConsumer(A entity, net.minecraft.resources.ResourceLocation texture, net.minecraft.client.renderer.MultiBufferSource buffer)
     
    static void
    renderBone(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedOverlay, int packedLight, Bone bone)
     
    static <A extends RenderableEntity>
    void
    renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float[] color, ModelData modelData)
     
    static <A extends RenderableEntity>
    void
    renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float[] color, ModelData modelData, ShaderParameters parameters)
     
    static <A extends RenderableEntity>
    void
    renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float red, float green, float blue, float alpha, ModelData modelData, ValveStudioModel model, ShaderParameters parameters, boolean renderAttachments)
     

    Methods inherited from class java.lang.Object

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

    • SMDRenderer

      public SMDRenderer()
  • Method Details

    • renderModel

      public static <A extends RenderableEntity> void renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float[] color, ModelData modelData)
    • renderModel

      public static <A extends RenderableEntity> void renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float[] color, ModelData modelData, ShaderParameters parameters)
    • renderModel

      public static <A extends RenderableEntity> void renderModel(A entity, com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.VertexConsumer verticies, int packedOverlay, int packedLight, float red, float green, float blue, float alpha, ModelData modelData, ValveStudioModel model, ShaderParameters parameters, boolean renderAttachments)
    • getVertexConsumer

      public static <A extends RenderableEntity> com.mojang.blaze3d.vertex.VertexConsumer getVertexConsumer(A entity, net.minecraft.resources.ResourceLocation texture, net.minecraft.client.renderer.MultiBufferSource buffer)
    • renderBone

      public static void renderBone(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedOverlay, int packedLight, Bone bone)