Botcraft 1.21.4
Loading...
Searching...
No Matches
SpellcasterIllagerEntity.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 IsSpellcasterIllager() 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 char GetDataSpellCastingId() const;
26
27 void SetDataSpellCastingId(const char data_spell_casting_id);
28
29 };
30}
virtual ProtocolCraft::Json::Value Serialize() const override
virtual void SetMetadataValue(const int index, const std::any &value) override
virtual bool IsSpellcasterIllager() const override
void SetDataSpellCastingId(const char data_spell_casting_id)
static const std::array< std::string, metadata_count > metadata_names
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
Definition Json.hpp:45