Class BlockBufferAllocatorStorage

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

@Environment(CLIENT) public class BlockBufferAllocatorStorage extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/render/chunk/BlockBufferAllocatorStorage
intermediary net/minecraft/class_750
official gfk
  • Field Details

    • BLOCK_LAYERS

      private static final List<RenderLayer> BLOCK_LAYERS
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_LAYERS Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;BLOCK_LAYERS:Ljava/util/List;
      intermediary field_52159 Lnet/minecraft/class_750;field_52159:Ljava/util/List;
      official b Lgfk;b:Ljava/util/List;
    • EXPECTED_TOTAL_SIZE

      public static final int EXPECTED_TOTAL_SIZE
      Mappings:
      Namespace Name Mixin selector
      named EXPECTED_TOTAL_SIZE Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;EXPECTED_TOTAL_SIZE:I
      intermediary field_46902 Lnet/minecraft/class_750;field_46902:I
      official a Lgfk;a:I
    • allocators

      private final Map<RenderLayer,BufferAllocator> allocators
      Mappings:
      Namespace Name Mixin selector
      named allocators Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;allocators:Ljava/util/Map;
      intermediary field_3951 Lnet/minecraft/class_750;field_3951:Ljava/util/Map;
      official c Lgfk;c:Ljava/util/Map;
  • Constructor Details

    • BlockBufferAllocatorStorage

      public BlockBufferAllocatorStorage()
  • Method Details

    • get

      public BufferAllocator get(RenderLayer layer)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;get(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/util/BufferAllocator;
      intermediary method_3154 Lnet/minecraft/class_750;method_3154(Lnet/minecraft/class_1921;)Lnet/minecraft/class_9799;
      official a Lgfk;a(Lgfh;)Lfbf;
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;clear()V
      intermediary method_22705 Lnet/minecraft/class_750;method_22705()V
      official a Lgfk;a()V
    • reset

      public void reset()
      Mappings:
      Namespace Name Mixin selector
      named reset Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;reset()V
      intermediary method_23501 Lnet/minecraft/class_750;method_23501()V
      official b Lgfk;b()V
    • close

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