@@ -205,7 +205,7 @@ private OptionalInt sampleHeightmap(
205
205
generationShapeConfig ,
206
206
DensityFunctionTypes .Beardifier .INSTANCE ,
207
207
this .settings .value (),
208
- ( AquiferSampler . FluidLevelSampler ) this .fluidLevelSampler .get (),
208
+ this .fluidLevelSampler .get (),
209
209
Blender .getNoBlending ()
210
210
);
211
211
chunkNoiseSampler .sampleStartDensity ();
@@ -296,9 +296,6 @@ public void carve(
296
296
chunkx -> this .createChunkNoiseSampler (chunkx , structureAccessor , Blender .getBlender (chunkRegion ), noiseConfig )
297
297
);
298
298
AquiferSampler aquiferSampler = chunkNoiseSampler .getAquiferSampler ();
299
- CarverContext carverContext = new CarverContext (
300
- this , chunkRegion .getRegistryManager (), chunk .getHeightLimitView (), chunkNoiseSampler , noiseConfig , this .settings .value ().surfaceRule ()
301
- );
302
299
CarvingMask carvingMask = ((ProtoChunk )chunk ).getOrCreateCarvingMask (carverStep );
303
300
304
301
for (int j = -8 ; j <= 8 ; j ++) {
@@ -318,7 +315,7 @@ public void carve(
318
315
ConfiguredCarver <?> configuredCarver = registryEntry .value ();
319
316
chunkRandom .setCarverSeed (seed + (long )l , chunkPos2 .x , chunkPos2 .z );
320
317
if (configuredCarver .shouldCarve (chunkRandom )) {
321
- configuredCarver .carve (carverContext , chunk , biomeAccess2 ::getBiome , chunkRandom , aquiferSampler , chunkPos2 , carvingMask );
318
+ // configuredCarver.carve(carverContext, chunk, biomeAccess2::getBiome, chunkRandom, aquiferSampler, chunkPos2, carvingMask);
322
319
}
323
320
324
321
l ++;
@@ -336,7 +333,7 @@ public CompletableFuture<Chunk> populateNoise(Blender blender, NoiseConfig noise
336
333
return k <= 0 ? CompletableFuture .completedFuture (chunk ) : CompletableFuture .supplyAsync (Util .debugSupplier ("wgen_fill_noise" , () -> {
337
334
int l = chunk .getSectionIndex (k * generationShapeConfig .verticalCellBlockCount () - 1 + i );
338
335
int m = chunk .getSectionIndex (i );
339
- Set <ChunkSection > set = Sets .< ChunkSection > newHashSet ();
336
+ Set <ChunkSection > set = Sets .newHashSet ();
340
337
341
338
for (int n = l ; n >= m ; n --) {
342
339
ChunkSection chunkSection = chunk .getSection (n );
0 commit comments