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_324196_, HolderLookup.RegistryLookup<T> p_323710_) Stream
<ResourceKey<? extends Registry<?>>> <T> Optional
<HolderLookup.RegistryLookup<T>> lookup
(ResourceKey<? extends Registry<? extends T>> p_323818_) 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_324146_)
-
-
Method Details
-
missingTagAccessPolicy
-
listRegistries
- Specified by:
listRegistries
in interfaceHolderLookup.Provider
-
lookup
public <T> Optional<HolderLookup.RegistryLookup<T>> lookup(ResourceKey<? extends Registry<? extends T>> p_323818_) - Specified by:
lookup
in interfaceHolderLookup.Provider
-
createDispatchedLookup
private <T> HolderLookup.RegistryLookup<T> createDispatchedLookup(HolderLookup.RegistryLookup<T> p_324196_, HolderLookup.RegistryLookup<T> p_323710_)
-