Botcraft 1.21.4
Loading...
Searching...
No Matches
DrownedEntity.cpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 340 /* > 1.12.2 */
3
4namespace Botcraft
5{
7 {
8 // Initialize all attributes with default values
9#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
11#endif
12 }
13
18
19
20 std::string DrownedEntity::GetName() const
21 {
22 return "drowned";
23 }
24
29
30
32 {
33 return "drowned";
34 }
35
40
41
43 {
44 return 0.6;
45 }
46
48 {
49 return 1.95;
50 }
51
52}
53#endif
virtual std::string GetName() const override
virtual double GetWidthImpl() const override
static std::string GetClassName()
virtual double GetHeightImpl() const override
static EntityType GetClassType()
virtual EntityType GetType() const override
std::map< EntityAttribute::Type, EntityAttribute > attributes