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 gyb
  • Field Details

    • 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 Lgyb;a:I
    • allocators

      private final Map<BlockRenderLayer,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 b Lgyb;b:Ljava/util/Map;
  • Constructor Details

    • BlockBufferAllocatorStorage

      public BlockBufferAllocatorStorage()
  • Method Details

    • get

      public BufferAllocator get(BlockRenderLayer layer)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;get(Lnet/minecraft/client/render/BlockRenderLayer;)Lnet/minecraft/client/util/BufferAllocator;
      intermediary method_3154 Lnet/minecraft/class_750;method_3154(Lnet/minecraft/class_11515;)Lnet/minecraft/class_9799;
      official a Lgyb;a(Lhaz;)Lfnz;
    • 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 Lgyb;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 Lgyb;b()V
    • close

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