11#if PROTOCOL_VERSION < 770
12 std::string_view(
"data_saddle_id"),
14 std::string_view(
"data_boost_time"),
15#if PROTOCOL_VERSION > 769
16 std::string_view(
"data_variant_id"),
18#if PROTOCOL_VERSION > 774
19 std::string_view(
"data_sound_variant_id"),
31 virtual std::string
GetName()
const override;
42#if PROTOCOL_VERSION < 770
43 bool GetDataSaddleId()
const;
46#if PROTOCOL_VERSION > 769
49#if PROTOCOL_VERSION > 774
53#if PROTOCOL_VERSION < 770
54 void SetDataSaddleId(
const bool data_saddle_id);
57#if PROTOCOL_VERSION > 769
60#if PROTOCOL_VERSION > 774
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count
void SetDataVariantId(const int data_variant_id)
virtual double GetWidthImpl() const override
void SetDataBoostTime(const int data_boost_time)
static std::string GetClassName()
int GetDataVariantId() const
virtual double GetHeightImpl() const override
static constexpr int metadata_count
virtual EntityType GetType() const override
virtual ProtocolCraft::Json::Value Serialize() const override
virtual std::string GetName() const override
static constexpr int hierarchy_metadata_count
int GetDataSoundVariantId() const
static EntityType GetClassType()
static constexpr std::array metadata_names
void SetDataSoundVariantId(const int data_sound_variant_id)
int GetDataBoostTime() const
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...