Deprecate magic values

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-08-19 13:32:18 -05:00
parent d9f3848e22
commit f9bec6eadd
108 changed files with 1194 additions and 11 deletions

View File

@@ -137,7 +137,9 @@ public abstract class ChunkGenerator {
* @param z The Z-coordinate of the chunk
* @param biomes Proposed biome values for chunk - can be updated by generator
* @return short[][] containing the types for each block created by this generator
* @deprecated Magic value
*/
@Deprecated
public short[][] generateExtBlockSections(World world, Random random, int x, int z, BiomeGrid biomes) {
return null; // Default - returns null, which drives call to generateBlockSections()
}
@@ -186,7 +188,9 @@ public abstract class ChunkGenerator {
* @param z The Z-coordinate of the chunk
* @param biomes Proposed biome values for chunk - can be updated by generator
* @return short[][] containing the types for each block created by this generator
* @deprecated Magic value
*/
@Deprecated
public byte[][] generateBlockSections(World world, Random random, int x, int z, BiomeGrid biomes) {
return null; // Default - returns null, which drives call to generate()
}