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