Interface FlatRegionFunction

All Known Implementing Classes:
BiomeReplace, ExtentBiomeCopy, FlatRegionMaskingFilter, FlatRegionOffset

public interface FlatRegionFunction
Performs a function on the columns in a FlatRegion, or also known as vectors with only X and Z components (where Y is height).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply​(BlockVector2 position)
    Apply the function to the given position.
  • Method Details

    • apply

      boolean apply(BlockVector2 position) throws WorldEditException
      Apply the function to the given position.
      Parameters:
      position - the position
      Returns:
      true if something was changed
      Throws:
      WorldEditException - thrown on an error