3#if PROTOCOL_VERSION < 770
11#if PROTOCOL_VERSION < 770
12 class CowEntity :
public AnimalEntity
17#if PROTOCOL_VERSION > 769
20 std::string_view(
"data_variant_id"),
21#if PROTOCOL_VERSION > 774
22 std::string_view(
"data_sound_variant_id"),
27#if PROTOCOL_VERSION < 770
40 virtual std::string
GetName()
const override;
47#if PROTOCOL_VERSION > 769
52#if PROTOCOL_VERSION > 774
57#if PROTOCOL_VERSION > 774
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
static std::string GetClassName()
virtual EntityType GetType() const override
virtual ProtocolCraft::Json::Value Serialize() const override
int GetDataVariantId() const
virtual double GetHeightImpl() const override
virtual std::string GetName() const override
static EntityType GetClassType()
virtual double GetWidthImpl() const override
void SetDataSoundVariantId(const int data_sound_variant_id)
static constexpr int hierarchy_metadata_count
int GetDataSoundVariantId() const
static constexpr std::array metadata_names
void SetDataVariantId(const int data_variant_id)
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...