chore: format Minecraft.World

This commit is contained in:
Tropical
2026-03-13 17:06:56 -05:00
parent bd6284025d
commit 33d0737d1d
1511 changed files with 108661 additions and 115521 deletions

View File

@@ -2,20 +2,17 @@
#include "../../Headers/net.minecraft.world.level.biome.h"
#include "../../Headers/net.minecraft.world.level.newbiome.layer.h"
DownfallLayer::DownfallLayer(std::shared_ptr<Layer>parent) : Layer(0)
{
this->parent = parent;
DownfallLayer::DownfallLayer(std::shared_ptr<Layer> parent) : Layer(0) {
this->parent = parent;
}
intArray DownfallLayer::getArea(int xo, int yo, int w, int h)
{
intArray b = parent->getArea(xo, yo, w, h);
intArray DownfallLayer::getArea(int xo, int yo, int w, int h) {
intArray b = parent->getArea(xo, yo, w, h);
intArray result = IntCache::allocate(w * h);
for (int i = 0; i < w * h; i++)
{
result[i] = Biome::biomes[b[i]]->getDownfallInt();
}
intArray result = IntCache::allocate(w * h);
for (int i = 0; i < w * h; i++) {
result[i] = Biome::biomes[b[i]]->getDownfallInt();
}
return result;
return result;
}