Class ChunkOffsetBufferBuilderWrapper

java.lang.Object
com.mojang.blaze3d.vertex.DefaultedVertexConsumer
com.mojang.blaze3d.vertex.BufferBuilder
com.ldtteam.structurize.client.ChunkOffsetBufferBuilderWrapper
All Implemented Interfaces:
com.mojang.blaze3d.vertex.BufferVertexConsumer, com.mojang.blaze3d.vertex.VertexConsumer, net.minecraftforge.client.extensions.IForgeVertexConsumer

public class ChunkOffsetBufferBuilderWrapper extends com.mojang.blaze3d.vertex.BufferBuilder
INLINE: delegate class, check method overrides
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.mojang.blaze3d.vertex.BufferBuilder

    com.mojang.blaze3d.vertex.BufferBuilder.DrawState, com.mojang.blaze3d.vertex.BufferBuilder.RenderedBuffer, com.mojang.blaze3d.vertex.BufferBuilder.SortState
  • Field Summary

    Fields inherited from class com.mojang.blaze3d.vertex.DefaultedVertexConsumer

    defaultA, defaultB, defaultColorSet, defaultG, defaultR
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    applyBakedLighting(int packedLight, ByteBuffer data)
     
    void
    applyBakedNormals(org.joml.Vector3f generated, ByteBuffer data, org.joml.Matrix3f normalTransform)
     
    void
    begin(com.mojang.blaze3d.vertex.VertexFormat.Mode p_166780_, com.mojang.blaze3d.vertex.VertexFormat p_166781_)
     
    boolean
     
    void
     
    com.mojang.blaze3d.vertex.VertexConsumer
    color(float p_85951_, float p_85952_, float p_85953_, float p_85954_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    color(int p_193480_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    color(int p_85692_, int p_85693_, int p_85694_, int p_85695_)
     
    com.mojang.blaze3d.vertex.VertexFormatElement
     
    void
    defaultColor(int p_85830_, int p_85831_, int p_85832_, int p_85833_)
     
    void
     
    com.mojang.blaze3d.vertex.BufferBuilder.RenderedBuffer
    end()
     
    com.mojang.blaze3d.vertex.BufferBuilder.RenderedBuffer
     
    void
     
    boolean
     
    com.mojang.blaze3d.vertex.BufferBuilder.SortState
     
    int
     
    boolean
     
    com.mojang.blaze3d.vertex.VertexConsumer
    misc(com.mojang.blaze3d.vertex.VertexFormatElement element, int... rawData)
     
    void
     
    com.mojang.blaze3d.vertex.VertexConsumer
    normal(float p_86005_, float p_86006_, float p_86007_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    normal(org.joml.Matrix3f p_253747_, float p_254430_, float p_253877_, float p_254167_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    overlayCoords(int p_86009_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    overlayCoords(int p_85971_, int p_85972_)
     
    void
    putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose p_85996_, net.minecraft.client.renderer.block.model.BakedQuad p_85997_, float[] p_85998_, float p_85999_, float p_86000_, float p_86001_, float alpha, int[] p_86002_, int p_86003_, boolean p_86004_)
     
    void
    putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose p_85996_, net.minecraft.client.renderer.block.model.BakedQuad p_85997_, float[] p_85998_, float p_85999_, float p_86000_, float p_86001_, int[] p_86002_, int p_86003_, boolean p_86004_)
     
    void
    putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad bakedQuad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay, boolean readExistingColor)
     
    void
    putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose p_85988_, net.minecraft.client.renderer.block.model.BakedQuad p_85989_, float p_85990_, float p_85991_, float p_85992_, int p_85993_, int p_85994_)
     
    void
     
    void
    putByte(int p_85686_, byte p_85687_)
     
    void
    putFloat(int p_85689_, float p_85690_)
     
    void
    putShort(int p_85700_, short p_85701_)
     
    void
    restoreSortState(com.mojang.blaze3d.vertex.BufferBuilder.SortState p_166776_)
     
    void
    setQuadSorting(com.mojang.blaze3d.vertex.VertexSorting p_277454_)
     
    setupGlobalInstance(com.mojang.blaze3d.vertex.BufferBuilder delegate, int offsetX, int offsetY, int offsetZ)
     
     
    void
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uv(float p_85948_, float p_85949_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uv2(int p_85970_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uv2(int p_86010_, int p_86011_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    uvShort(short p_85794_, short p_85795_, int p_85796_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    vertex(double p_85945_, double p_85946_, double p_85947_)
     
    void
    vertex(float p_85671_, float p_85672_, float p_85673_, float p_85674_, float p_85675_, float p_85676_, float p_85677_, float p_85678_, float p_85679_, int p_85680_, int p_85681_, float p_85682_, float p_85683_, float p_85684_)
     
    com.mojang.blaze3d.vertex.VertexConsumer
    vertex(org.joml.Matrix4f p_254075_, float p_254519_, float p_253869_, float p_253980_)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • setupGlobalInstance

      public static ChunkOffsetBufferBuilderWrapper setupGlobalInstance(com.mojang.blaze3d.vertex.BufferBuilder delegate, int offsetX, int offsetY, int offsetZ)
    • defaultColor

      public void defaultColor(int p_85830_, int p_85831_, int p_85832_, int p_85833_)
      Specified by:
      defaultColor in interface com.mojang.blaze3d.vertex.VertexConsumer
      Overrides:
      defaultColor in class com.mojang.blaze3d.vertex.DefaultedVertexConsumer
    • vertex

      public com.mojang.blaze3d.vertex.VertexConsumer vertex(double p_85945_, double p_85946_, double p_85947_)
    • unsetDefaultColor

      public void unsetDefaultColor()
      Specified by:
      unsetDefaultColor in interface com.mojang.blaze3d.vertex.VertexConsumer
      Overrides:
      unsetDefaultColor in class com.mojang.blaze3d.vertex.DefaultedVertexConsumer
    • misc

      public com.mojang.blaze3d.vertex.VertexConsumer misc(com.mojang.blaze3d.vertex.VertexFormatElement element, int... rawData)
    • uv

      public com.mojang.blaze3d.vertex.VertexConsumer uv(float p_85948_, float p_85949_)
    • overlayCoords

      public com.mojang.blaze3d.vertex.VertexConsumer overlayCoords(int p_85971_, int p_85972_)
    • uv2

      public com.mojang.blaze3d.vertex.VertexConsumer uv2(int p_86010_, int p_86011_)
    • normal

      public com.mojang.blaze3d.vertex.VertexConsumer normal(float p_86005_, float p_86006_, float p_86007_)
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad bakedQuad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay, boolean readExistingColor)
    • applyBakedLighting

      public int applyBakedLighting(int packedLight, ByteBuffer data)
    • color

      public com.mojang.blaze3d.vertex.VertexConsumer color(float p_85951_, float p_85952_, float p_85953_, float p_85954_)
    • color

      public com.mojang.blaze3d.vertex.VertexConsumer color(int p_193480_)
    • applyBakedNormals

      public void applyBakedNormals(org.joml.Vector3f generated, ByteBuffer data, org.joml.Matrix3f normalTransform)
    • uv2

      public com.mojang.blaze3d.vertex.VertexConsumer uv2(int p_85970_)
    • overlayCoords

      public com.mojang.blaze3d.vertex.VertexConsumer overlayCoords(int p_86009_)
    • setQuadSorting

      public void setQuadSorting(com.mojang.blaze3d.vertex.VertexSorting p_277454_)
      Overrides:
      setQuadSorting in class com.mojang.blaze3d.vertex.BufferBuilder
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose p_85988_, net.minecraft.client.renderer.block.model.BakedQuad p_85989_, float p_85990_, float p_85991_, float p_85992_, int p_85993_, int p_85994_)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getSortState

      public com.mojang.blaze3d.vertex.BufferBuilder.SortState getSortState()
      Overrides:
      getSortState in class com.mojang.blaze3d.vertex.BufferBuilder
    • uvShort

      public com.mojang.blaze3d.vertex.VertexConsumer uvShort(short p_85794_, short p_85795_, int p_85796_)
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose p_85996_, net.minecraft.client.renderer.block.model.BakedQuad p_85997_, float[] p_85998_, float p_85999_, float p_86000_, float p_86001_, int[] p_86002_, int p_86003_, boolean p_86004_)
    • restoreSortState

      public void restoreSortState(com.mojang.blaze3d.vertex.BufferBuilder.SortState p_166776_)
      Overrides:
      restoreSortState in class com.mojang.blaze3d.vertex.BufferBuilder
    • putBulkData

      public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose p_85996_, net.minecraft.client.renderer.block.model.BakedQuad p_85997_, float[] p_85998_, float p_85999_, float p_86000_, float p_86001_, float alpha, int[] p_86002_, int p_86003_, boolean p_86004_)
    • begin

      public void begin(com.mojang.blaze3d.vertex.VertexFormat.Mode p_166780_, com.mojang.blaze3d.vertex.VertexFormat p_166781_)
      Overrides:
      begin in class com.mojang.blaze3d.vertex.BufferBuilder
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • vertex

      public com.mojang.blaze3d.vertex.VertexConsumer vertex(org.joml.Matrix4f p_254075_, float p_254519_, float p_253869_, float p_253980_)
    • normal

      public com.mojang.blaze3d.vertex.VertexConsumer normal(org.joml.Matrix3f p_253747_, float p_254430_, float p_253877_, float p_254167_)
    • isCurrentBatchEmpty

      public boolean isCurrentBatchEmpty()
      Overrides:
      isCurrentBatchEmpty in class com.mojang.blaze3d.vertex.BufferBuilder
    • endOrDiscardIfEmpty

      public com.mojang.blaze3d.vertex.BufferBuilder.RenderedBuffer endOrDiscardIfEmpty()
      Overrides:
      endOrDiscardIfEmpty in class com.mojang.blaze3d.vertex.BufferBuilder
    • end

      public com.mojang.blaze3d.vertex.BufferBuilder.RenderedBuffer end()
      Overrides:
      end in class com.mojang.blaze3d.vertex.BufferBuilder
    • putByte

      public void putByte(int p_85686_, byte p_85687_)
      Specified by:
      putByte in interface com.mojang.blaze3d.vertex.BufferVertexConsumer
      Overrides:
      putByte in class com.mojang.blaze3d.vertex.BufferBuilder
    • putShort

      public void putShort(int p_85700_, short p_85701_)
      Specified by:
      putShort in interface com.mojang.blaze3d.vertex.BufferVertexConsumer
      Overrides:
      putShort in class com.mojang.blaze3d.vertex.BufferBuilder
    • putFloat

      public void putFloat(int p_85689_, float p_85690_)
      Specified by:
      putFloat in interface com.mojang.blaze3d.vertex.BufferVertexConsumer
      Overrides:
      putFloat in class com.mojang.blaze3d.vertex.BufferBuilder
    • endVertex

      public void endVertex()
      Specified by:
      endVertex in interface com.mojang.blaze3d.vertex.VertexConsumer
      Overrides:
      endVertex in class com.mojang.blaze3d.vertex.BufferBuilder
    • nextElement

      public void nextElement()
      Specified by:
      nextElement in interface com.mojang.blaze3d.vertex.BufferVertexConsumer
      Overrides:
      nextElement in class com.mojang.blaze3d.vertex.BufferBuilder
    • color

      public com.mojang.blaze3d.vertex.VertexConsumer color(int p_85692_, int p_85693_, int p_85694_, int p_85695_)
      Specified by:
      color in interface com.mojang.blaze3d.vertex.BufferVertexConsumer
      Specified by:
      color in interface com.mojang.blaze3d.vertex.VertexConsumer
      Overrides:
      color in class com.mojang.blaze3d.vertex.BufferBuilder
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • vertex

      public void vertex(float p_85671_, float p_85672_, float p_85673_, float p_85674_, float p_85675_, float p_85676_, float p_85677_, float p_85678_, float p_85679_, int p_85680_, int p_85681_, float p_85682_, float p_85683_, float p_85684_)
      Specified by:
      vertex in interface com.mojang.blaze3d.vertex.VertexConsumer
      Overrides:
      vertex in class com.mojang.blaze3d.vertex.BufferBuilder
    • clear

      public void clear()
      Overrides:
      clear in class com.mojang.blaze3d.vertex.BufferBuilder
    • discard

      public void discard()
      Overrides:
      discard in class com.mojang.blaze3d.vertex.BufferBuilder
    • currentElement

      public com.mojang.blaze3d.vertex.VertexFormatElement currentElement()
      Specified by:
      currentElement in interface com.mojang.blaze3d.vertex.BufferVertexConsumer
      Overrides:
      currentElement in class com.mojang.blaze3d.vertex.BufferBuilder
    • building

      public boolean building()
      Overrides:
      building in class com.mojang.blaze3d.vertex.BufferBuilder
    • putBulkData

      public void putBulkData(ByteBuffer buffer)
      Overrides:
      putBulkData in class com.mojang.blaze3d.vertex.BufferBuilder