Class PoiStateSet
java.lang.Object
net.neoforged.neoforge.common.world.poi.PoiStateSet
- All Implemented Interfaces:
Iterable<BlockState>,Collection<BlockState>,Set<BlockState>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(BlockState state) booleanaddAll(Collection<? extends BlockState> c) (package private) voidaddCustomStates(Set<BlockState> states) voidclear()booleanbooleancontainsAll(Collection<?> c) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanremoveIf(Predicate<? super BlockState> filter) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Field Details
-
backingSet
-
-
Constructor Details
-
PoiStateSet
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<BlockState>- Specified by:
sizein interfaceSet<BlockState>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<BlockState>- Specified by:
isEmptyin interfaceSet<BlockState>
-
contains
- Specified by:
containsin interfaceCollection<BlockState>- Specified by:
containsin interfaceSet<BlockState>
-
containsAll
- Specified by:
containsAllin interfaceCollection<BlockState>- Specified by:
containsAllin interfaceSet<BlockState>
-
iterator
- Specified by:
iteratorin interfaceCollection<BlockState>- Specified by:
iteratorin interfaceIterable<BlockState>- Specified by:
iteratorin interfaceSet<BlockState>
-
toArray
- Specified by:
toArrayin interfaceCollection<BlockState>- Specified by:
toArrayin interfaceSet<BlockState>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<BlockState>- Specified by:
toArrayin interfaceSet<BlockState>
-
add
- Specified by:
addin interfaceCollection<BlockState>- Specified by:
addin interfaceSet<BlockState>
-
remove
- Specified by:
removein interfaceCollection<BlockState>- Specified by:
removein interfaceSet<BlockState>
-
addAll
- Specified by:
addAllin interfaceCollection<BlockState>- Specified by:
addAllin interfaceSet<BlockState>
-
retainAll
- Specified by:
retainAllin interfaceCollection<BlockState>- Specified by:
retainAllin interfaceSet<BlockState>
-
removeAll
- Specified by:
removeAllin interfaceCollection<BlockState>- Specified by:
removeAllin interfaceSet<BlockState>
-
removeIf
- Specified by:
removeIfin interfaceCollection<BlockState>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<BlockState>- Specified by:
clearin interfaceSet<BlockState>
-
addCustomStates
-