6#if PROTOCOL_VERSION > 766
15#if PROTOCOL_VERSION < 767
24#if PROTOCOL_VERSION > 775
30#if PROTOCOL_VERSION > 404
34#if PROTOCOL_VERSION > 775
37#if PROTOCOL_VERSION > 765
40#if PROTOCOL_VERSION > 775
43#if PROTOCOL_VERSION > 766
45#if PROTOCOL_VERSION > 770
55#if PROTOCOL_VERSION > 775
58#if PROTOCOL_VERSION > 765
66#if PROTOCOL_VERSION > 763
70#if PROTOCOL_VERSION > 766
75#if PROTOCOL_VERSION > 775
78#if PROTOCOL_VERSION > 766
81#if PROTOCOL_VERSION > 765
85#if PROTOCOL_VERSION > 766
89#if PROTOCOL_VERSION > 765
92#if PROTOCOL_VERSION > 766
96#if PROTOCOL_VERSION > 767
99#if PROTOCOL_VERSION > 766
102#if PROTOCOL_VERSION > 770
132 const std::map<ModifierKey, Modifier>&
GetModifiers()
const;
136#if PROTOCOL_VERSION < 766
137 static std::string TypeToString(
const Type type);
138 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
@ PlayerBlockInteractionRange
@ WaterMovementEfficiency
@ PlayerSweepingDamageRatio
double GetBaseValue() const
std::map< ModifierKey, Modifier > modifiers
std::ostream & operator<<(std::ostream &os, const EntityAttribute::Type v)