Interface BiomeVolume.Modifiable<M extends BiomeVolume.Modifiable<M>>

    • Method Detail

      • 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