3#if PROTOCOL_VERSION < 773
12#if PROTOCOL_VERSION < 773
13 class PlayerEntity :
public LivingEntity
19#if PROTOCOL_VERSION < 773
21 static const std::array<std::string, metadata_count>
metadata_names;
35 virtual std::string
GetName()
const override;
38#if PROTOCOL_VERSION > 404
56 virtual void SetMetadataValue(
const int index,
const std::any& value)
override;
61#if PROTOCOL_VERSION < 773
73#if PROTOCOL_VERSION < 773
89#if PROTOCOL_VERSION > 765
94#if PROTOCOL_VERSION > 766
100#if PROTOCOL_VERSION > 770
108#if PROTOCOL_VERSION > 404
112#if PROTOCOL_VERSION > 766
static constexpr int metadata_count
char GetDataPlayerModeCustomisation() const
static constexpr int hierarchy_metadata_count
void SetDataPlayerMainHand(const char data_player_main_hand)
void SetDataPlayerModeCustomisation(const char data_player_mode_customisation)
char GetDataPlayerMainHand() const
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
double GetAttributeAttackSpeedValue() const
int GetDataScoreId() const
void SetDataPlayerAbsorptionId(const float data_player_absorption_id)
virtual double GetWidthImpl() const override
double GetAttributePlayerSweepingDamageRatioValue() const
static constexpr int hierarchy_metadata_count
void SetDataShoulderParrotLeft(const std::optional< int > &data_shoulder_parrot_left)
virtual double GetHeightImpl() const override
float GetDataPlayerAbsorptionId() const
void SetDataShoulderParrotRight(const std::optional< int > &data_shoulder_parrot_right)
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
const std::optional< int > & GetDataShoulderParrotRight() 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()
const std::optional< int > & GetDataShoulderParrotLeft() 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
double GetAttributeWaypointReceiveRangeValue() const
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...