Class AdjacentMask

java.lang.Object
com.sk89q.worldedit.function.mask.AbstractMask
com.fastasyncworldedit.core.function.mask.AdjacentMask
All Implemented Interfaces:
Mask

public class AdjacentMask extends AbstractMask
  • Constructor Details

    • AdjacentMask

      public AdjacentMask(Mask mask, int requiredMin, int requiredMax)
  • Method Details

    • test

      public boolean test(BlockVector3 bv)
      Description copied from interface: Mask
      Returns true if the criteria is met.
      Parameters:
      bv - the vector to test
      Returns:
      true if the criteria is met
    • copy

      public Mask copy()
      Description copied from interface: Mask
      Returns a copy of the mask. Usually for multi-threaded operation
      Returns:
      a clone of the mask