Class RegionMaskTestFunction

java.lang.Object
com.fastasyncworldedit.core.function.RegionMaskTestFunction
All Implemented Interfaces:
Filter, RegionFunction

public class RegionMaskTestFunction extends Object implements RegionFunction
Passes calls to apply(BlockVector3) to the delegate RegionFunction if they match the given mask.
  • Constructor Details

    • RegionMaskTestFunction

      public RegionMaskTestFunction(Mask mask, RegionFunction success, RegionFunction failure)
      Create a new masking filter.
      Parameters:
      mask - the mask
      failure - the function
  • Method Details