Class RadiusMask

java.lang.Object
com.sk89q.worldedit.function.mask.AbstractMask
com.fastasyncworldedit.core.function.mask.RadiusMask
All Implemented Interfaces:
ResettableMask, Resettable, Mask

public class RadiusMask extends AbstractMask implements ResettableMask
  • Constructor Details

    • RadiusMask

      public RadiusMask(int min, int max)
  • Method Details

    • reset

      public void reset()
      Specified by:
      reset in interface Resettable
      Specified by:
      reset in interface ResettableMask
    • test

      public boolean test(BlockVector3 to)
      Description copied from interface: Mask
      Returns true if the criteria is met.
      Specified by:
      test in interface Mask
      Parameters:
      to - 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
      Specified by:
      copy in interface Mask
      Returns:
      a clone of the mask