Package net.minecraft.core
Class RegistryAccess.ImmutableRegistryAccess
java.lang.Object
net.minecraft.core.RegistryAccess.ImmutableRegistryAccess
- All Implemented Interfaces:
HolderLookup.Provider
,RegistryAccess
- Enclosing interface:
- RegistryAccess
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.RegistryAccess
RegistryAccess.Frozen, RegistryAccess.ImmutableRegistryAccess, RegistryAccess.RegistryEntry<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<? extends ResourceKey<? extends Registry<?>>,
? extends Registry<?>> Fields inherited from interface net.minecraft.core.RegistryAccess
EMPTY, LOGGER
-
Constructor Summary
ConstructorDescriptionImmutableRegistryAccess
(List<? extends Registry<?>> p_248540_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) ImmutableRegistryAccess
(Stream<RegistryAccess.RegistryEntry<?>> p_206227_) -
Method Summary
Modifier and TypeMethodDescriptionregistry
(ResourceKey<? extends Registry<? extends E>> p_206229_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.core.HolderLookup.Provider
asGetterLookup, lookupOrThrow
Methods inherited from interface net.minecraft.core.RegistryAccess
allRegistriesLifecycle, freeze, listRegistries, lookup, registryOrThrow
-
Field Details
-
registries
-
-
Constructor Details
-
ImmutableRegistryAccess
-
ImmutableRegistryAccess
public ImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) -
ImmutableRegistryAccess
-
-
Method Details
-
registry
- Specified by:
registry
in interfaceRegistryAccess
-
registries
- Specified by:
registries
in interfaceRegistryAccess
-