11#if PROTOCOL_VERSION < 405
12 SetDataAreHandsUp(
false);
14#if PROTOCOL_VERSION > 340
60#if PROTOCOL_VERSION < 405
61 output[
"metadata"][
"data_are_hands_up"] = GetDataAreHandsUp();
63#if PROTOCOL_VERSION > 340
83#if PROTOCOL_VERSION < 405
84 bool ZombieEntity::GetDataAreHandsUp()
const
90#if PROTOCOL_VERSION > 340
108#if PROTOCOL_VERSION < 405
109 void ZombieEntity::SetDataAreHandsUp(
const bool data_are_hands_up)
115#if PROTOCOL_VERSION > 340
@ ZombieSpawnReinforcementsChance
void SetMetadata(const int index, const std::any &value)
std::shared_mutex entity_mutex
std::vector< std::any > metadata
std::map< EntityAttribute::Type, EntityAttribute > attributes
virtual ProtocolCraft::Json::Value Serialize() const override
static constexpr int hierarchy_metadata_count
bool GetDataDrownedConversionId() const
static EntityType GetClassType()
bool GetDataBabyId() const
static std::string GetClassName()
virtual ProtocolCraft::Json::Value Serialize() const override
virtual double GetWidthImpl() const override
int GetDataSpecialTypeId() const
virtual EntityType GetType() const override
virtual std::string GetName() const override
virtual double GetHeightImpl() const override
void SetDataDrownedConversionId(const bool data_drowned_conversion_id)
double GetAttributeSpawnReinforcementsChanceValue() const
static constexpr int metadata_count
void SetDataSpecialTypeId(const int data_special_type_id)
void SetDataBabyId(const bool data_baby_id)
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
#define BOTCRAFT_ENTITY_METADATA_INDEX(name)