Package net.minecraft.core
Interface HolderSet<T>
- All Known Implementing Classes:
HolderSet.Direct
,HolderSet.ListBacked
,HolderSet.Named
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static <E,
T> HolderSet.Direct<T> static <E,
T> HolderSet.Direct<T> static <T> HolderSet.Direct<T>
static <T> HolderSet.Direct<T>
get
(int p_205798_) getRandomElement
(Random p_205802_) boolean
isValidInRegistry
(Registry<T> p_211041_) int
size()
stream()
unwrap()
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
stream
-
size
int size() -
unwrap
-
getRandomElement
-
get
-
contains
-
isValidInRegistry
-
direct
-
direct
-
direct
@SafeVarargs static <E,T> HolderSet.Direct<T> direct(Function<E, Holder<T>> p_205807_, E... p_205808_) -
direct
-