Botcraft 1.21.5
Loading...
Searching...
No Matches
ZombifiedPiglinEntity.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
2#pragma once
3
5
6namespace Botcraft
7{
9 {
10 protected:
11 static constexpr int metadata_count = 0;
13
14 public:
16 virtual ~ZombifiedPiglinEntity();
17
18 // Object related stuff
19 virtual std::string GetName() const override;
20 virtual EntityType GetType() const override;
21
22 // Static stuff, for easier comparison
23 static std::string GetClassName();
24 static EntityType GetClassType();
25
26 // Attribute stuff
27#if PROTOCOL_VERSION < 767 /* < 1.21 */
28 // 49455a49-7ec5-45ba-b886-3b90b23a1718
29 static constexpr std::array<unsigned char, 16> speed_modifier_attacking_key= { 0x49, 0x45, 0x5A, 0x49, 0x7E, 0xC5, 0x45, 0xBA, 0xB8, 0x86, 0x3B, 0x90, 0xB2, 0x3A, 0x17, 0x18 };
30#else
31 inline static const std::string speed_modifier_attacking_key = "minecraft:attacking";
32#endif
33
34
35 protected:
36 virtual double GetWidthImpl() const override;
37 virtual double GetHeightImpl() const override;
38
39 };
40}
41#endif
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
virtual double GetHeightImpl() const override
virtual double GetWidthImpl() const override
virtual std::string GetName() const override
virtual EntityType GetType() const override
static const std::string speed_modifier_attacking_key