Package net.minecraft.server
Class ReloadableServerRegistries.EmptyTagLookupWrapper
java.lang.Object
net.minecraft.server.ReloadableServerRegistries.EmptyTagLookupWrapper
- All Implemented Interfaces:
HolderLookup.Provider
- Enclosing class:
ReloadableServerRegistries
static class ReloadableServerRegistries.EmptyTagLookupWrapper
extends Object
implements HolderLookup.Provider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStream
<ResourceKey<? extends Registry<?>>> <T> Optional
<HolderLookup.RegistryLookup<T>> lookup
(ResourceKey<? extends Registry<? extends T>> p_336123_) 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
-
-
Constructor Details
-
EmptyTagLookupWrapper
EmptyTagLookupWrapper(RegistryAccess p_328697_)
-
-
Method Details
-
listRegistries
- Specified by:
listRegistries
in interfaceHolderLookup.Provider
-
lookup
public <T> Optional<HolderLookup.RegistryLookup<T>> lookup(ResourceKey<? extends Registry<? extends T>> p_336123_) - Specified by:
lookup
in interfaceHolderLookup.Provider
-