Lodestone.Minecraft.Java  1.2.6
Loading...
Searching...
No Matches
McRegionLevelData.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 2/14/26 using zPc-i2.
3//
4#ifndef LODESTONE_MCREGIONLEVELDATA_H
5#define LODESTONE_MCREGIONLEVELDATA_H
7
8#include <memory>
9
12 static constexpr int DEFAULT_VERSION = 19132;
13
14 McRegionLevelData(const int64_t seed, const int64_t lastPlayed, const int64_t time,
15 const bool isHardcore, const bool isRaining, const int rainTime, const bool isThundering,
16 const int thunderTime, const int32_t version = DEFAULT_VERSION)
24 }
25
26 std::unique_ptr<level::properties::AbstractProperty>
27 getProperty(const std::string &name) override;
28
52
58 };
59}
60
61#endif // LODESTONE_MCREGIONLEVELDATA_H
Definition McRegionLevelData.cpp:6
LevelData(const int64_t seed=0, const int64_t lastPlayed=0, const int64_t time=0)
int thunderTime
@prop thunderTime
Definition McRegionLevelData.h:51
McRegionLevelData(const int64_t seed, const int64_t lastPlayed, const int64_t time, const bool isHardcore, const bool isRaining, const int rainTime, const bool isThundering, const int thunderTime, const int32_t version=DEFAULT_VERSION)
Definition McRegionLevelData.h:14
std::unique_ptr< level::properties::AbstractProperty > getProperty(const std::string &name) override
Definition McRegionLevelData.cpp:7
bool isThundering
Whether it's currently a thunderstorm in the world.
Definition McRegionLevelData.h:47
bool isRaining
Whether it's currently raining in the world.
Definition McRegionLevelData.h:38
static constexpr int DEFAULT_VERSION
Definition McRegionLevelData.h:12
bool isHardcore
Whether the world difficulty has been set to Hardcore.
Definition McRegionLevelData.h:33
int rainTime
@prop rainTime
Definition McRegionLevelData.h:42
int32_t version
The world version.
Definition McRegionLevelData.h:57