Botcraft 1.21.4
Loading...
Searching...
No Matches
AnimalEntity.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 = 0;
12
13 public:
15 virtual ~AnimalEntity();
16
17 virtual bool IsAnimal() const override;
18
19
20#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
21 virtual ProtocolCraft::Json::Value Serialize() const override;
22#endif
23
24 // Attribute stuff
25#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
26 double GetAttributeTemptRangeValue() const;
27#endif
28 };
29}
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
double GetAttributeTemptRangeValue() const
virtual bool IsAnimal() const override
static constexpr int hierarchy_metadata_count
virtual ProtocolCraft::Json::Value Serialize() const override
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
Definition Json.hpp:45