public abstract class AbstractBiomeBuffer extends Object implements org.spongepowered.api.world.extent.BiomeArea
Modifier and Type | Field and Description |
---|---|
protected com.flowpowered.math.vector.Vector2i |
end |
protected com.flowpowered.math.vector.Vector2i |
size |
protected com.flowpowered.math.vector.Vector2i |
start |
Modifier | Constructor and Description |
---|---|
protected |
AbstractBiomeBuffer(com.flowpowered.math.vector.Vector2i start,
com.flowpowered.math.vector.Vector2i size) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkRange(int x,
int z) |
boolean |
containsBiome(int x,
int z) |
boolean |
containsBiome(com.flowpowered.math.vector.Vector2i position) |
org.spongepowered.api.world.extent.MutableBiomeArea |
getBiomeCopy() |
com.flowpowered.math.vector.Vector2i |
getBiomeMax() |
com.flowpowered.math.vector.Vector2i |
getBiomeMin() |
com.flowpowered.math.vector.Vector2i |
getBiomeSize() |
protected int |
getIndex(int x,
int y) |
String |
toString() |
protected com.flowpowered.math.vector.Vector2i start
protected com.flowpowered.math.vector.Vector2i size
protected com.flowpowered.math.vector.Vector2i end
protected AbstractBiomeBuffer(com.flowpowered.math.vector.Vector2i start, com.flowpowered.math.vector.Vector2i size)
protected final void checkRange(int x, int z)
protected int getIndex(int x, int y)
public com.flowpowered.math.vector.Vector2i getBiomeMin()
getBiomeMin
in interface org.spongepowered.api.world.extent.BiomeArea
public com.flowpowered.math.vector.Vector2i getBiomeMax()
getBiomeMax
in interface org.spongepowered.api.world.extent.BiomeArea
public com.flowpowered.math.vector.Vector2i getBiomeSize()
getBiomeSize
in interface org.spongepowered.api.world.extent.BiomeArea
public boolean containsBiome(com.flowpowered.math.vector.Vector2i position)
containsBiome
in interface org.spongepowered.api.world.extent.BiomeArea
public boolean containsBiome(int x, int z)
containsBiome
in interface org.spongepowered.api.world.extent.BiomeArea
public org.spongepowered.api.world.extent.MutableBiomeArea getBiomeCopy()
getBiomeCopy
in interface org.spongepowered.api.world.extent.BiomeArea