Class ShadedBlockSbbBuilder

java.lang.Object
net.createmod.catnip.render.ShadedBlockSbbBuilder
All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer

@Deprecated(forRemoval=true) public class ShadedBlockSbbBuilder extends Object implements com.mojang.blaze3d.vertex.VertexConsumer
Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.mojang.blaze3d.vertex.BufferBuilder
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected final it.unimi.dsi.fastutil.ints.IntList
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShadedBlockSbbBuilder(com.mojang.blaze3d.vertex.BufferBuilder bufferBuilder)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    color(int red, int green, int blue, int alpha)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    create(com.mojang.blaze3d.vertex.BufferBuilder builder)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    defaultColor(int red, int green, int blue, int alpha)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    end()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    normal(float x, float y, float z)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    overlayCoords(int u, int v)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    prepareForGeometry(net.minecraft.client.renderer.block.model.BakedQuad quad)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad quad, float[] brightnesses, float red, float green, float blue, int[] lights, int overlay, boolean readExistingColor)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad quad, float red, float green, float blue, int light, int overlay)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.BufferBuilder
    unwrap(boolean shade)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uv(float u, float v)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uv2(int u, int v)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    vertex(double x, double y, double z)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer

    color, color, normal, overlayCoords, uv2, vertex, vertex
  • Field Details

    • bufferBuilder

      protected final com.mojang.blaze3d.vertex.BufferBuilder bufferBuilder
      Deprecated, for removal: This API element is subject to removal in a future version.
    • shadeSwapVertices

      protected final it.unimi.dsi.fastutil.ints.IntList shadeSwapVertices
      Deprecated, for removal: This API element is subject to removal in a future version.
    • currentShade

      protected boolean currentShade
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • ShadedBlockSbbBuilder

      public ShadedBlockSbbBuilder(com.mojang.blaze3d.vertex.BufferBuilder bufferBuilder)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • create

      public static ShadedBlockSbbBuilder create()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • create

      public static ShadedBlockSbbBuilder create(com.mojang.blaze3d.vertex.BufferBuilder builder)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • begin

      public void begin()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • end

      public SuperByteBuffer end()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • unwrap

      public com.mojang.blaze3d.vertex.BufferBuilder unwrap(boolean shade)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepareForGeometry

      protected void prepareForGeometry(net.minecraft.client.renderer.block.model.BakedQuad quad)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad quad, float red, float green, float blue, int light, int overlay)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      putBulkData in interface com.mojang.blaze3d.vertex.VertexConsumer
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad quad, float[] brightnesses, float red, float green, float blue, int[] lights, int overlay, boolean readExistingColor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      putBulkData in interface com.mojang.blaze3d.vertex.VertexConsumer
    • vertex

      public com.mojang.blaze3d.vertex.VertexConsumer vertex(double x, double y, double z)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      vertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • color

      public com.mojang.blaze3d.vertex.VertexConsumer color(int red, int green, int blue, int alpha)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      color in interface com.mojang.blaze3d.vertex.VertexConsumer
    • uv

      public com.mojang.blaze3d.vertex.VertexConsumer uv(float u, float v)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      uv in interface com.mojang.blaze3d.vertex.VertexConsumer
    • overlayCoords

      public com.mojang.blaze3d.vertex.VertexConsumer overlayCoords(int u, int v)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      overlayCoords in interface com.mojang.blaze3d.vertex.VertexConsumer
    • uv2

      public com.mojang.blaze3d.vertex.VertexConsumer uv2(int u, int v)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      uv2 in interface com.mojang.blaze3d.vertex.VertexConsumer
    • normal

      public com.mojang.blaze3d.vertex.VertexConsumer normal(float x, float y, float z)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      normal in interface com.mojang.blaze3d.vertex.VertexConsumer
    • endVertex

      public void endVertex()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      endVertex in interface com.mojang.blaze3d.vertex.VertexConsumer
    • defaultColor

      public void defaultColor(int red, int green, int blue, int alpha)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      defaultColor in interface com.mojang.blaze3d.vertex.VertexConsumer
    • unsetDefaultColor

      public void unsetDefaultColor()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      unsetDefaultColor in interface com.mojang.blaze3d.vertex.VertexConsumer