Botcraft 1.21.4
Loading...
Searching...
No Matches
ChestRaftEntity.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
4
5namespace Botcraft
6{
8 {
9 protected:
10 static constexpr int metadata_count = 0;
12
13 public:
15 virtual ~ChestRaftEntity();
16
17 // Object related stuff
18 virtual std::string GetName() const override;
19 virtual EntityType GetType() const override;
20
21 // Static stuff, for easier comparison
22 static std::string GetClassName();
23 virtual bool IsChestRaft() const override;
24
25 virtual ProtocolCraft::Json::Value Serialize() const override;
26
27 protected:
29
30 protected:
31 virtual double GetWidthImpl() const override;
32 virtual double GetHeightImpl() const override;
33
34 };
35}
36#endif
virtual ProtocolCraft::Json::Value Serialize() const override
virtual EntityType GetType() const override
static constexpr int metadata_count
virtual double GetHeightImpl() const override
virtual std::string GetName() const override
static std::string GetClassName()
static constexpr int hierarchy_metadata_count
virtual bool IsChestRaft() const override
virtual double GetWidthImpl() const override
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
Definition Json.hpp:45