21 virtual std::string
GetName()
const override;
24#if PROTOCOL_VERSION > 404
42 virtual void SetMetadataValue(
const int index,
const std::any& value)
override;
64#if PROTOCOL_VERSION > 765
69#if PROTOCOL_VERSION > 766
80#if PROTOCOL_VERSION > 404
84#if PROTOCOL_VERSION > 766
AABB GetColliderImpl() const
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
double GetAttributePlayerBlockBreakSpeedValue() const
virtual void SetMetadataValue(const int index, const std::any &value) override
void SetDataPlayerModeCustomisation(const char data_player_mode_customisation)
double GetAttributeAttackSpeedValue() const
int GetDataScoreId() const
void SetDataPlayerAbsorptionId(const float data_player_absorption_id)
void SetDataShoulderRight(const ProtocolCraft::NBT::Value &data_shoulder_right)
virtual double GetWidthImpl() const override
void SetDataShoulderLeft(const ProtocolCraft::NBT::Value &data_shoulder_left)
double GetAttributePlayerSweepingDamageRatioValue() const
static constexpr int hierarchy_metadata_count
virtual double GetHeightImpl() const override
float GetDataPlayerAbsorptionId() const
virtual std::string GetName() const override
Get the name of this entity TYPE as a string. For player name see NetworkManager::GetMyName()
virtual EntityType GetType() const override
double GetAttributeLuckValue() const
double GetAttributePlayerSneakingSpeedValueImpl() const
void SetDataPlayerMainHand(const char data_player_main_hand)
char GetDataPlayerModeCustomisation() const
double GetAttributePlayerBlockInteractionRangeValue() const
virtual ProtocolCraft::Json::Value Serialize() const override
virtual bool IsRemotePlayer() const override
double GetAttributePlayerEntityInteractionRangeValue() const
static constexpr int metadata_count
AABB GetColliderImpl() const
static EntityType GetClassType()
void SetDataScoreId(const int data_score_id)
double GetAttributePlayerSubmergedMiningSpeedValue() const
static std::string GetClassName()
char GetDataPlayerMainHand() const
ProtocolCraft::NBT::Value GetDataShoulderLeft() const
ProtocolCraft::NBT::Value GetDataShoulderRight() const
double GetEyeHeight() const
virtual double GetEyeHeightImpl() const
double GetAttributePlayerMiningEfficiencyValue() const
static const std::array< std::string, metadata_count > metadata_names
double GetAttributePlayerSneakingSpeedValue() const
double GetAttributeAttackDamageValue() const
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...