public interface UnmodifiableBiomeVolume extends BiomeVolume
BiomeVolume
Modifier and Type | Method and Description |
---|---|
UnmodifiableBiomeVolume |
getBiomeView(DiscreteTransform3 transform)
Returns a new volume that is viewed through some transformation.
|
UnmodifiableBiomeVolume |
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 UnmodifiableBiomeVolume> |
getBiomeWorker()
Gets a new biome worker for this biome volume.
|
default UnmodifiableBiomeVolume |
getRelativeBiomeView()
Returns a new volume that is translated so that
BiomeVolume.getBiomeMin() returns Vector3i.ZERO . |
default UnmodifiableBiomeVolume |
getUnmodifiableBiomeView()
Returns a new volume that cannot be modified through this view.
|
containsBiome, containsBiome, getBiome, getBiome, getBiomeCopy, getBiomeCopy, getBiomeMax, getBiomeMin, getBiomeSize, getImmutableBiomeCopy
UnmodifiableBiomeVolume getBiomeView(com.flowpowered.math.vector.Vector3i newMin, com.flowpowered.math.vector.Vector3i newMax)
getBiomeView
in interface BiomeVolume
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 volumeUnmodifiableBiomeVolume getBiomeView(DiscreteTransform3 transform)
getBiomeView
in interface BiomeVolume
transform
- The transformation to be applieddefault UnmodifiableBiomeVolume 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
default UnmodifiableBiomeVolume getUnmodifiableBiomeView()
BiomeVolume
getUnmodifiableBiomeView
in interface BiomeVolume
BiomeVolumeWorker<? extends UnmodifiableBiomeVolume> getBiomeWorker()
BiomeVolume
getBiomeWorker
in interface BiomeVolume