Lodestone.Minecraft.Java  1.2.6
Loading...
Searching...
No Matches
McRegionPlayer.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 11/14/25 using zPc-i2.
3//
4#ifndef LODESTONE_MCREGIONPLAYER_H
5#define LODESTONE_MCREGIONPLAYER_H
8
10
12 // TODO make minecraft project that has common player data
14 public:
15 explicit McRegionPlayer(const std::string &name);
16
17 short getSleepTimer() const;
18
19 void setSleepTimer(const short sleepTimer);
20
21 bool isSleeping() const;
22
23 void setSleeping(const bool isSleeping);
24
27 static int identifierToDimensionId(
29
31
32 std::unique_ptr<level::properties::AbstractProperty>
33 getProperty(const std::string &name) override;
34
35 private:
38 };
39} // namespace lodestone::minecraft::java::mcregion::player
40
41#endif // LODESTONE_MCREGIONPLAYER_H
const lodestone::common::registry::Identifier * getType() const override
Definition McRegionPlayer.cpp:57
void setSleepTimer(const short sleepTimer)
Definition McRegionPlayer.cpp:17
McRegionPlayer(const std::string &name)
Definition McRegionPlayer.cpp:12
short getSleepTimer() const
Definition McRegionPlayer.cpp:15
static const lodestone::common::registry::Identifier & dimensionIdToIdentifier(int id)
Definition McRegionPlayer.cpp:28
bool isSleeping() const
Definition McRegionPlayer.cpp:21
void setSleeping(const bool isSleeping)
Definition McRegionPlayer.cpp:23
std::unique_ptr< level::properties::AbstractProperty > getProperty(const std::string &name) override
Definition McRegionPlayer.cpp:62
static int identifierToDimensionId(const lodestone::common::registry::Identifier &str)
Definition McRegionPlayer.cpp:42
Definition McRegionPlayer.cpp:11