Interface BiomeVolume.Modifiable<M extends BiomeVolume.Modifiable<M>>
- All Superinterfaces:
BiomeVolume
,BiomeVolume.Streamable<M>
,MutableVolume
,Volume
- All Known Subinterfaces:
ArchetypeVolume
,BiomeVolume.Mutable
,Chunk<P>
,ClientWorld
,GenerationChunk
,GenerationRegion
,Schematic
,ServerWorld
,World<W,
,L> WorldChunk
,WorldLike<P>
- Enclosing interface:
BiomeVolume
public static interface BiomeVolume.Modifiable<M extends BiomeVolume.Modifiable<M>>
extends BiomeVolume.Streamable<M>, MutableVolume
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.biome.BiomeVolume
BiomeVolume.Immutable, BiomeVolume.Modifiable<M extends BiomeVolume.Modifiable<M>>, BiomeVolume.Mutable, BiomeVolume.Streamable<B extends BiomeVolume.Streamable<B>>, BiomeVolume.Unmodifiable<U extends BiomeVolume.Unmodifiable<U>>
-
Method Summary
Methods inherited from interface org.spongepowered.api.world.volume.biome.BiomeVolume
biome, biome
Methods inherited from interface org.spongepowered.api.world.volume.biome.BiomeVolume.Streamable
biomeStream
-
Method Details
-
setBiome
Sets theBiome
at the given position in this volume.- Parameters:
position
- The positionbiome
- The biome type- Returns:
- Whether the biome change was successful
- Throws:
PositionOutOfBoundsException
- If the position is outside of the bounds of the volume
-
setBiome
Sets theBiome
at the given position in this volume.- Parameters:
x
- The X positiony
- The Y positionz
- The Z positionbiome
- The biome type- Returns:
- Whether the biome change was successful
- Throws:
PositionOutOfBoundsException
- If the position is outside of the bounds of the volume
-