java.lang.Object
java.util.AbstractCollection<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceCollection<K>
it.unimi.dsi.fastutil.objects.AbstractReferenceSet<K>
it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet<org.cloudburstmc.api.block.BlockState>
org.cloudburstmc.server.level.generator.standard.misc.filter.AnyOfBlockFilter
All Implemented Interfaces:
it.unimi.dsi.fastutil.Hash, it.unimi.dsi.fastutil.objects.ObjectIterable<org.cloudburstmc.api.block.BlockState>, it.unimi.dsi.fastutil.objects.ReferenceCollection<org.cloudburstmc.api.block.BlockState>, it.unimi.dsi.fastutil.objects.ReferenceSet<org.cloudburstmc.api.block.BlockState>, Serializable, Cloneable, Iterable<org.cloudburstmc.api.block.BlockState>, Collection<org.cloudburstmc.api.block.BlockState>, Predicate<org.cloudburstmc.api.block.BlockState>, Set<org.cloudburstmc.api.block.BlockState>, BlockFilter

public final class AnyOfBlockFilter extends it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet<org.cloudburstmc.api.block.BlockState> implements BlockFilter
Implementation of BlockFilter which checks if the block is contained in a list of IDs.
Author:
DaPorkchop_
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.Hash

    it.unimi.dsi.fastutil.Hash.Strategy<K extends Object>
  • Field Summary

    Fields inherited from class it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet

    containsNull, f, key, mask, maxFill, minN, n, size

    Fields inherited from interface org.cloudburstmc.server.level.generator.standard.misc.filter.BlockFilter

    AIR, REPLACEABLE

    Fields inherited from interface it.unimi.dsi.fastutil.Hash

    DEFAULT_GROWTH_FACTOR, DEFAULT_INITIAL_SIZE, DEFAULT_LOAD_FACTOR, FAST_LOAD_FACTOR, FREE, OCCUPIED, PRIMES, REMOVED, VERY_FAST_LOAD_FACTOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    AnyOfBlockFilter​(String[] values)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test​(org.cloudburstmc.api.block.BlockState blockState)
     

    Methods inherited from class it.unimi.dsi.fastutil.objects.ReferenceOpenHashSet

    add, addAll, clear, clone, contains, forEach, hashCode, isEmpty, iterator, of, of, of, of, of, rehash, remove, shiftKeys, size, spliterator, toSet, toSetWithExpectedSize, trim, trim

    Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceSet

    equals

    Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractReferenceCollection

    toString

    Methods inherited from class java.util.AbstractCollection

    containsAll, removeAll, retainAll, toArray, toArray

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.util.function.Predicate

    and, negate, or

    Methods inherited from interface java.util.Set

    containsAll, removeAll, retainAll, toArray, toArray
  • Constructor Details

    • AnyOfBlockFilter

      public AnyOfBlockFilter(String[] values)
  • Method Details

    • test

      public boolean test(org.cloudburstmc.api.block.BlockState blockState)
      Specified by:
      test in interface BlockFilter
      Specified by:
      test in interface Predicate<org.cloudburstmc.api.block.BlockState>