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