public final class AnyOfBlockFilter extends it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet<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(BlockState blockState) |
add, addAll, clear, clone, contains, hashCode, isEmpty, iterator, rehash, remove, shiftKeys, size, trim, trimcontainsAll, removeAll, retainAll, toArray, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, removeAll, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic AnyOfBlockFilter(String[] values)
public boolean test(BlockState blockState)
test in interface Predicate<BlockState>test in interface BlockFilterCopyright © 2020. All rights reserved.