Botcraft 26.3
Loading...
Searching...
No Matches
AbstractNautilusEntity.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 773 /* > 1.21.10 */
2#pragma once
3
5
6namespace Botcraft
7{
9 {
10 private:
11 static constexpr std::array metadata_names{
12 std::string_view("data_dash"),
13 };
14 protected:
15 static constexpr int metadata_count = static_cast<int>(metadata_names.size());
17
18 public:
21
22 virtual bool IsAbstractNautilus() const override;
23
24 virtual ProtocolCraft::Json::Value Serialize() const override;
25
26 // Metadata stuff
27 bool GetDataDash() const;
28
29 void SetDataDash(const bool data_dash);
30
31 // Attribute stuff
32 double GetAttributeAttackDamageValue() const;
33
34 };
35}
36#endif
virtual ProtocolCraft::Json::Value Serialize() const override
virtual bool IsAbstractNautilus() const override
static constexpr std::array metadata_names
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