Botcraft 1.21.11
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 protected:
11 static constexpr int metadata_count = 1;
12 static const std::array<std::string, metadata_count> metadata_names;
14
15 public:
18
19 virtual bool IsAbstractNautilus() const override;
20
21 virtual ProtocolCraft::Json::Value Serialize() const override;
22
23 // Metadata stuff
24 virtual void SetMetadataValue(const int index, const std::any& value) override;
25
26 bool GetDataDash() const;
27
28 void SetDataDash(const bool data_dash);
29
30 // Attribute stuff
31 double GetAttributeAttackDamageValue() const;
32
33 };
34}
35#endif
virtual ProtocolCraft::Json::Value Serialize() const override
virtual bool IsAbstractNautilus() const override
static const std::array< std::string, metadata_count > metadata_names
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