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> AgetData(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.LifecycleMethods inherited from interface net.minecraft.core.HolderGetter
getOrThrow, getOrThrowMethods inherited from interface net.minecraft.core.HolderLookup
listElementIds, listTagIdsMethods inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
filterElements, filterFeaturesMethods inherited from interface net.minecraft.core.HolderOwner
canSerializeIn
-
Method Details
-
parent
HolderLookup.RegistryLookup<T> parent() -
key
- Specified by:
keyin interfaceHolderLookup.RegistryLookup<T>
-
registryLifecycle
default com.mojang.serialization.Lifecycle registryLifecycle()- Specified by:
registryLifecyclein interfaceHolderLookup.RegistryLookup<T>
-
get
- Specified by:
getin interfaceHolderGetter<T>
-
listElements
- Specified by:
listElementsin interfaceHolderLookup<T>
-
get
- Specified by:
getin interfaceHolderGetter<T>
-
listTags
- Specified by:
listTagsin interfaceHolderLookup<T>
-
getData
- Specified by:
getDatain interfaceHolderLookup.RegistryLookup<T>
-