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. |
getUnmodifiableBiomeViewcontainsBiome, containsBiome, getBiome, getBiome, getBiomeCopy, getBiomeCopy, getBiomeMax, getBiomeMin, getBiomeSizeImmutableBiomeVolume getBiomeView(com.flowpowered.math.vector.Vector3i newMin, com.flowpowered.math.vector.Vector3i newMax)
getBiomeView in interface BiomeVolumegetBiomeView in interface UnmodifiableBiomeVolumenewMin - 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 BiomeVolumegetBiomeView in interface UnmodifiableBiomeVolumetransform - 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 BiomeVolumegetRelativeBiomeView in interface UnmodifiableBiomeVolumedefault ImmutableBiomeVolume getImmutableBiomeCopy()
BiomeVolumegetImmutableBiomeCopy in interface BiomeVolumeBiomeVolumeWorker<? extends ImmutableBiomeVolume> getBiomeWorker()
BiomeVolumegetBiomeWorker in interface BiomeVolumegetBiomeWorker in interface UnmodifiableBiomeVolume