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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleansetBiome(int x, int y, int z, Biome biome)Sets theBiomeat the given position in this volume.default booleansetBiome(Vector3i position, Biome biome)Sets theBiomeat the given position in this volume.-
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 Detail
-
setBiome
default boolean setBiome(Vector3i position, Biome biome)
Sets theBiomeat 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
boolean setBiome(int x, int y, int z, Biome biome)Sets theBiomeat 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
-
-