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
  • Method Details

    • setBiome

      default boolean setBiome(Vector3i position, Biome biome)
      Sets the Biome at the given position in this volume.
      Parameters:
      position - The position
      biome - 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 the Biome at the given position in this volume.
      Parameters:
      x - The X position
      y - The Y position
      z - The Z position
      biome - The biome type
      Returns:
      Whether the biome change was successful
      Throws:
      PositionOutOfBoundsException - If the position is outside of the bounds of the volume