Package net.minecraft.core
Interface HolderGetter.Provider
- Enclosing interface:
HolderGetter<T>
public static interface HolderGetter.Provider
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> Optional
<Holder.Reference<T>> get
(ResourceKey<? extends Registry<? extends T>> p_331697_, ResourceKey<T> p_328724_) <T> Optional
<HolderGetter<T>> lookup
(ResourceKey<? extends Registry<? extends T>> p_256648_) default <T> HolderGetter
<T> lookupOrThrow
(ResourceKey<? extends Registry<? extends T>> p_255881_)
-
Method Details
-
lookup
-
lookupOrThrow
-
get
default <T> Optional<Holder.Reference<T>> get(ResourceKey<? extends Registry<? extends T>> p_331697_, ResourceKey<T> p_328724_)
-