Botcraft 1.21.4
Loading...
Searching...
No Matches
ChestRaftEntity.cpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
3
4
5namespace Botcraft
6{
8 {
9
10 }
11
16
17
18 std::string ChestRaftEntity::GetName() const
19 {
20 return "chest_raft";
21 }
22
24 {
25 return type;
26 }
27
28
30 {
31 return "chest_raft";
32 }
33
35 {
36 return true;
37 }
38
40 {
42
43 output["type"] = type;
44
45 return output;
46 }
47
48
50 {
51 return 1.375;
52 }
53
55 {
56 return 0.5625;
57 }
58
59}
60#endif
virtual ProtocolCraft::Json::Value Serialize() const override
virtual EntityType GetType() const override
virtual double GetHeightImpl() const override
virtual std::string GetName() const override
static std::string GetClassName()
virtual bool IsChestRaft() const override
ChestRaftEntity(const EntityType type)
virtual double GetWidthImpl() const override
virtual ProtocolCraft::Json::Value Serialize() const
Definition Entity.cpp:1095
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
Definition Json.hpp:45