Package net.minecraft.core
Interface HolderGetter<T>
- All Known Subinterfaces:
HolderLookup<T>
,HolderLookup.RegistryLookup<T>
- All Known Implementing Classes:
HolderLookup.Delegate
,HolderLookup.RegistryLookup.Delegate
,RegistrySetBuilder.EmptyTagLookup
,RegistrySetBuilder.UniversalLookup
public interface HolderGetter<T>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(ResourceKey<T> p_255645_) default Holder.Reference<T>
getOrThrow
(ResourceKey<T> p_255990_) default HolderSet.Named<T>
getOrThrow
(TagKey<T> p_256125_)
-
Method Details
-
get
-
getOrThrow
-
get
-
getOrThrow
-