public abstract class AbstractBiomeViewDownsize<A extends org.spongepowered.api.world.extent.BiomeArea> extends Object implements org.spongepowered.api.world.extent.BiomeArea
Modifier and Type | Field and Description |
---|---|
protected A |
area |
protected com.flowpowered.math.vector.Vector2i |
max |
protected com.flowpowered.math.vector.Vector2i |
min |
protected com.flowpowered.math.vector.Vector2i |
size |
Constructor and Description |
---|
AbstractBiomeViewDownsize(A area,
com.flowpowered.math.vector.Vector2i min,
com.flowpowered.math.vector.Vector2i max) |
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.biome.BiomeType |
getBiome(int x,
int z) |
org.spongepowered.api.world.biome.BiomeType |
getBiome(com.flowpowered.math.vector.Vector2i position) |
org.spongepowered.api.world.extent.MutableBiomeArea |
getBiomeCopy() |
org.spongepowered.api.world.extent.MutableBiomeArea |
getBiomeCopy(org.spongepowered.api.world.extent.StorageType type) |
com.flowpowered.math.vector.Vector2i |
getBiomeMax() |
com.flowpowered.math.vector.Vector2i |
getBiomeMin() |
com.flowpowered.math.vector.Vector2i |
getBiomeSize() |
org.spongepowered.api.world.extent.ImmutableBiomeArea |
getImmutableBiomeCopy() |
protected final A extends org.spongepowered.api.world.extent.BiomeArea area
protected final com.flowpowered.math.vector.Vector2i min
protected final com.flowpowered.math.vector.Vector2i max
protected final com.flowpowered.math.vector.Vector2i size
public AbstractBiomeViewDownsize(A area, com.flowpowered.math.vector.Vector2i min, com.flowpowered.math.vector.Vector2i max)
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
protected final void checkRange(int x, int z)
public org.spongepowered.api.world.biome.BiomeType getBiome(com.flowpowered.math.vector.Vector2i position)
getBiome
in interface org.spongepowered.api.world.extent.BiomeArea
public org.spongepowered.api.world.biome.BiomeType getBiome(int x, int z)
getBiome
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
public org.spongepowered.api.world.extent.MutableBiomeArea getBiomeCopy(org.spongepowered.api.world.extent.StorageType type)
getBiomeCopy
in interface org.spongepowered.api.world.extent.BiomeArea
public org.spongepowered.api.world.extent.ImmutableBiomeArea getImmutableBiomeCopy()
getImmutableBiomeCopy
in interface org.spongepowered.api.world.extent.BiomeArea