Class BuiltBuffer

java.lang.Object
net.minecraft.client.render.BuiltBuffer
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class BuiltBuffer extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/render/BuiltBuffer
intermediary net/minecraft/class_9801
official ffu
  • Field Details Link icon

    • buffer Link icon

      private final BufferAllocator.CloseableBuffer buffer
      Mappings:
      Namespace Name Mixin selector
      named buffer Lnet/minecraft/client/render/BuiltBuffer;buffer:Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;
      intermediary field_52093 Lnet/minecraft/class_9801;field_52093:Lnet/minecraft/class_9799$class_9800;
      official a Lffu;a:Lffs$a;
    • sortedBuffer Link icon

      Mappings:
      Namespace Name Mixin selector
      named sortedBuffer Lnet/minecraft/client/render/BuiltBuffer;sortedBuffer:Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;
      intermediary field_52094 Lnet/minecraft/class_9801;field_52094:Lnet/minecraft/class_9799$class_9800;
      official b Lffu;b:Lffs$a;
    • drawParameters Link icon

      private final BuiltBuffer.DrawParameters drawParameters
      Mappings:
      Namespace Name Mixin selector
      named drawParameters Lnet/minecraft/client/render/BuiltBuffer;drawParameters:Lnet/minecraft/client/render/BuiltBuffer$DrawParameters;
      intermediary field_52095 Lnet/minecraft/class_9801;field_52095:Lnet/minecraft/class_9801$class_4574;
      official c Lffu;c:Lffu$a;
  • Constructor Details Link icon

    • BuiltBuffer Link icon

      public BuiltBuffer(BufferAllocator.CloseableBuffer buffer, BuiltBuffer.DrawParameters drawParameters)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/BuiltBuffer;<init>(Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;Lnet/minecraft/client/render/BuiltBuffer$DrawParameters;)V
      intermediary <init> Lnet/minecraft/class_9801;<init>(Lnet/minecraft/class_9799$class_9800;Lnet/minecraft/class_9801$class_4574;)V
      official <init> Lffu;<init>(Lffs$a;Lffu$a;)V
  • Method Details Link icon

    • collectCentroids Link icon

      private static Vector3f[] collectCentroids(ByteBuffer buf, int vertexCount, VertexFormat format)
      Mappings:
      Namespace Name Mixin selector
      named collectCentroids Lnet/minecraft/client/render/BuiltBuffer;collectCentroids(Ljava/nio/ByteBuffer;ILnet/minecraft/client/render/VertexFormat;)[Lorg/joml/Vector3f;
      intermediary method_60820 Lnet/minecraft/class_9801;method_60820(Ljava/nio/ByteBuffer;ILnet/minecraft/class_293;)[Lorg/joml/Vector3f;
      official a Lffu;a(Ljava/nio/ByteBuffer;ILfga;)[Lorg/joml/Vector3f;
    • getBuffer Link icon

      public ByteBuffer getBuffer()
      Mappings:
      Namespace Name Mixin selector
      named getBuffer Lnet/minecraft/client/render/BuiltBuffer;getBuffer()Ljava/nio/ByteBuffer;
      intermediary method_60818 Lnet/minecraft/class_9801;method_60818()Ljava/nio/ByteBuffer;
      official a Lffu;a()Ljava/nio/ByteBuffer;
    • getSortedBuffer Link icon

      @Nullable public @Nullable ByteBuffer getSortedBuffer()
      Mappings:
      Namespace Name Mixin selector
      named getSortedBuffer Lnet/minecraft/client/render/BuiltBuffer;getSortedBuffer()Ljava/nio/ByteBuffer;
      intermediary method_60821 Lnet/minecraft/class_9801;method_60821()Ljava/nio/ByteBuffer;
      official b Lffu;b()Ljava/nio/ByteBuffer;
    • getDrawParameters Link icon

      public BuiltBuffer.DrawParameters getDrawParameters()
      Mappings:
      Namespace Name Mixin selector
      named getDrawParameters Lnet/minecraft/client/render/BuiltBuffer;getDrawParameters()Lnet/minecraft/client/render/BuiltBuffer$DrawParameters;
      intermediary method_60822 Lnet/minecraft/class_9801;method_60822()Lnet/minecraft/class_9801$class_4574;
      official c Lffu;c()Lffu$a;
    • sortQuads Link icon

      @Nullable public @Nullable BuiltBuffer.SortState sortQuads(BufferAllocator allocator, VertexSorter sorter)
      Mappings:
      Namespace Name Mixin selector
      named sortQuads Lnet/minecraft/client/render/BuiltBuffer;sortQuads(Lnet/minecraft/client/util/BufferAllocator;Lcom/mojang/blaze3d/systems/VertexSorter;)Lnet/minecraft/client/render/BuiltBuffer$SortState;
      intermediary method_60819 Lnet/minecraft/class_9801;method_60819(Lnet/minecraft/class_9799;Lnet/minecraft/class_8251;)Lnet/minecraft/class_9801$class_9802;
      official a Lffu;a(Lffs;Lfgd;)Lffu$b;
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable