net.minecraft.core

public interface HolderSet<T>

extends Iterable<Holder<T>>

il
net.minecraft.core.HolderSet
net.minecraft.class_6885
net.minecraft.registry.entry.RegistryEntryList
net.minecraft.src.C_203233_
net.minecraft.core.HolderSet

Method summary

Modifier and TypeMethod
Stream<Holder<T>>
a()
stream()
method_40239()
stream()
m_203614_()
int
b()
size()
method_40247()
size()
m_203632_()
com.mojang.datafixers.util.Either<TagKey<T>, List<Holder<T>>>
c()
unwrap()
method_40248()
getStorage()
m_203440_()
Optional<Holder<T>>
a(auv arg0)
getRandomElement(RandomSource arg0)
method_40243(class_5819 arg0)
getRandom(Random random)
m_213653_(C_212974_ arg0)
Holder<T>
a(int arg0)
get(int arg0)
method_40240(int arg0)
get(int index)
m_203662_(int arg0)
boolean
a(ih<T> arg0)
contains(Holder<T> arg0)
method_40241(class_6880<T> arg0)
contains(RegistryEntry<T> entry)
m_203333_(C_203228_<T> arg0)
boolean
a(ik<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46768(class_7876<T> arg0)
ownerEquals(RegistryEntryOwner<T> owner)
m_207277_(C_254571_<T> arg0)
Optional<TagKey<T>>
d()
unwrapKey()
method_45925()
getTagKey()
m_245234_()
static <T> HolderSet$Named<T>
a(ik<T> arg0, asw<T> arg1)
emptyNamed(HolderOwner<T> arg0, TagKey<T> arg1)
method_45924(class_7876<T> arg0, class_6862<T> arg1)
of(RegistryEntryOwner<T> owner, TagKey<T> tagKey)
m_255229_(C_254571_<T> p_255858_, C_203208_<T> p_256459_)
static <T> HolderSet$Direct<T>
a(ih<T>... arg0)
direct(Holder<T>... arg0)
method_40246(class_6880<T>... arg0)
of(RegistryEntry<T>... entries)
m_205809_(C_203228_<T>... p_205810_)
static <T> HolderSet$Direct<T>
a(List<? extends ih<T>> arg0)
direct(List<? extends Holder<T>> arg0)
method_40242(List<? extends class_6880<T>> arg0)
of(List<? extends RegistryEntry<T>> entries)
m_205800_(List<? extends C_203228_<T>> p_205801_)
static <E, T> HolderSet$Direct<T>
a(Function<E, ih<T>> arg0, E... arg1)
direct(Function<E, Holder<T>> arg0, E... arg1)
method_40245(Function<E, class_6880<T>> arg0, E... arg1)
of(Function<E, RegistryEntry<T>> mapper, E... values)
m_205806_(Function<E, C_203228_<T>> p_205807_, E... p_205808_)
static <E, T> HolderSet$Direct<T>
a(Function<E, ih<T>> arg0, Collection<E> arg1)
direct(Function<E, Holder<T>> arg0, Collection<E> arg1)
method_40244(Function<E, class_6880<T>> arg0, Collection<E> arg1)
of(Function<E, RegistryEntry<T>> mapper, Collection<E> values)
m_205803_(Function<E, C_203228_<T>> p_205804_, Collection<E> p_298882_)