Class AbstractExtentMask

java.lang.Object
com.sk89q.worldedit.function.mask.AbstractMask
com.sk89q.worldedit.function.mask.AbstractExtentMask
All Implemented Interfaces:
Mask
Direct Known Subclasses:
ABlockMask, AngleMask, BiomeMask, BlockCategoryMask, BlockStateMask, BlockTypeMask, DataMask, ExistingBlockMask, IdMask, ImageBrushMask, LayerBrushMask, SplatterBrushMask, StencilBrushMask, SurfaceAngleMask

public abstract class AbstractExtentMask extends AbstractMask
An abstract implementation of Mask that takes uses an Extent.
  • Constructor Details

    • AbstractExtentMask

      protected AbstractExtentMask(Extent extent)
      Construct a new mask.
      Parameters:
      extent - the extent
  • Method Details

    • getExtent

      public Extent getExtent()
      Get the extent.
      Returns:
      the extent
    • setExtent

      public void setExtent(Extent extent)
      Set the extent.
      Parameters:
      extent - the extent
    • test

      public abstract boolean test(Extent extent, BlockVector3 position)