Package net.minecraft.core
Interface HolderSet<T>
- All Superinterfaces:
IForgeHolderSet<T>
,Iterable<Holder<T>>
- All Known Subinterfaces:
ICustomHolderSet<T>
- All Known Implementing Classes:
AndHolderSet
,AnyHolderSet
,CompositeHolderSet
,HolderSet.Direct
,HolderSet.ListBacked
,HolderSet.Named
,NotHolderSet
,OrHolderSet
-
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
(RandomSource p_235712_) boolean
isValidInRegistry
(Registry<T> p_211041_) int
size()
stream()
unwrap()
Methods inherited from interface net.minecraftforge.common.extensions.IForgeHolderSet
addInvalidationListener
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
-