1#if PROTOCOL_VERSION > 340
4#if PROTOCOL_VERSION < 768
12#if PROTOCOL_VERSION < 768
13 class DolphinEntity :
public WaterAnimalEntity
19#if PROTOCOL_VERSION < 770
25#if PROTOCOL_VERSION < 768
36 virtual std::string
GetName()
const override;
47 virtual void SetMetadataValue(
const int index,
const std::any& value)
override;
49#if PROTOCOL_VERSION < 770
55#if PROTOCOL_VERSION < 770
56 void SetTreasurePos(
const Position& treasure_pos);
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
static const std::array< std::string, metadata_count > metadata_names
virtual EntityType GetType() const override
double GetAttributeAttackDamageValue() const
virtual std::string GetName() const override
static constexpr int metadata_count
int GetMoistnessLevel() const
virtual double GetWidthImpl() const override
static EntityType GetClassType()
virtual double GetHeightImpl() const override
virtual ProtocolCraft::Json::Value Serialize() const override
static constexpr int hierarchy_metadata_count
void SetMoistnessLevel(const int moistness_level)
void SetGotFish(const bool got_fish)
virtual void SetMetadataValue(const int index, const std::any &value) override
static std::string GetClassName()
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...