Created
March 11, 2012 21:43
-
-
Save md-5/2018310 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public byte[][] generateBlockSections(World world, Random random, int x1, int z1, BiomeGrid biomes) { | |
byte[][] bytes = new byte[16][16 * 16 * 16]; | |
for (int i = 0; i <= 16; i++) { | |
int index = 0; | |
for (int x = 0; x <= 16; x++) { | |
for (int z = 0; z <= 16; z++) { | |
for (int y = 0; y <= 16; y++) { | |
bytes[i][index] = 1; | |
index++; | |
} | |
} | |
} | |
} | |
return bytes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment