Interface ICustomHolderSet<T>
- All Superinterfaces:
HolderSet<T>
,IForgeHolderSet<T>
,Iterable<Holder<T>>
- All Known Implementing Classes:
AndHolderSet
,AnyHolderSet
,CompositeHolderSet
,NotHolderSet
,OrHolderSet
Interface for mods' custom holderset types
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.HolderSet
HolderSet.Direct<T>, HolderSet.ListBacked<T>, HolderSet.Named<T>
-
Method Summary
Modifier and TypeMethodDescriptiontype()
Returns HolderSetType registered toForgeRegistries.HOLDER_SET_TYPES
.Methods inherited from interface net.minecraft.core.HolderSet
canSerializeIn, contains, get, getRandomElement, size, stream, unwrap, unwrapKey
Methods inherited from interface net.minecraftforge.common.extensions.IForgeHolderSet
addInvalidationListener
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
type
HolderSetType type()Returns HolderSetType registered toForgeRegistries.HOLDER_SET_TYPES
.- Returns:
- HolderSetType registered to
ForgeRegistries.HOLDER_SET_TYPES
-