Class ConcurrentHolderGetter<T>
java.lang.Object
net.minecraft.core.registries.ConcurrentHolderGetter<T>
- All Implemented Interfaces:
HolderGetter<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface HolderGetter
HolderGetter.Provider -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<ResourceKey<T>, Optional<Holder.Reference<T>>> private final Objectprivate final HolderGetter<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HolderGetter
getOrThrow, getOrThrow, getRandomElementOf
-
Field Details
-
lock
-
original
-
elementCache
-
tagCache
-
-
Constructor Details
-
ConcurrentHolderGetter
-
-
Method Details
-
get
- Specified by:
getin interfaceHolderGetter<T>
-
get
- Specified by:
getin interfaceHolderGetter<T>
-