net.minecraft.core

public interface HolderGetter<T>

jn
net.minecraft.core.HolderGetter
net.minecraft.class_7871
net.minecraft.registry.RegistryEntryLookup
net.minecraft.src.C_254583_
net.minecraft.core.HolderGetter

Method summary

Modifier and TypeMethod
Optional<Holder$Reference<T>>
a(akq<T> arg0)
get(ResourceKey<T> arg0)
method_46746(class_5321<T> arg0)
getOptional(RegistryKey<T> key)
m_254926_(C_5264_<T> arg0)
default Holder$Reference<T>
b(akq<T> arg0)
getOrThrow(ResourceKey<T> arg0)
method_46747(class_5321<T> arg0)
getOrThrow(RegistryKey<T> key)
m_255043_(C_5264_<T> arg0)
Optional<HolderSet$Named<T>>
a(awu<T> arg0)
get(TagKey<T> arg0)
method_46733(class_6862<T> arg0)
getOptional(TagKey<T> tag)
m_255050_(C_203208_<T> arg0)
default HolderSet$Named<T>
b(awu<T> arg0)
getOrThrow(TagKey<T> arg0)
method_46735(class_6862<T> arg0)
getOrThrow(TagKey<T> tag)
m_254956_(C_203208_<T> arg0)