4jcraft/targets/minecraft/world/level/levelgen/LargeFeature.h
2026-04-01 13:27:58 -05:00

25 lines
569 B
C++

#pragma once
#include "minecraft/world/level/chunk/ChunkSource.h"
class Level;
class LargeFeature {
public:
static const std::wstring STRONGHOLD;
protected:
int radius;
Random* random;
Level* level;
public:
LargeFeature();
virtual ~LargeFeature();
virtual void apply(ChunkSource* ChunkSource, Level* level, int xOffs,
int zOffs, std::vector<uint8_t>& blocks);
protected:
virtual void addFeature(Level* level, int x, int z, int xOffs, int zOffs,
std::vector<uint8_t>& blocks) {}
};