Botcraft 1.21.4
Loading...
Searching...
No Matches
CreakingTransientEntity.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */ && PROTOCOL_VERSION < 769 /* < 1.21.4 */
2#pragma once
3
5
6namespace Botcraft
7{
8 class CreakingTransientEntity : public CreakingEntity
9 {
10 protected:
11 static constexpr int metadata_count = 0;
12 static constexpr int hierarchy_metadata_count = CreakingEntity::metadata_count + CreakingEntity::hierarchy_metadata_count;
13
14 public:
15 CreakingTransientEntity();
16 virtual ~CreakingTransientEntity();
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 };
27}
28#endif