public interface ImmutableBiomeVolume extends UnmodifiableBiomeVolume
BiomeVolume
Modifier and Type | Method and Description |
---|---|
ImmutableBiomeVolume |
getBiomeView(DiscreteTransform3 transform)
Returns a new volume that is viewed through some transformation.
|
ImmutableBiomeVolume |
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.
|
BiomeVolumeWorker<? extends ImmutableBiomeVolume> |
getBiomeWorker()
Gets a new biome worker for this biome volume.
|
default ImmutableBiomeVolume |
getImmutableBiomeCopy()
Returns an immutable copy of the biomes stored in this volume.
|
default ImmutableBiomeVolume |
getRelativeBiomeView()
Returns a new volume that is translated so that
BiomeVolume.getBiomeMin() returns Vector3i.ZERO . |
getUnmodifiableBiomeView
containsBiome, containsBiome, getBiome, getBiome, getBiomeCopy, getBiomeCopy, getBiomeMax, getBiomeMin, getBiomeSize
ImmutableBiomeVolume getBiomeView(com.flowpowered.math.vector.Vector3i newMin, com.flowpowered.math.vector.Vector3i newMax)
getBiomeView
in interface BiomeVolume
getBiomeView
in interface UnmodifiableBiomeVolume
newMin
- The new minimum coordinates in this volumenewMax
- The new maximum coordinates in this volumePositionOutOfBoundsException
- If the new minimum and maximum are
outside the current volumeImmutableBiomeVolume getBiomeView(DiscreteTransform3 transform)
getBiomeView
in interface BiomeVolume
getBiomeView
in interface UnmodifiableBiomeVolume
transform
- The transformation to be applieddefault ImmutableBiomeVolume getRelativeBiomeView()
BiomeVolume.getBiomeMin()
returns Vector3i.ZERO
. This
does not copy the biomes, it only provides a new view of the storage.getRelativeBiomeView
in interface BiomeVolume
getRelativeBiomeView
in interface UnmodifiableBiomeVolume
default ImmutableBiomeVolume getImmutableBiomeCopy()
BiomeVolume
getImmutableBiomeCopy
in interface BiomeVolume
BiomeVolumeWorker<? extends ImmutableBiomeVolume> getBiomeWorker()
BiomeVolume
getBiomeWorker
in interface BiomeVolume
getBiomeWorker
in interface UnmodifiableBiomeVolume