Class BlockBufferBuilderPool

java.lang.Object
net.minecraft.client.render.chunk.BlockBufferBuilderPool

@Environment(CLIENT) public class BlockBufferBuilderPool extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/chunk/BlockBufferBuilderPool
intermediary net/minecraft/class_8901
official gfl
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;LOGGER:Lorg/slf4j/Logger;
      intermediary field_46904 Lnet/minecraft/class_8901;field_46904:Lorg/slf4j/Logger;
      official a Lgfl;a:Lorg/slf4j/Logger;
    • availableBuilders

      private final Queue<BlockBufferAllocatorStorage> availableBuilders
      Mappings:
      Namespace Name Mixin selector
      named availableBuilders Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;availableBuilders:Ljava/util/Queue;
      intermediary field_46905 Lnet/minecraft/class_8901;field_46905:Ljava/util/Queue;
      official b Lgfl;b:Ljava/util/Queue;
    • availableBuilderCount

      private volatile int availableBuilderCount
      Mappings:
      Namespace Name Mixin selector
      named availableBuilderCount Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;availableBuilderCount:I
      intermediary field_46906 Lnet/minecraft/class_8901;field_46906:I
      official c Lgfl;c:I
  • Constructor Details

    • BlockBufferBuilderPool

      private BlockBufferBuilderPool(List<BlockBufferAllocatorStorage> availableBuilders)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_8901;<init>(Ljava/util/List;)V
      official <init> Lgfl;<init>(Ljava/util/List;)V
  • Method Details

    • allocate

      public static BlockBufferBuilderPool allocate(int max)
      Mappings:
      Namespace Name Mixin selector
      named allocate Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;allocate(I)Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;
      intermediary method_54643 Lnet/minecraft/class_8901;method_54643(I)Lnet/minecraft/class_8901;
      official a Lgfl;a(I)Lgfl;
    • acquire

      Mappings:
      Namespace Name Mixin selector
      named acquire Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;acquire()Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;
      intermediary method_54642 Lnet/minecraft/class_8901;method_54642()Lnet/minecraft/class_750;
      official a Lgfl;a()Lgfk;
    • release

      public void release(BlockBufferAllocatorStorage builders)
      Mappings:
      Namespace Name Mixin selector
      named release Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;release(Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;)V
      intermediary method_54644 Lnet/minecraft/class_8901;method_54644(Lnet/minecraft/class_750;)V
      official a Lgfl;a(Lgfk;)V
    • hasNoAvailableBuilder

      public boolean hasNoAvailableBuilder()
      Mappings:
      Namespace Name Mixin selector
      named hasNoAvailableBuilder Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;hasNoAvailableBuilder()Z
      intermediary method_54645 Lnet/minecraft/class_8901;method_54645()Z
      official b Lgfl;b()Z
    • getAvailableBuilderCount

      public int getAvailableBuilderCount()
      Mappings:
      Namespace Name Mixin selector
      named getAvailableBuilderCount Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;getAvailableBuilderCount()I
      intermediary method_54646 Lnet/minecraft/class_8901;method_54646()I
      official c Lgfl;c()I