Class BiomeMask2D

java.lang.Object
com.sk89q.worldedit.function.mask.AbstractMask2D
com.sk89q.worldedit.function.mask.BiomeMask2D
All Implemented Interfaces:
Mask2D

@Deprecated public class BiomeMask2D extends AbstractMask2D
Deprecated.
use BiomeMask as biomes are now 3D.
Tests true if the biome at applied points is the same as the one given.
  • Constructor Details

    • BiomeMask2D

      public BiomeMask2D(Extent extent, Collection<BiomeType> biomes)
      Deprecated.
      Create a new biome mask.
      Parameters:
      extent - the extent
      biomes - a list of biomes to match
    • BiomeMask2D

      public BiomeMask2D(Extent extent, BiomeType... biome)
      Deprecated.
      Create a new biome mask.
      Parameters:
      extent - the extent
      biome - an array of biomes to match
  • Method Details

    • add

      public void add(Collection<BiomeType> biomes)
      Deprecated.
      Add the given biomes to the list of criteria.
      Parameters:
      biomes - a list of biomes
    • add

      public void add(BiomeType... biome)
      Deprecated.
      Add the given biomes to the list of criteria.
      Parameters:
      biome - an array of biomes
    • getBiomes

      public Collection<BiomeType> getBiomes()
      Deprecated.
      Get the list of biomes that are tested with.
      Returns:
      a list of biomes
    • test

      public boolean test(BlockVector2 vector)
      Deprecated.
      Description copied from interface: Mask2D
      Returns true if the criteria is met.
      Parameters:
      vector - the vector to test
      Returns:
      true if the criteria is met
    • copy2D

      public Mask2D copy2D()
      Deprecated.