mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 08:00:02 +03:00
20 lines
1.1 KiB
Diff
20 lines
1.1 KiB
Diff
--- ../src-base/minecraft/net/minecraft/world/gen/MapGenCaves.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/gen/MapGenCaves.java
|
|
@@ -176,7 +176,7 @@
|
|
if (d9 > -0.7D && d10 * d10 + d9 * d9 + d8 * d8 < 1.0D)
|
|
{
|
|
IBlockState iblockstate1 = p_180702_5_.getBlockState(j3, j2, i2);
|
|
- IBlockState iblockstate2 = (IBlockState)Objects.firstNonNull(p_180702_5_.getBlockState(j3, j2 + 1, i2), BLK_AIR);
|
|
+ IBlockState iblockstate2 = (IBlockState) Objects.firstNonNull(p_180702_5_.getBlockState(j3, j2 + 1, i2), BLK_AIR);
|
|
|
|
if (isTopBlock(p_180702_5_, j3, j2, i2, p_180702_3_, p_180702_4_))
|
|
{
|
|
@@ -273,7 +273,6 @@
|
|
* tries to make the floor the biome's top block
|
|
*
|
|
* @param data Block data array
|
|
- * @param index Pre-calculated index into block data
|
|
* @param x local X position
|
|
* @param y local Y position
|
|
* @param z local Z position
|