1#if PROTOCOL_VERSION > 340
12#if PROTOCOL_VERSION < 770
13 std::string_view(
"home_pos"),
15 std::string_view(
"has_egg"),
16 std::string_view(
"laying_egg"),
17#if PROTOCOL_VERSION < 770
18 std::string_view(
"travel_pos"),
19 std::string_view(
"going_home"),
20 std::string_view(
"travelling"),
32 virtual std::string
GetName()
const override;
43#if PROTOCOL_VERSION < 770
48#if PROTOCOL_VERSION < 770
50 bool GetGoingHome()
const;
51 bool GetTravelling()
const;
54#if PROTOCOL_VERSION < 770
55 void SetHomePos(
const Position& home_pos);
59#if PROTOCOL_VERSION < 770
60 void SetTravelPos(
const Position& travel_pos);
61 void SetGoingHome(
const bool going_home);
62 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
static constexpr std::array metadata_names
bool GetLayingEgg() const
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
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...