BiomeMask
as biomes are now 3D.@Deprecated public class BiomeMask2D extends AbstractMask2D
Constructor and Description |
---|
BiomeMask2D(Extent extent,
BiomeType... biome)
Deprecated.
Create a new biome mask.
|
BiomeMask2D(Extent extent,
java.util.Collection<BiomeType> biomes)
Deprecated.
Create a new biome mask.
|
Modifier and Type | Method and Description |
---|---|
void |
add(BiomeType... biome)
Deprecated.
Add the given biomes to the list of criteria.
|
void |
add(java.util.Collection<BiomeType> biomes)
Deprecated.
Add the given biomes to the list of criteria.
|
java.util.Collection<BiomeType> |
getBiomes()
Deprecated.
Get the list of biomes that are tested with.
|
boolean |
test(BlockVector2 vector)
Deprecated.
Returns true if the criteria is met.
|
public BiomeMask2D(Extent extent, java.util.Collection<BiomeType> biomes)
extent
- the extentbiomes
- a list of biomes to matchpublic void add(java.util.Collection<BiomeType> biomes)
biomes
- a list of biomespublic void add(BiomeType... biome)
biome
- an array of biomespublic java.util.Collection<BiomeType> getBiomes()
public boolean test(BlockVector2 vector)
Mask2D
vector
- the vector to test