public interface MutableBiomeVolume extends BiomeVolume
BiomeVolume| Modifier and Type | Method and Description |
|---|---|
MutableBiomeVolume |
getBiomeView(DiscreteTransform3 transform)
Returns a new volume that is viewed through some transformation.
|
MutableBiomeVolume |
getBiomeView(com.flowpowered.math.vector.Vector3i newMin,
com.flowpowered.math.vector.Vector3i newMax)
Returns a new volume that is the same or smaller than the current volume.
|
MutableBiomeVolumeWorker<? extends MutableBiomeVolume> |
getBiomeWorker()
Gets a new biome worker for this biome volume.
|
default MutableBiomeVolume |
getRelativeBiomeView()
Returns a new volume that is translated so that
BiomeVolume.getBiomeMin() returns Vector3i.ZERO. |
void |
setBiome(int x,
int y,
int z,
BiomeType biome)
Sets the biome at the given position in the world.
|
default void |
setBiome(com.flowpowered.math.vector.Vector3i position,
BiomeType biome)
Sets the biome at the given position in the world.
|
containsBiome, containsBiome, getBiome, getBiome, getBiomeCopy, getBiomeCopy, getBiomeMax, getBiomeMin, getBiomeSize, getImmutableBiomeCopy, getUnmodifiableBiomeViewdefault void setBiome(com.flowpowered.math.vector.Vector3i position,
BiomeType biome)
position - The positionbiome - The biomePositionOutOfBoundsException - If the position is outside of the
bounds of the volumevoid setBiome(int x,
int y,
int z,
BiomeType biome)
x - The X positiony - The Y positionz - The Z positionbiome - The biomePositionOutOfBoundsException - If the position is outside of the
bounds of the volumeMutableBiomeVolume getBiomeView(com.flowpowered.math.vector.Vector3i newMin, com.flowpowered.math.vector.Vector3i newMax)
getBiomeView in interface BiomeVolumenewMin - The new minimum coordinates in this volumenewMax - The new maximum coordinates in this volumePositionOutOfBoundsException - If the new minimum and maximum are
outside the current volumeMutableBiomeVolume getBiomeView(DiscreteTransform3 transform)
getBiomeView in interface BiomeVolumetransform - The transformation to be applieddefault MutableBiomeVolume getRelativeBiomeView()
BiomeVolume.getBiomeMin() returns Vector3i.ZERO. This does
not copy the biomes, it only provides a new view of the storage.getRelativeBiomeView in interface BiomeVolumeMutableBiomeVolumeWorker<? extends MutableBiomeVolume> getBiomeWorker()
BiomeVolumegetBiomeWorker in interface BiomeVolume