Botcraft 1.21.4
Loading...
Searching...
No Matches
LlamaSpitEntity.hpp
Go to the documentation of this file.
1#pragma once
2
3#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
5#else
7#endif
8
9namespace Botcraft
10{
11#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
13#else
14 class LlamaSpitEntity : public Entity
15#endif
16 {
17 protected:
18 static constexpr int metadata_count = 0;
19#if PROTOCOL_VERSION > 578 /* > 1.15.2 */
21#else
23#endif
24
25 public:
27 virtual ~LlamaSpitEntity();
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 hierarchy_metadata_count
Definition Entity.hpp:62
static constexpr int metadata_count
Definition Entity.hpp:55
static std::string GetClassName()
virtual double GetHeightImpl() const override
static EntityType GetClassType()
virtual std::string GetName() const override
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
virtual double GetWidthImpl() const override
virtual EntityType GetType() const override
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count