Interface ObjectAllocator

All Known Implementing Classes:
Pool

@Environment(CLIENT) public interface ObjectAllocator
Mappings:
Namespace Name
named net/minecraft/client/util/ObjectAllocator
intermediary net/minecraft/class_9922
official fga
  • Field Details

    • TRIVIAL

      static final ObjectAllocator TRIVIAL
      Mappings:
      Namespace Name Mixin selector
      named TRIVIAL Lnet/minecraft/client/util/ObjectAllocator;TRIVIAL:Lnet/minecraft/client/util/ObjectAllocator;
      intermediary field_52741 Lnet/minecraft/class_9922;field_52741:Lnet/minecraft/class_9922;
      official a Lfga;a:Lfga;
  • Method Details

    • acquire

      <T> T acquire(ClosableFactory<T> factory)
      Mappings:
      Namespace Name Mixin selector
      named acquire Lnet/minecraft/client/util/ObjectAllocator;acquire(Lnet/minecraft/client/util/ClosableFactory;)Ljava/lang/Object;
      intermediary method_61948 Lnet/minecraft/class_9922;method_61948(Lnet/minecraft/class_9924;)Ljava/lang/Object;
      official a Lfga;a(Lfgc;)Ljava/lang/Object;
    • release

      <T> void release(ClosableFactory<T> factory, T value)
      Mappings:
      Namespace Name Mixin selector
      named release Lnet/minecraft/client/util/ObjectAllocator;release(Lnet/minecraft/client/util/ClosableFactory;Ljava/lang/Object;)V
      intermediary method_61949 Lnet/minecraft/class_9922;method_61949(Lnet/minecraft/class_9924;Ljava/lang/Object;)V
      official a Lfga;a(Lfgc;Ljava/lang/Object;)V