net.minecraft.core

public interface HolderSet<T>

extends Iterable<Holder<T>>

jq
net.minecraft.core.HolderSet
net.minecraft.class_6885
net.minecraft.unmapped.C_odfnijdo
net.minecraft.registry.entry.RegistryEntryList
net.minecraft.registry.HolderSet
net.minecraft.src.C_203233_
net.minecraft.core.HolderSet

Method summary

Modifier and TypeMethod
Stream<Holder<T>>
a()
stream()
method_40239()
m_beryampd()
stream()
stream()
m_203614_()
int
b()
size()
method_40247()
m_wavhsngb()
size()
size()
m_203632_()
com.mojang.datafixers.util.Either<TagKey<T>, List<Holder<T>>>
c()
unwrap()
method_40248()
m_jjqfwyhn()
getStorage()
getTagOrContents()
m_203440_()
Optional<Holder<T>>
a(ayw arg0)
getRandomElement(RandomSource arg0)
method_40243(class_5819 arg0)
m_lhrpzjgq(C_rlomrsco arg0)
getRandom(Random random)
getRandomElement(RandomGenerator random)
m_213653_(C_212974_ arg0)
Holder<T>
a(int arg0)
get(int arg0)
method_40240(int arg0)
m_jqfffidc(int arg0)
get(int index)
get(int i)
m_203662_(int arg0)
boolean
a(jm<T> arg0)
contains(Holder<T> arg0)
method_40241(class_6880<T> arg0)
m_onucpopt(C_cjzoxshv<T> arg0)
contains(RegistryEntry<T> entry)
contains(Holder<T> holder)
m_203333_(C_203228_<T> arg0)
boolean
a(jp<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46768(class_7876<T> arg0)
m_dneqvpzw(C_hkebgttw<T> arg0)
ownerEquals(RegistryEntryOwner<T> owner)
ownedBy(HolderOwner<T> owner)
m_207277_(C_254571_<T> arg0)
Optional<TagKey<T>>
d()
unwrapKey()
method_45925()
m_fewclxfb()
getTagKey()
getTag()
m_245234_()
static <T> HolderSet$Named<T>
a(jp<T> arg0, awu<T> arg1)
emptyNamed(HolderOwner<T> arg0, TagKey<T> arg1)
method_45924(class_7876<T> arg0, class_6862<T> arg1)
m_wsfjefwb(C_hkebgttw<T> arg0, C_ednuhnnn<T> arg1)
of(RegistryEntryOwner<T> owner, TagKey<T> tagKey)
emptyNamed(HolderOwner<T> owner, TagKey<T> key)
m_255229_(C_254571_<T> p_255858_, C_203208_<T> p_256459_)
static <T> HolderSet<T>
e()
empty()
method_58563()
m_ndioshbw()
empty()
empty()
m_324798_()
static <T> HolderSet$Direct<T>
a(jm<T>... arg0)
direct(Holder<T>... arg0)
method_40246(class_6880<T>... arg0)
m_bsrnossi(C_cjzoxshv<T>... arg0)
of(RegistryEntry<T>... entries)
createDirect(Holder<T>... contents)
m_205809_(C_203228_<T>... p_205810_)
static <T> HolderSet$Direct<T>
a(List<? extends jm<T>> arg0)
direct(List<? extends Holder<T>> arg0)
method_40242(List<? extends class_6880<T>> arg0)
m_gbicudwr(List<? extends C_cjzoxshv<T>> arg0)
of(List<? extends RegistryEntry<T>> entries)
createDirect(List<? extends Holder<T>> contents)
m_205800_(List<? extends C_203228_<T>> p_205801_)
static <E, T> HolderSet$Direct<T>
a(Function<E, jm<T>> arg0, E... arg1)
direct(Function<E, Holder<T>> arg0, E... arg1)
method_40245(Function<E, class_6880<T>> arg0, E... arg1)
m_wybinopy(Function<E, C_cjzoxshv<T>> arg0, E... arg1)
of(Function<E, RegistryEntry<T>> mapper, E... values)
createDirect(Function<E, Holder<T>> contentsMapper, E... contents)
m_205806_(Function<E, C_203228_<T>> p_205807_, E... p_205808_)
static <E, T> HolderSet$Direct<T>
a(Function<E, jm<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)
m_fzxplshe(Function<E, C_cjzoxshv<T>> arg0, Collection<E> arg1)
of(Function<E, RegistryEntry<T>> mapper, Collection<E> values)
direct(Function<E, Holder<T>> mapper, Collection<E> values)
m_205803_(Function<E, C_203228_<T>> p_205804_, Collection<E> p_298882_)