6#if PROTOCOL_VERSION > 766
15#if PROTOCOL_VERSION < 767
27#if PROTOCOL_VERSION > 404
31#if PROTOCOL_VERSION > 765
34#if PROTOCOL_VERSION > 766
36#if PROTOCOL_VERSION > 770
46#if PROTOCOL_VERSION > 765
54#if PROTOCOL_VERSION > 763
58#if PROTOCOL_VERSION > 766
63#if PROTOCOL_VERSION > 766
66#if PROTOCOL_VERSION > 765
70#if PROTOCOL_VERSION > 766
74#if PROTOCOL_VERSION > 765
77#if PROTOCOL_VERSION > 766
81#if PROTOCOL_VERSION > 767
84#if PROTOCOL_VERSION > 766
87#if PROTOCOL_VERSION > 770
117 const std::map<ModifierKey, Modifier>&
GetModifiers()
const;
121#if PROTOCOL_VERSION < 766
122 static std::string TypeToString(
const Type type);
123 static Type StringToType(
const std::string& s);
void RemoveModifier(const ModifierKey &key)
const std::map< ModifierKey, Modifier > & GetModifiers() const
std::optional< Modifier > GetModifier(const ModifierKey &key)
void SetBaseValue(const double new_value)
void SetModifier(const ModifierKey &key, const Modifier &modifier)
@ PlayerSubmergedMiningSpeed
@ ZombieSpawnReinforcementsChance
@ ExplosionKnockbackResistance
@ PlayerEntityInteractionRange
@ PlayerBlockInteractionRange
@ WaterMovementEfficiency
@ PlayerSweepingDamageRatio
double GetBaseValue() const
std::map< ModifierKey, Modifier > modifiers
std::ostream & operator<<(std::ostream &os, const EntityAttribute::Type v)