Files
neoLegacy/Minecraft.World/EndCityFeature.h
T
Tranqlmao ff562d1644 TU46 Test content and patches
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
2026-10-22 13:55:39 -04:00

35 lines
878 B
C++

#pragma once
#include "StructureFeature.h"
#include "StructureStart.h"
class TheEndLevelRandomLevelSource;
class EndCityFeature : public StructureFeature
{
private:
TheEndLevelRandomLevelSource *source;
public:
EndCityFeature(TheEndLevelRandomLevelSource *source);
wstring getFeatureName();
static int getYPositionForFeature(int chunkX, int chunkZ, TheEndLevelRandomLevelSource *source);
protected:
virtual bool isFeatureChunk(int x, int z, bool bIsSuperflat = false);
virtual StructureStart *createStructureStart(int x, int z);
public:
class EndCityStart : public StructureStart
{
public:
static StructureStart *Create() { return new EndCityStart(); }
virtual EStructureStart GetType() { return eStructureStart_EndCity; }
EndCityStart();
EndCityStart(Level *level, TheEndLevelRandomLevelSource *source, Random *random, int chunkX, int chunkZ);
};
};