Package net.minecraft.core
Interface HolderLookup.RegistryLookup.Delegate<T>
- All Superinterfaces:
HolderGetter<T>
,HolderLookup<T>
,HolderLookup.RegistryLookup<T>
,HolderOwner<T>
- All Known Implementing Classes:
RegistrySetBuilder.EmptyTagLookupWrapper
- Enclosing interface:
HolderLookup.RegistryLookup<T>
public static interface HolderLookup.RegistryLookup.Delegate<T>
extends HolderLookup.RegistryLookup<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.HolderLookup
HolderLookup.Provider, HolderLookup.RegistryLookup<T>
Nested classes/interfaces inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
HolderLookup.RegistryLookup.Delegate<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional
<Holder.Reference<T>> get
(ResourceKey<T> p_255619_) default Optional
<HolderSet.Named<T>> default <A> A
getData
(DataMapType<T, A> attachment, ResourceKey<T> key) default ResourceKey
<? extends Registry<? extends T>> key()
default Stream
<Holder.Reference<T>> default Stream
<HolderSet.Named<T>> listTags()
parent()
default com.mojang.serialization.Lifecycle
Methods inherited from interface net.minecraft.core.HolderGetter
getOrThrow, getOrThrow
Methods inherited from interface net.minecraft.core.HolderLookup
listElementIds, listTagIds
Methods inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
filterElements, filterFeatures
Methods inherited from interface net.minecraft.core.HolderOwner
canSerializeIn
-
Method Details
-
parent
HolderLookup.RegistryLookup<T> parent() -
key
- Specified by:
key
in interfaceHolderLookup.RegistryLookup<T>
-
registryLifecycle
default com.mojang.serialization.Lifecycle registryLifecycle()- Specified by:
registryLifecycle
in interfaceHolderLookup.RegistryLookup<T>
-
get
- Specified by:
get
in interfaceHolderGetter<T>
-
listElements
- Specified by:
listElements
in interfaceHolderLookup<T>
-
get
- Specified by:
get
in interfaceHolderGetter<T>
-
listTags
- Specified by:
listTags
in interfaceHolderLookup<T>
-
getData
- Specified by:
getData
in interfaceHolderLookup.RegistryLookup<T>
-