TU43 Structures, bug fixes & minor changes

- Elytra flight, damage, kinetic energy, pretty much any bug someone reported, paper doll, etc.
- Fossil & Igloo generation
- Texture interpolation
- Iggy mouse fix for world settings
- Neo branding on main screen
- Release build txt logger
- Debug mode spectator
- Several server fixes
- Flowerpot fixes
- Several more changes made in TU43
This commit is contained in:
Tranqlmao
2026-07-11 19:30:16 -04:00
parent d236146e92
commit a4c746bee4
89 changed files with 1793 additions and 590 deletions
+11 -1
View File
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "net.minecraft.world.level.levelgen.structure.h"
#include "net.minecraft.world.level.biome.h"
#include "JavaMath.h"
#include "Mth.h"
@@ -37,7 +38,16 @@ bool MineShaftFeature::isFeatureChunk(int x, int z, bool bIsSuperflat)
forcePlacement = levelGenOptions->isFeatureChunk(x,z,eFeature_Mineshaft);
}
return forcePlacement || (random->nextDouble() < chance && random->nextInt(80) < max(abs(x), abs(z)));
double effectiveChance = chance;
if (level != nullptr)
{
Biome *b = level->getBiome(x * 16, z * 16);
if (b == Biome::mesa || b == Biome::mesaPlateauF || b == Biome::mesaPlateau ||
b == Biome::mesaBryce || b == Biome::mesaPlateauFM || b == Biome::mesaPlateauM)
effectiveChance = 0.9;
}
return forcePlacement || (random->nextDouble() < effectiveChance && random->nextInt(80) < max(abs(x), abs(z)));
}
StructureStart *MineShaftFeature::createStructureStart(int x, int z)