Package net.minecraft.client.util
Class Pool
java.lang.Object
net.minecraft.client.util.Pool
- All Implemented Interfaces:
AutoCloseable
,ObjectAllocator
- Mappings:
Namespace Name named net/minecraft/client/util/Pool
intermediary net/minecraft/class_9920
official ffz
-
Nested Class Summary
-
Field Summary
Fields inherited from interface net.minecraft.client.util.ObjectAllocator
TRIVIAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
acquire
(ClosableFactory<T> factory) void
clear()
void
close()
void
protected Collection
<Pool.Entry<?>> <T> void
release
(ClosableFactory<T> factory, T value)
-
Field Details
-
lifespan
private final int lifespan- Mappings:
Namespace Name Mixin selector named lifespan
Lnet/minecraft/client/util/Pool;lifespan:I
intermediary field_52736
Lnet/minecraft/class_9920;field_52736:I
official b
Lffz;b:I
-
entries
- Mappings:
Namespace Name Mixin selector named entries
Lnet/minecraft/client/util/Pool;entries:Ljava/util/Deque;
intermediary field_52737
Lnet/minecraft/class_9920;field_52737:Ljava/util/Deque;
official c
Lffz;c:Ljava/util/Deque;
-
-
Constructor Details
-
Pool
public Pool(int lifespan) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/util/Pool;<init>(I)V
intermediary <init>
Lnet/minecraft/class_9920;<init>(I)V
official <init>
Lffz;<init>(I)V
-
-
Method Details
-
decrementLifespan
public void decrementLifespan()- Mappings:
Namespace Name Mixin selector named decrementLifespan
Lnet/minecraft/client/util/Pool;decrementLifespan()V
intermediary method_61947
Lnet/minecraft/class_9920;method_61947()V
official a
Lffz;a()V
-
acquire
- Specified by:
acquire
in interfaceObjectAllocator
- 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
- Specified by:
release
in interfaceObjectAllocator
- 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
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clear
Lnet/minecraft/client/util/Pool;clear()V
intermediary method_61950
Lnet/minecraft/class_9920;method_61950()V
official b
Lffz;b()V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getEntries
- Mappings:
Namespace Name Mixin selector named getEntries
Lnet/minecraft/client/util/Pool;getEntries()Ljava/util/Collection;
intermediary method_61951
Lnet/minecraft/class_9920;method_61951()Ljava/util/Collection;
official c
Lffz;c()Ljava/util/Collection;
-