Package net.minecraft.core
Class RegistryAccess.ImmutableRegistryAccess
java.lang.Object
net.minecraft.core.RegistryAccess.ImmutableRegistryAccess
- All Implemented Interfaces:
HolderGetter.Provider
,HolderLookup.Provider
,RegistryAccess
,IHolderLookupProviderExtension
- 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
FieldsModifier and TypeFieldDescriptionprivate final Map
<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> Fields inherited from interface net.minecraft.core.RegistryAccess
EMPTY, LOGGER
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableRegistryAccess
(List<? extends Registry<?>> p_248540_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) ImmutableRegistryAccess
(Stream<RegistryAccess.RegistryEntry<?>> p_206227_) -
Method Summary
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.HolderGetter.Provider
get, getOrThrow
Methods inherited from interface net.minecraft.core.HolderLookup.Provider
allRegistriesLifecycle, createSerializationContext, listRegistries
Methods inherited from interface net.neoforged.neoforge.common.extensions.IHolderLookupProviderExtension
holder, holderOrThrow
Methods inherited from interface net.minecraft.core.RegistryAccess
freeze, listRegistryKeys, lookupOrThrow
-
Field Details
-
registries
-
-
Constructor Details
-
ImmutableRegistryAccess
-
ImmutableRegistryAccess
public ImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) -
ImmutableRegistryAccess
-
-
Method Details
-
lookup
- Specified by:
lookup
in interfaceHolderGetter.Provider
- Specified by:
lookup
in interfaceHolderLookup.Provider
- Specified by:
lookup
in interfaceRegistryAccess
-
registries
- Specified by:
registries
in interfaceRegistryAccess
-