Skip to content

Commit

Permalink
removed generateChunkData
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0inx authored May 10, 2024
1 parent 00b4258 commit 75f991c
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@ public class VoidGenerator extends ChunkGenerator {

public byte[][] blockSections;

@Override
public @NotNull ChunkData generateChunkData(@NotNull World world, @NotNull Random random, int chunkX, int chunkZ, @NotNull BiomeGrid biomeGrid) {
final ChunkData chunkData = createChunkData(world);
for (int x = 0; x < 16; x++) {
for (int z = 0; z < 16; z++) {
biomeGrid.setBiome(x, z, Objects.requireNonNull(getSkyblockGenerator(world.getEnvironment()).biome.getBiome()));
}
}
return chunkData;
}

public byte[][] generateBlockSections(World world, Random random, int x, int z, BiomeGrid biomeGrid) {
if (blockSections == null) {
blockSections = new byte[world.getMaxHeight() / 16][];
Expand Down

0 comments on commit 75f991c

Please sign in to comment.