Botcraft 1.21.4
Loading...
Searching...
No Matches
SquidEntity.hpp
Go to the documentation of this file.
1#pragma once
2
3#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
5#else
7#endif
8
9namespace Botcraft
10{
11#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
12 class SquidEntity : public WaterAnimalEntity
13#else
15#endif
16 {
17 protected:
18 static constexpr int metadata_count = 0;
19#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
21#else
23#endif
24
25 public:
27 virtual ~SquidEntity();
28
29 // Object related stuff
30 virtual std::string GetName() const override;
31 virtual EntityType GetType() const override;
32
33 // Static stuff, for easier comparison
34 static std::string GetClassName();
35 static EntityType GetClassType();
36
37 protected:
38 virtual double GetWidthImpl() const override;
39 virtual double GetHeightImpl() const override;
40
41 };
42}
static constexpr int metadata_count
static std::string GetClassName()
static constexpr int hierarchy_metadata_count
virtual double GetHeightImpl() const override
virtual EntityType GetType() const override
static EntityType GetClassType()
virtual std::string GetName() const override
virtual double GetWidthImpl() const override
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count