Botcraft 1.21.4
Loading...
Searching...
No Matches
AbstractChestedHorseEntity.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace Botcraft
6{
8 {
9 protected:
10 static constexpr int metadata_count = 1;
11 static const std::array<std::string, metadata_count> metadata_names;
13
14 public:
17
18 virtual bool IsAbstractChestedHorse() const override;
19
20 virtual ProtocolCraft::Json::Value Serialize() const override;
21
22 // Metadata stuff
23 virtual void SetMetadataValue(const int index, const std::any& value) override;
24
25 bool GetDataIdChest() const;
26
27 void SetDataIdChest(const bool data_id_chest);
28
29 };
30}
static const std::array< std::string, metadata_count > metadata_names
virtual ProtocolCraft::Json::Value Serialize() const override
virtual bool IsAbstractChestedHorse() const override
virtual void SetMetadataValue(const int index, const std::any &value) override
static constexpr int hierarchy_metadata_count
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
Definition Json.hpp:45