net.minecraft.core

public interface HolderSet<T>

extends Iterable<Holder<T>>

he
net.minecraft.core.HolderSet
net.minecraft.class_6885
net.minecraft.util.registry.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(alu 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(hc<T> arg0)
contains(Holder<T> arg0)
method_40241(class_6880<T> arg0)
contains(RegistryEntry<T> entry)
m_203333_(C_203228_<T> arg0)
boolean
a(hm<T> arg0)
isValidInRegistry(Registry<T> arg0)
method_40560(class_2378<T> arg0)
isOf(Registry<T> registry)
m_207277_(C_4705_<T> arg0)
static <T> HolderSet$Direct<T>
a(hc<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 hc<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, hc<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, hc<T>> arg0, List<E> arg1)
direct(Function<E, Holder<T>> arg0, List<E> arg1)
method_40244(Function<E, class_6880<T>> arg0, List<E> arg1)
of(Function<E, RegistryEntry<T>> mapper, List<E> values)
m_205803_(Function<E, C_203228_<T>> p_205804_, List<E> p_205805_)