More var name fixes
This commit is contained in:
@@ -291,13 +291,13 @@ public class CustomChunkGenerator extends InternalChunkGenerator {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void applyBiomeDecoration(WorldGenLevel world, ChunkAccess chunk, StructureManager structureAccessor) {
|
||||
public void applyBiomeDecoration(WorldGenLevel level, ChunkAccess chunk, StructureManager structureManager) {
|
||||
WorldgenRandom random = CustomChunkGenerator.getSeededRandom();
|
||||
int x = chunk.getPos().x;
|
||||
int z = chunk.getPos().z;
|
||||
|
||||
random.setSeed(Mth.getSeed(x, "should-decoration".hashCode(), z) ^ world.getSeed());
|
||||
super.applyBiomeDecoration(world, chunk, structureAccessor, this.generator.shouldGenerateDecorations(this.world.getWorld(), new RandomSourceWrapper.RandomWrapper(random), x, z));
|
||||
random.setSeed(Mth.getSeed(x, "should-decoration".hashCode(), z) ^ level.getSeed());
|
||||
super.applyBiomeDecoration(level, chunk, structureManager, this.generator.shouldGenerateDecorations(this.world.getWorld(), new RandomSourceWrapper.RandomWrapper(random), x, z));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -613,8 +613,8 @@ public abstract class DelegatedGeneratorAccess implements WorldGenLevel {
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockHitResult clip(ClipContext raytrace1, BlockPos blockposition) {
|
||||
return this.handle.clip(raytrace1, blockposition);
|
||||
public BlockHitResult clip(ClipContext context, BlockPos traversePos) {
|
||||
return this.handle.clip(context, traversePos);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user