Class ShadedBlockSbbBuilder

java.lang.Object
net.createmod.catnip.render.ShadedBlockSbbBuilder
All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer, net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
Direct Known Subclasses:
NeoForgeShadedBlockSbbBuilder

@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 com.mojang.blaze3d.vertex.BufferBuilder
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final com.mojang.blaze3d.vertex.ByteBufferBuilder
    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 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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.blaze3d.vertex.VertexConsumer
    addVertex(float x, float y, float z)
    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.
     
    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.
     
    end()
    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, float alpha, 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, float alpha, int packedLight, int packedOverlay)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    setColor(int red, int green, int blue, int alpha)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    setNormal(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
    setUv(float u, float v)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    setUv1(int u, int v)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mojang.blaze3d.vertex.VertexConsumer
    setUv2(int u, int v)
    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.
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.neoforged.neoforge.client.extensions.IVertexConsumerExtension

    applyBakedLighting, applyBakedNormals, misc, putBulkData

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

    addVertex, addVertex, addVertex, addVertex, addVertex, setColor, setColor, setLight, setNormal, setOverlay, setWhiteAlpha
  • Field Details

    • BYTE_BUFFER_BUILDER

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

      protected 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.
    • invertFakeNormal

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

    • ShadedBlockSbbBuilder

      public ShadedBlockSbbBuilder()
      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.
    • createForPonder

      public static ShadedBlockSbbBuilder createForPonder()
      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, float alpha, int packedLight, int packedOverlay)
      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, float alpha, 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
    • addVertex

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

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

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

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

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

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