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 gly
  • 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 Lgly;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 Lgly;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 Lgly;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> Lgly;<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 Lgly;a(I)Lgly;
    • 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 Lgly;a()Lglx;
    • 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 Lgly;a(Lglx;)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 Lgly;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 Lgly;c()I