net.minecraft.core

public interface HolderGetter<T>

js
net.minecraft.core.HolderGetter
net.minecraft.class_7871
net.minecraft.registry.RegistryEntryLookup
net.minecraft.core.HolderGetter

Method summary

Modifier and TypeMethod
Optional<Holder$Reference<T>>
a(aku<T> arg0)
get(ResourceKey<T> arg0)
method_46746(class_5321<T> arg0)
getOptional(RegistryKey<T> key)
default Holder$Reference<T>
b(aku<T> arg0)
getOrThrow(ResourceKey<T> arg0)
method_46747(class_5321<T> arg0)
getOrThrow(RegistryKey<T> key)
Optional<HolderSet$Named<T>>
a(axf<T> arg0)
get(TagKey<T> arg0)
method_46733(class_6862<T> arg0)
getOptional(TagKey<T> tag)
default HolderSet$Named<T>
b(axf<T> arg0)
getOrThrow(TagKey<T> arg0)
method_46735(class_6862<T> arg0)
getOrThrow(TagKey<T> tag)