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 gec
  • 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 Lgec;a:Lorg/slf4j/Logger;
    • availableBuilders

      private final Queue<BlockBufferBuilderStorage> 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 Lgec;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 Lgec;c:I
  • Constructor Details

    • BlockBufferBuilderPool

      private BlockBufferBuilderPool(List<BlockBufferBuilderStorage> 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> Lgec;<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 Lgec;a(I)Lgec;
    • acquire

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

      public void release(BlockBufferBuilderStorage builders)
      Mappings:
      Namespace Name Mixin selector
      named release Lnet/minecraft/client/render/chunk/BlockBufferBuilderPool;release(Lnet/minecraft/client/render/chunk/BlockBufferBuilderStorage;)V
      intermediary method_54644 Lnet/minecraft/class_8901;method_54644(Lnet/minecraft/class_750;)V
      official a Lgec;a(Lgeb;)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 Lgec;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 Lgec;c()I