diff options
author | Spongecade <spongecade.129@gmail.com> | 2023-09-27 20:07:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 20:07:42 +0200 |
commit | ebeb164d2be6754908a9c562850e585f18f70b88 (patch) | |
tree | f0396dc592063fab48a622049ac43e35a8bc9f66 /src/Entities/Player.h | |
parent | Only enable werror for debug (#5501) (diff) | |
download | cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.gz cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.bz2 cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.lz cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.xz cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.tar.zst cuberite-ebeb164d2be6754908a9c562850e585f18f70b88.zip |
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r-- | src/Entities/Player.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 87b3accda..cee8a1a9c 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -123,12 +123,12 @@ public: float GetXpPercentage(void) const; /** Calculates the amount of XP needed for a given level - Ref: https://minecraft.gamepedia.com/XP + Ref: https://minecraft.wiki/w/XP */ static int XpForLevel(int a_Level); /** Inverse of XpForLevel - Ref: https://minecraft.gamepedia.com/XP + Ref: https://minecraft.wiki/w/XP values are as per this with pre-calculations */ static int CalcLevelFromXp(int a_CurrentXp); @@ -580,13 +580,13 @@ public: /** Returns the progress mined per tick for the block a_Block as a fraction (1 would be completely mined) Depends on hardness values so check those are correct. - Source: https://minecraft.gamepedia.com/Breaking#Calculation */ + Source: https://minecraft.wiki/w/Breaking#Calculation */ float GetMiningProgressPerTick(BLOCKTYPE a_Block); /** Given tool, enchantments, status effects, and world position returns whether a_Block would be instantly mined. Depends on hardness values so check those are correct. - Source: https://minecraft.gamepedia.com/Breaking#Instant_breaking */ + Source: https://minecraft.wiki/w/Breaking#Instant_breaking */ bool CanInstantlyMine(BLOCKTYPE a_Block); /** Adds an Item to the list of known items. @@ -779,7 +779,7 @@ private: If he has an enchanted tool with efficiency or he has a haste or mining fatique effect it gets multiplied by a specific factor depending on the strength of the effect or enchantment. In he is in water it gets divided by 5 except if his tool is enchanted with aqua affinity. If he is not on ground it also gets divided by 5. - Source: https://minecraft.gamepedia.com/Breaking#Calculation */ + Source: https://minecraft.wiki/w/Breaking#Calculation */ float GetDigSpeed(BLOCKTYPE a_Block); /** Add the recipe Id to the known recipes. |