Package net.minecraft.server
Class ReloadableServerResources.ConfigurableRegistryLookup
java.lang.Object
net.minecraft.server.ReloadableServerResources.ConfigurableRegistryLookup
- All Implemented Interfaces:
HolderLookup.Provider
- Enclosing class:
ReloadableServerResources
static class ReloadableServerResources.ConfigurableRegistryLookup
extends Object
implements HolderLookup.Provider
-
Field Summary
Modifier and TypeFieldDescription(package private) ReloadableServerResources.MissingTagAccessPolicy
private final RegistryAccess
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate <T> HolderLookup.RegistryLookup
<T> createDispatchedLookup
(HolderLookup.RegistryLookup<T> p_335281_, HolderLookup.RegistryLookup<T> p_329763_) Stream
<ResourceKey<? extends Registry<?>>> <T> Optional
<HolderLookup.RegistryLookup<T>> lookup
(ResourceKey<? extends Registry<? extends T>> p_335510_) void
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, createSerializationContext, lookupOrThrow
-
Field Details
-
registryAccess
-
missingTagAccessPolicy
ReloadableServerResources.MissingTagAccessPolicy missingTagAccessPolicy
-
-
Constructor Details
-
ConfigurableRegistryLookup
ConfigurableRegistryLookup(RegistryAccess p_330205_)
-
-
Method Details
-
missingTagAccessPolicy
-
listRegistries
- Specified by:
listRegistries
in interfaceHolderLookup.Provider
-
lookup
public <T> Optional<HolderLookup.RegistryLookup<T>> lookup(ResourceKey<? extends Registry<? extends T>> p_335510_) - Specified by:
lookup
in interfaceHolderLookup.Provider
-
createDispatchedLookup
private <T> HolderLookup.RegistryLookup<T> createDispatchedLookup(HolderLookup.RegistryLookup<T> p_335281_, HolderLookup.RegistryLookup<T> p_329763_)
-