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 interfaceBiomeVolume.Immutablestatic interfaceBiomeVolume.Modifiable<M extends BiomeVolume.Modifiable<M>>static interfaceBiomeVolume.Mutablestatic interfaceBiomeVolume.Streamable<B extends BiomeVolume.Streamable<B>>static interfaceBiomeVolume.Unmodifiable<U extends BiomeVolume.Unmodifiable<U>>Like aBlockVolumeexcept 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 Biomebiome(int x, int y, int z)Gets theBiomeat the given location.default Biomebiome(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 theBiomeat 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
-
-