Class BiomeMask2D
java.lang.Object
com.sk89q.worldedit.function.mask.AbstractMask2D
com.sk89q.worldedit.function.mask.BiomeMask2D
- All Implemented Interfaces:
Mask2D
Deprecated.
Tests true if the biome at applied points is the same as the one given.
-
Constructor Summary
ConstructorDescriptionBiomeMask2D
(Extent extent, BiomeType... biome) Deprecated.Create a new biome mask.BiomeMask2D
(Extent extent, Collection<BiomeType> biomes) Deprecated.Create a new biome mask. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Add the given biomes to the list of criteria.void
add
(Collection<BiomeType> biomes) Deprecated.Add the given biomes to the list of criteria.copy2D()
Deprecated.Deprecated.Get the list of biomes that are tested with.boolean
test
(BlockVector2 vector) Deprecated.Returns true if the criteria is met.
-
Constructor Details
-
BiomeMask2D
Deprecated.Create a new biome mask.- Parameters:
extent
- the extentbiomes
- a list of biomes to match
-
BiomeMask2D
Deprecated.Create a new biome mask.- Parameters:
extent
- the extentbiome
- an array of biomes to match
-
-
Method Details
-
add
Deprecated.Add the given biomes to the list of criteria.- Parameters:
biomes
- a list of biomes
-
add
Deprecated.Add the given biomes to the list of criteria.- Parameters:
biome
- an array of biomes
-
getBiomes
Deprecated.Get the list of biomes that are tested with.- Returns:
- a list of biomes
-
test
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
Deprecated.
-
BiomeMask
as biomes are now 3D.