2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
#include "Dimension.h"
|
|
|
|
|
|
|
|
|
|
class TheEndDimension : public Dimension
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
virtual void init();
|
|
|
|
|
virtual ChunkSource *createRandomLevelSource() const;
|
2026-03-02 15:53:32 +07:00
|
|
|
virtual float getTimeOfDay(int64_t time, float a) const;
|
2026-03-01 12:16:08 +08:00
|
|
|
virtual float *getSunriseColor(float td, float a);
|
|
|
|
|
virtual Vec3 *getFogColor(float td, float a) const;
|
|
|
|
|
virtual bool hasGround();
|
|
|
|
|
virtual bool mayRespawn() const;
|
|
|
|
|
virtual bool isNaturalDimension();
|
|
|
|
|
virtual float getCloudHeight();
|
|
|
|
|
virtual bool isValidSpawn(int x, int z) const;
|
|
|
|
|
virtual Pos *getSpawnPos();
|
|
|
|
|
virtual int getSpawnYPosition();
|
|
|
|
|
virtual bool isFoggyAt(int x, int z);
|
|
|
|
|
};
|