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
43#if PROTOCOL_VERSION > 765
51#if PROTOCOL_VERSION > 763
55#if PROTOCOL_VERSION > 766
60#if PROTOCOL_VERSION > 766
63#if PROTOCOL_VERSION > 765
67#if PROTOCOL_VERSION > 766
71#if PROTOCOL_VERSION > 765
74#if PROTOCOL_VERSION > 766
78#if PROTOCOL_VERSION > 767
81#if PROTOCOL_VERSION > 766
110 const std::map<ModifierKey, Modifier>&
GetModifiers()
const;
114#if PROTOCOL_VERSION < 766
115 static std::string TypeToString(
const Type type);
116 static Type StringToType(
const std::string& s);
void RemoveModifier(const ModifierKey &key)
const std::map< ModifierKey, Modifier > & GetModifiers() const
@ PlayerSubmergedMiningSpeed
@ ZombieSpawnReinforcementsChance
@ ExplosionKnockbackResistance
@ PlayerEntityInteractionRange
@ PlayerBlockInteractionRange
@ WaterMovementEfficiency
@ PlayerSweepingDamageRatio
std::optional< Modifier > GetModifier(const ModifierKey &key)
void SetBaseValue(const double new_value)
void SetModifier(const ModifierKey &key, const Modifier &modifier)
double GetBaseValue() const
std::map< ModifierKey, Modifier > modifiers
std::ostream & operator<<(std::ostream &os, const EntityAttribute::Type v)