Package net.minecraft.core
Class HolderSet.ListBacked<T>
java.lang.Object
net.minecraft.core.HolderSet.ListBacked<T>
- All Implemented Interfaces:
- Iterable<Holder<T>>,- HolderSet<T>,- IForgeHolderSet<T>
- Direct Known Subclasses:
- HolderSet.Direct,- HolderSet.Named
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.core.HolderSetHolderSet.Direct<T>, HolderSet.ListBacked<T>, HolderSet.Named<T>Nested classes/interfaces inherited from interface net.minecraftforge.common.extensions.IForgeHolderSetIForgeHolderSet.SerializationType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanSerializeIn(HolderOwner<T> p_255876_) contents()get(int p_205823_) getRandomElement(RandomSource p_235714_) iterator()intsize()stream()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeHolderSetaddInvalidationListener, serializationType
- 
Constructor Details- 
ListBackedpublic ListBacked()
 
- 
- 
Method Details- 
contents
- 
sizepublic int size()
- 
spliterator- Specified by:
- spliteratorin interface- Iterable<T>
 
- 
iterator
- 
stream
- 
getRandomElement- Specified by:
- getRandomElementin interface- HolderSet<T>
 
- 
get
- 
canSerializeIn- Specified by:
- canSerializeInin interface- HolderSet<T>
 
 
-