Class SinglePlot

java.lang.Object
com.plotsquared.core.plot.Plot
com.plotsquared.core.plot.world.SinglePlot

public class SinglePlot extends Plot
  • Constructor Details

  • Method Details

    • getWorldName

      public String getWorldName()
      Description copied from class: Plot
      Get the name of the world that the plot is in
      Overrides:
      getWorldName in class Plot
      Returns:
      World name
    • getArea

      public SinglePlotArea getArea()
      Description copied from class: Plot
      Gets the plot world object for this plot
      - The generic PlotArea object can be casted to its respective class for more control (e.g. HybridPlotWorld)
      Overrides:
      getArea in class Plot
      Returns:
      PlotArea
    • getSide

      public void getSide(Consumer<Location> result)
      Overrides:
      getSide in class Plot
    • isLoaded

      public boolean isLoaded()
      Overrides:
      isLoaded in class Plot
    • getRegions

      public @NonNull Set<CuboidRegion> getRegions()
      Description copied from class: Plot
      This will combine each plot into effective rectangular regions
      - This result is cached globally
      - Useful for handling non rectangular shapes
      Overrides:
      getRegions in class Plot
      Returns:
      all regions within the plot