Class Trim


public class Trim extends SubCommand
  • Constructor Details

  • Method Details

    • getTrimRegions

      public static boolean getTrimRegions(String world, RunnableVal2<Set<com.sk89q.worldedit.math.BlockVector2>,​Set<com.sk89q.worldedit.math.BlockVector2>> result)
      Runs the result task with the parameters (viable, nonViable).
      Parameters:
      world - The world
      result - (viable = .mcr to trim, nonViable = .mcr keep)
      Returns:
      success or not
    • onCommand

      public boolean onCommand(PlotPlayer<?> player, String[] args)
      Specified by:
      onCommand in class SubCommand