fix block harvest tools

This commit is contained in:
Sen 2025-07-31 14:26:28 +02:00
parent 3bdc5fb4a0
commit 1272f87ea0
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
16 changed files with 173 additions and 119 deletions

View file

@ -82,8 +82,8 @@ public class ReplacerMesa extends ReplacerBiome
int bx = x & 15;
int by = z & 15;
State surface = Blocks.white_clay.getState();
State top = Blocks.white_clay.getState();
State surface = Blocks.beige_clay.getState();
State top = Blocks.beige_clay.getState();
int rng = (int)(noise / 3.0D + 3.0D + rand.doublev() * 0.25D);
boolean hard = Math.cos(noise / 3.0D * Math.PI) > 0.0D;
int sel = -1;
@ -115,8 +115,8 @@ public class ReplacerMesa extends ReplacerBiome
}
else if (i1 >= this.seaLevel - 4 && i1 <= this.seaLevel + 1)
{
surface = Blocks.white_clay.getState();
top = Blocks.white_clay.getState();
surface = Blocks.beige_clay.getState();
top = Blocks.beige_clay.getState();
}
if (i1 < this.seaLevel && (surface == null || surface.getBlock() == Blocks.air))
@ -132,7 +132,7 @@ public class ReplacerMesa extends ReplacerBiome
if (top.getBlock() instanceof BlockColoredClay)
{
primer.set(by, i1, bx, Blocks.orange_clay.getState());
primer.set(by, i1, bx, Blocks.light_brown_clay.getState());
}
}
else if (soil && i1 > 86 + rng * 2)
@ -168,7 +168,7 @@ public class ReplacerMesa extends ReplacerBiome
}
else
{
iblockstate4 = Blocks.orange_clay.getState();
iblockstate4 = Blocks.light_brown_clay.getState();
}
primer.set(by, i1, bx, iblockstate4);
@ -180,7 +180,7 @@ public class ReplacerMesa extends ReplacerBiome
if (base)
{
primer.set(by, i1, bx, Blocks.orange_clay.getState());
primer.set(by, i1, bx, Blocks.light_brown_clay.getState());
}
else
{
@ -200,7 +200,7 @@ public class ReplacerMesa extends ReplacerBiome
if (l1 < 64)
{
this.layers[l1] = Blocks.orange_clay.getState();
this.layers[l1] = Blocks.light_brown_clay.getState();
}
}
@ -213,7 +213,7 @@ public class ReplacerMesa extends ReplacerBiome
for (int l = 0; k + l < 64 && l < j; ++l)
{
this.layers[k + l] = Blocks.yellow_clay.getState();
this.layers[k + l] = Blocks.white_clay.getState();
}
}
@ -226,7 +226,7 @@ public class ReplacerMesa extends ReplacerBiome
for (int i1 = 0; l3 + i1 < 64 && i1 < i3; ++i1)
{
this.layers[l3 + i1] = Blocks.brown_clay.getState();
this.layers[l3 + i1] = Blocks.dark_brown_clay.getState();
}
}
@ -239,7 +239,7 @@ public class ReplacerMesa extends ReplacerBiome
for (int j1 = 0; k4 + j1 < 64 && j1 < i4; ++j1)
{
this.layers[k4 + j1] = Blocks.red_clay.getState();
this.layers[k4 + j1] = Blocks.dark_red_clay.getState();
}
}
@ -253,7 +253,7 @@ public class ReplacerMesa extends ReplacerBiome
for (int k1 = 0; j4 + k1 < 64 && k1 < i5; ++k1)
{
this.layers[j4 + k1] = Blocks.white_clay.getState();
this.layers[j4 + k1] = Blocks.beige_clay.getState();
if (j4 + k1 > 1 && random.chance())
{