net.minecraft.core

public interface HolderSet<T>

extends Iterable<Holder<T>>

ji
net.minecraft.core.HolderSet
net.minecraft.class_6885
net.minecraft.unmapped.C_odfnijdo
net.minecraft.registry.entry.RegistryEntryList
net.minecraft.registry.HolderSet

Method summary

Modifier and TypeMethod
Stream<Holder<T>>
a()
stream()
method_40239()
m_beryampd()
stream()
stream()
int
b()
size()
method_40247()
m_wavhsngb()
size()
size()
boolean
c()
isBound()
method_62680()
m_ebrshnnp()
isBound()
isBound()
com.mojang.datafixers.util.Either<TagKey<T>, List<Holder<T>>>
d()
unwrap()
method_40248()
m_jjqfwyhn()
getStorage()
getTagOrContents()
Optional<Holder<T>>
a(azv arg0)
getRandomElement(RandomSource arg0)
method_40243(class_5819 arg0)
m_lhrpzjgq(C_rlomrsco arg0)
getRandom(Random random)
getRandomElement(RandomGenerator random)
Holder<T>
a(int arg0)
get(int arg0)
method_40240(int arg0)
m_jqfffidc(int arg0)
get(int index)
get(int arg0)
boolean
a(je<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> arg0)
boolean
a(jh<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> arg0)
Optional<TagKey<T>>
e()
unwrapKey()
method_45925()
m_fewclxfb()
getTagKey()
getTag()
static <T> HolderSet$Named<T>
a(jh<T> arg0, axr<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)
static <T> HolderSet<T>
f()
empty()
method_58563()
m_ndioshbw()
empty()
empty()
static <T> HolderSet$Direct<T>
a(je<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)
static <T> HolderSet$Direct<T>
a(List<? extends je<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)
static <E, T> HolderSet$Direct<T>
a(Function<E, je<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)
static <E, T> HolderSet$Direct<T>
a(Function<E, je<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)