Interface BiomeVolume
-
- All Superinterfaces:
Volume
- All Known Subinterfaces:
ArchetypeVolume
,BiomeVolume.Immutable
,BiomeVolume.Modifiable<M>
,BiomeVolume.Mutable
,BiomeVolume.Streamable<B>
,BiomeVolume.Unmodifiable<U>
,Chunk<P>
,ClientWorld
,EnvironmentalVolume
,GenerationChunk
,GenerationRegion
,Region<R>
,Schematic
,ServerWorld
,Virtualized.Immutable
,World<W,L>
,WorldChunk
,WorldLike<P>
public interface BiomeVolume extends Volume
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BiomeVolume.Immutable
static interface
BiomeVolume.Modifiable<M extends BiomeVolume.Modifiable<M>>
static interface
BiomeVolume.Mutable
static interface
BiomeVolume.Streamable<B extends BiomeVolume.Streamable<B>>
static interface
BiomeVolume.Unmodifiable<U extends BiomeVolume.Unmodifiable<U>>
Like aBlockVolume
except in the case that while the parent volume can potentially be aMutableVolume
, this volume returned will not be.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Biome
biome(int x, int y, int z)
Gets theBiome
at the given location.default Biome
biome(Vector3i position)
Gets an object representing the biome at the given position.
-
-
-
Method Detail
-
biome
default Biome biome(Vector3i position)
Gets an object representing the biome at the given position.- Parameters:
position
- The position- Returns:
- The biome
- Throws:
PositionOutOfBoundsException
- If the position is outside of the bounds of the volume
-
biome
Biome biome(int x, int y, int z)
Gets theBiome
at the given location.- Parameters:
x
- The X positiony
- The Y positionz
- The Z position- Returns:
- The biome
- Throws:
PositionOutOfBoundsException
- If the position is outside of the bounds of the volume
-
-