Show Seed In Debug Info
This commit is contained in:
parent
916902ab68
commit
52ca5bb734
@ -25,6 +25,11 @@ static std::vector<std::string> get_debug_info(const Minecraft *minecraft) {
|
|||||||
info.push_back(std::string("MCPI ") + version_get());
|
info.push_back(std::string("MCPI ") + version_get());
|
||||||
// FPS
|
// FPS
|
||||||
info.push_back("FPS: " + to_string_with_precision(fps, debug_precision));
|
info.push_back("FPS: " + to_string_with_precision(fps, debug_precision));
|
||||||
|
// Seed
|
||||||
|
if (minecraft->level) {
|
||||||
|
info.push_back("");
|
||||||
|
info.push_back("Seed: " + std::to_string(minecraft->level->data.seed));
|
||||||
|
}
|
||||||
// X/Y/Z
|
// X/Y/Z
|
||||||
if (minecraft->player) {
|
if (minecraft->player) {
|
||||||
info.push_back("");
|
info.push_back("");
|
||||||
|
@ -3,3 +3,4 @@ method void setTime(int time) = 0xbab28;
|
|||||||
method bool getSpawnMobs() = 0xbabec;
|
method bool getSpawnMobs() = 0xbabec;
|
||||||
|
|
||||||
property int time = 0x68;
|
property int time = 0x68;
|
||||||
|
property int seed = 0x58;
|
Loading…
Reference in New Issue
Block a user