Class FaweMask

java.lang.Object
com.fastasyncworldedit.core.regions.FaweMask
All Implemented Interfaces:
IBatchProcessor, IDelegateRegion, Region, Cloneable, Iterable<BlockVector3>

public class FaweMask extends Object implements IDelegateRegion
  • Constructor Details

    • FaweMask

      public FaweMask(@Nonnull Region region)
  • Method Details

    • getRegion

      public Region getRegion()
      Specified by:
      getRegion in interface IDelegateRegion
    • isValid

      public boolean isValid(Player player, FaweMaskManager.MaskType type)
      Test if the mask is still valid
      Parameters:
      player - player to test
      type - type of mask
      Returns:
      if still valid
    • isValid

      public boolean isValid(Player player, FaweMaskManager.MaskType type, boolean notify)
      Test if the mask is still valid
      Parameters:
      player - player to test
      type - type of mask
      notify - if the player should be notified
      Returns:
      if still valid
      Since:
      2.7.0
    • clone

      public Region clone()
      Description copied from interface: Region
      Make a clone of the region.
      Specified by:
      clone in interface IDelegateRegion
      Specified by:
      clone in interface Region
      Overrides:
      clone in class Object
      Returns:
      a cloned version
    • getScope

      public ProcessorScope getScope()
      Description copied from interface: IBatchProcessor
      Default to CUSTOM ProcessorScope as we want custom processors people add to be before we write history, but after FAWE does it's own stuff.
      Specified by:
      getScope in interface IBatchProcessor
      Specified by:
      getScope in interface Region