public interface UnmodifiableBiomeArea extends BiomeArea
BiomeArea
Modifier and Type | Method and Description |
---|---|
UnmodifiableBiomeArea |
getBiomeView(DiscreteTransform2 transform)
Returns a new area that is viewed through some transformation.
|
UnmodifiableBiomeArea |
getBiomeView(com.flowpowered.math.vector.Vector2i newMin,
com.flowpowered.math.vector.Vector2i newMax)
Returns a new area that is the same or smaller than the current area.
|
UnmodifiableBiomeArea |
getRelativeBiomeView()
Returns a new area that is translated so that
BiomeArea.getBiomeMin() returns Vector2i.ZERO . |
containsBiome, containsBiome, getBiome, getBiome, getBiomeCopy, getBiomeCopy, getBiomeMax, getBiomeMin, getBiomeSize, getImmutableBiomeCopy, getUnmodifiableBiomeView
UnmodifiableBiomeArea getBiomeView(com.flowpowered.math.vector.Vector2i newMin, com.flowpowered.math.vector.Vector2i newMax)
getBiomeView
in interface BiomeArea
newMin
- The new minimum coordinates in this areanewMax
- The new maximum coordinates in this areaPositionOutOfBoundsException
- If the new minimum and maximum
are outside the current areaUnmodifiableBiomeArea getBiomeView(DiscreteTransform2 transform)
getBiomeView
in interface BiomeArea
transform
- The transformation to be appliedUnmodifiableBiomeArea getRelativeBiomeView()
BiomeArea.getBiomeMin()
returns Vector2i.ZERO
.
This does not copy the biomes, it only provides a new view of the
storage.getRelativeBiomeView
in interface BiomeArea