1#if PROTOCOL_VERSION > 340
11#if PROTOCOL_VERSION < 770
24 virtual std::string
GetName()
const override;
35 virtual void SetMetadataValue(
const int index,
const std::any& value)
override;
37#if PROTOCOL_VERSION < 770
42#if PROTOCOL_VERSION < 770
44 bool GetGoingHome()
const;
45 bool GetTravelling()
const;
48#if PROTOCOL_VERSION < 770
49 void SetHomePos(
const Position& home_pos);
53#if PROTOCOL_VERSION < 770
54 void SetTravelPos(
const Position& travel_pos);
55 void SetGoingHome(
const bool going_home);
56 void SetTravelling(
const bool travelling);
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count
static EntityType GetClassType()
static constexpr int metadata_count
virtual double GetHeightImpl() const override
bool GetLayingEgg() const
virtual void SetMetadataValue(const int index, const std::any &value) override
static std::string GetClassName()
static constexpr int hierarchy_metadata_count
virtual ProtocolCraft::Json::Value Serialize() const override
void SetLayingEgg(const bool laying_egg)
virtual double GetWidthImpl() const override
virtual EntityType GetType() const override
static const std::array< std::string, metadata_count > metadata_names
void SetHasEgg(const bool has_egg)
virtual std::string GetName() const override
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...