net.minecraft.core

public interface HolderSet<T>

extends Iterable<Holder<T>>

ju
net.minecraft.core.HolderSet
net.minecraft.class_6885
net.minecraft.registry.entry.RegistryEntryList
net.minecraft.core.HolderSet

Method summary

Modifier and TypeMethod
Stream<Holder<T>>
a()
stream()
method_40239()
stream()
int
b()
size()
method_40247()
size()
boolean
c()
isBound()
method_62680()
isBound()
com.mojang.datafixers.util.Either<TagKey<T>, List<Holder<T>>>
d()
unwrap()
method_40248()
getStorage()
Optional<Holder<T>>
a(bam arg0)
getRandomElement(RandomSource arg0)
method_40243(class_5819 arg0)
getRandom(Random random)
Holder<T>
a(int arg0)
get(int arg0)
method_40240(int arg0)
get(int index)
boolean
a(jq<T> arg0)
contains(Holder<T> arg0)
method_40241(class_6880<T> arg0)
contains(RegistryEntry<T> entry)
boolean
a(jt<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46768(class_7876<T> arg0)
ownerEquals(RegistryEntryOwner<T> owner)
Optional<TagKey<T>>
e()
unwrapKey()
method_45925()
getTagKey()
static <T> HolderSet$Named<T>
a(jt<T> arg0, ayk<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)
static <T> HolderSet<T>
f()
empty()
method_58563()
empty()
static <T> HolderSet$Direct<T>
a(jq<T>... arg0)
direct(Holder<T>... arg0)
method_40246(class_6880<T>... arg0)
of(RegistryEntry<T>... entries)
static <T> HolderSet$Direct<T>
a(List<? extends jq<T>> arg0)
direct(List<? extends Holder<T>> arg0)
method_40242(List<? extends class_6880<T>> arg0)
of(List<? extends RegistryEntry<T>> entries)
static <E, T> HolderSet$Direct<T>
a(Function<E, jq<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)
static <E, T> HolderSet$Direct<T>
a(Function<E, jq<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)