Skip to content

Commit

Permalink
Add comment in empty methodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
HydrolienF committed Jun 19, 2024
1 parent 7d20593 commit f7acb5b
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,24 @@ private class VoidChunkGenerator extends ChunkGenerator {

@Override
public void generateNoise(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ,
@NotNull ChunkData chunkData) {}
@NotNull ChunkData chunkData) {
// No need to generate noise, we want an empty world
}
@Override
public void generateSurface(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ,
@NotNull ChunkData chunkData) {}
@NotNull ChunkData chunkData) {
// No need to generate surface, we want an empty world
}
@Override
public void generateBedrock(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ,
@NotNull ChunkData chunkData) {}
@NotNull ChunkData chunkData) {
// No need to generate bedrock, we want an empty world
}
@Override
public void generateCaves(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ,
@NotNull ChunkData chunkData) {}
@NotNull ChunkData chunkData) {
// No need to generate caves, we want an empty world
}

@Override
@Nullable
Expand Down

0 comments on commit f7acb5b

Please sign in to comment.