public interface BiomeVolume
In vanilla, the y coordinate is always zero.
| Modifier and Type | Method and Description | 
|---|---|
| boolean | containsBiome(int x,
             int y,
             int z)Returns true if the biome volume contains a biome at the specified
 position. | 
| default boolean | containsBiome(com.flowpowered.math.vector.Vector3i position)Returns true if the biome volume contains a biome at the specified
 position. | 
| BiomeType | getBiome(int x,
        int y,
        int z)Gets the  BiomeTypeat the given location. | 
| default BiomeType | getBiome(com.flowpowered.math.vector.Vector3i position)Gets an object representing the biome at the given position. | 
| default MutableBiomeVolume | getBiomeCopy()Returns a mutable copy of the biomes stored in this volume. | 
| MutableBiomeVolume | getBiomeCopy(StorageType type)Returns a mutable copy of the biomes stored in this volume. | 
| com.flowpowered.math.vector.Vector3i | getBiomeMax()Gets the biome location with the highest x and y that is still a valid
 position for  getBiome(Vector3i). | 
| com.flowpowered.math.vector.Vector3i | getBiomeMin()Gets the biome location with the lowest x and y that is still a valid
 position for  getBiome(Vector3i). | 
| com.flowpowered.math.vector.Vector3i | getBiomeSize()Gets the size of the volume. | 
| BiomeVolume | getBiomeView(DiscreteTransform3 transform)Returns a new volume that is viewed through some transformation. | 
| BiomeVolume | getBiomeView(com.flowpowered.math.vector.Vector3i newMin,
            com.flowpowered.math.vector.Vector3i newMax)Returns a new volume that is the same or smaller than the current volume. | 
| BiomeVolumeWorker<? extends BiomeVolume> | getBiomeWorker()Gets a new biome worker for this biome volume. | 
| ImmutableBiomeVolume | getImmutableBiomeCopy()Returns an immutable copy of the biomes stored in this volume. | 
| default BiomeVolume | getRelativeBiomeView()Returns a new volume that is translated so that
  getBiomeMin()returnsVector3i.ZERO. | 
| UnmodifiableBiomeVolume | getUnmodifiableBiomeView()Returns a new volume that cannot be modified through this view. | 
com.flowpowered.math.vector.Vector3i getBiomeMin()
getBiome(Vector3i).com.flowpowered.math.vector.Vector3i getBiomeMax()
getBiome(Vector3i).com.flowpowered.math.vector.Vector3i getBiomeSize()
getBiomeMax() -
 getBiomeMin() + (1, 1)default boolean containsBiome(com.flowpowered.math.vector.Vector3i position)
{getBiomeMin() <= position
 <= getBiomeMax()position - The position to checkboolean containsBiome(int x,
                      int y,
                      int z)
{getBiomeMin() <= (x, y, z)
 <= getBiomeMax()x - The X coordinate to checky - The Y coordinate to checkz - The Z coordinate to checkdefault BiomeType getBiome(com.flowpowered.math.vector.Vector3i position)
position - The positionPositionOutOfBoundsException - If the position is outside of the
         bounds of the volumeBiomeType getBiome(int x, int y, int z)
BiomeType at the given location.x - The X positiony - The Y positionz - The Z positionPositionOutOfBoundsException - If the position is outside of the
         bounds of the volumeBiomeVolume getBiomeView(com.flowpowered.math.vector.Vector3i newMin, com.flowpowered.math.vector.Vector3i newMax)
newMin - The new minimum coordinates in this volumenewMax - The new maximum coordinates in this volumePositionOutOfBoundsException - If the new minimum and maximum are
         outside the current volumeBiomeVolume getBiomeView(DiscreteTransform3 transform)
transform - The transformation to be applieddefault BiomeVolume getRelativeBiomeView()
getBiomeMin() returns Vector3i.ZERO. This
 does not copy the biomes, it only provides a new view of the storage.UnmodifiableBiomeVolume getUnmodifiableBiomeView()
default MutableBiomeVolume getBiomeCopy()
StorageType.STANDARD.MutableBiomeVolume getBiomeCopy(StorageType type)
type - The type of storage used by the new biomesImmutableBiomeVolume getImmutableBiomeCopy()
BiomeVolumeWorker<? extends BiomeVolume> getBiomeWorker()