Replaced spaces, proper biome getter, imports cleanup
This commit is contained in:
parent
91e7bab993
commit
58310d020c
26 changed files with 979 additions and 981 deletions
|
@ -34,8 +34,7 @@ public class MegaLakeSmallStructure extends FeatureBaseStructure {
|
||||||
int z = chunkPos.getBlockZ(MHelper.randRange(4, 12, random));
|
int z = chunkPos.getBlockZ(MHelper.randRange(4, 12, random));
|
||||||
int y = chunkGenerator.getBaseHeight(x, z, Types.WORLD_SURFACE_WG, levelHeightAccessor);
|
int y = chunkGenerator.getBaseHeight(x, z, Types.WORLD_SURFACE_WG, levelHeightAccessor);
|
||||||
|
|
||||||
//TODO: 1.18 right way to get biome?
|
Biome biome = chunkGenerator.getNoiseBiome(x >> 2, y >> 2, z >> 2);
|
||||||
Biome biome = chunkGenerator.getNoiseBiome(x, y, z);
|
|
||||||
if (y > 5) {
|
if (y > 5) {
|
||||||
float radius = MHelper.randRange(20, 40, random);
|
float radius = MHelper.randRange(20, 40, random);
|
||||||
float depth = MHelper.randRange(5, 10, random);
|
float depth = MHelper.randRange(5, 10, random);
|
||||||
|
|
|
@ -36,8 +36,7 @@ public class MegaLakeStructure extends FeatureBaseStructure {
|
||||||
int y = chunkGenerator.getBaseHeight(x, z, Types.WORLD_SURFACE_WG, levelHeightAccessor);
|
int y = chunkGenerator.getBaseHeight(x, z, Types.WORLD_SURFACE_WG, levelHeightAccessor);
|
||||||
|
|
||||||
if (y > 5) {
|
if (y > 5) {
|
||||||
//TODO: 1.18 right way to get biome?
|
Biome biome = chunkGenerator.getNoiseBiome(x >> 2, y >> 2, z >> 2);
|
||||||
Biome biome = chunkGenerator.getNoiseBiome(x, y, z);
|
|
||||||
|
|
||||||
float radius = MHelper.randRange(32, 64, random);
|
float radius = MHelper.randRange(32, 64, random);
|
||||||
float depth = MHelper.randRange(7, 15, random);
|
float depth = MHelper.randRange(7, 15, random);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue