* Decompile LargeFeature, LargeCaveFeature. Add in game for testing.

* Rename Random::nextTLong to Random::nextLong
This commit is contained in:
iProgramInCpp
2023-08-04 21:48:57 +03:00
parent 89c7adbbe5
commit 7d331e76c7
10 changed files with 300 additions and 6 deletions

View File

@@ -9,6 +9,8 @@
#include "RandomLevelSource.hpp"
#include "Level.hpp"
#define TEST_CAVES
const float RandomLevelSource::SNOW_CUTOFF = 0.5f;
const float RandomLevelSource::SNOW_SCALE = 0.3f;
@@ -75,6 +77,9 @@ LevelChunk* RandomLevelSource::getChunk(int x, int z)
pChunk->recalcHeightmap();
// @NOTE: Java Edition Beta 1.6 uses the m_largeCaveFeature.
#ifdef TEST_CAVES
m_largeCaveFeature.apply(this, m_pLevel, x, z, pLevelData, 0);
#endif
return pChunk;
}