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_336145_, ResourceKey<T> p_335555_) <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_336145_, ResourceKey<T> p_335555_)
-