public final class AnyOfBlockFilter extends it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet<org.cloudburstmc.api.block.BlockState> implements BlockFilter
BlockFilter which checks if the block is contained in a list of IDs.containsNull, f, key, mask, maxFill, minN, n, sizeAIR, REPLACEABLE| Constructor and Description |
|---|
AnyOfBlockFilter(String[] values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(org.cloudburstmc.api.block.BlockState blockState) |
add, addAll, clear, clone, contains, forEach, hashCode, isEmpty, iterator, of, of, of, of, of, rehash, remove, shiftKeys, size, spliterator, toSet, toSetWithExpectedSize, trim, trimcontainsAll, removeAll, retainAll, toArray, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, streampublic AnyOfBlockFilter(String[] values)
public boolean test(org.cloudburstmc.api.block.BlockState blockState)
test in interface Predicate<org.cloudburstmc.api.block.BlockState>test in interface BlockFilterCopyright © 2021. All rights reserved.