Class BufferAllocator.CloseableBuffer

java.lang.Object
net.minecraft.client.util.BufferAllocator.CloseableBuffer
All Implemented Interfaces:
AutoCloseable
Enclosing class:
BufferAllocator

@Environment(CLIENT) public class BufferAllocator.CloseableBuffer extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/util/BufferAllocator$CloseableBuffer
intermediary net/minecraft/class_9799$class_9800
official fgo$a
  • Field Details

    • offset

      private final int offset
      Mappings:
      Namespace Name Mixin selector
      named offset Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;offset:I
      intermediary field_52089 Lnet/minecraft/class_9799$class_9800;field_52089:I
      official b Lfgo$a;b:I
    • size

      private final int size
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;size:I
      intermediary field_52090 Lnet/minecraft/class_9799$class_9800;field_52090:I
      official c Lfgo$a;c:I
    • clearCount

      private final int clearCount
      Mappings:
      Namespace Name Mixin selector
      named clearCount Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;clearCount:I
      intermediary field_52091 Lnet/minecraft/class_9799$class_9800;field_52091:I
      official d Lfgo$a;d:I
    • closed

      private boolean closed
      Mappings:
      Namespace Name Mixin selector
      named closed Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;closed:Z
      intermediary field_52092 Lnet/minecraft/class_9799$class_9800;field_52092:Z
      official e Lfgo$a;e:Z
  • Constructor Details

    • CloseableBuffer

      CloseableBuffer(int offset, int size, int clearCount)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;<init>(Lnet/minecraft/client/util/BufferAllocator;III)V
      intermediary <init> Lnet/minecraft/class_9799$class_9800;<init>(Lnet/minecraft/class_9799;III)V
      official <init> Lfgo$a;<init>(Lfgo;III)V
  • Method Details

    • getBuffer

      public ByteBuffer getBuffer()
      Mappings:
      Namespace Name Mixin selector
      named getBuffer Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;getBuffer()Ljava/nio/ByteBuffer;
      intermediary method_60817 Lnet/minecraft/class_9799$class_9800;method_60817()Ljava/nio/ByteBuffer;
      official a Lfgo$a;a()Ljava/nio/ByteBuffer;
    • close

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