mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Update Minecraft wiki link to new domain (#4944)
This commit is contained in:
parent
12e5a7f054
commit
06160c6d04
@ -245,7 +245,7 @@ public class TamingManager extends SkillManager {
|
|||||||
|
|
||||||
if(jumpAttribute != null) {
|
if(jumpAttribute != null) {
|
||||||
double jumpStrength = jumpAttribute.getValue();
|
double jumpStrength = jumpAttribute.getValue();
|
||||||
// Taken from https://minecraft.gamepedia.com/Horse#Jump_strength
|
// Taken from https://minecraft.wiki/w/Horse#Jump_strength
|
||||||
jumpStrength = -0.1817584952 * Math.pow(jumpStrength, 3) + 3.689713992 * Math.pow(jumpStrength, 2) + 2.128599134 * jumpStrength - 0.343930367;
|
jumpStrength = -0.1817584952 * Math.pow(jumpStrength, 3) + 3.689713992 * Math.pow(jumpStrength, 2) + 2.128599134 * jumpStrength - 0.343930367;
|
||||||
message = message.concat("\n" + LocaleLoader.getString("Combat.BeastLoreHorseSpeed", horseLikeCreature.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).getValue() * 43))
|
message = message.concat("\n" + LocaleLoader.getString("Combat.BeastLoreHorseSpeed", horseLikeCreature.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).getValue() * 43))
|
||||||
.concat("\n" + LocaleLoader.getString("Combat.BeastLoreHorseJumpStrength", jumpStrength));
|
.concat("\n" + LocaleLoader.getString("Combat.BeastLoreHorseJumpStrength", jumpStrength));
|
||||||
|
Loading…
Reference in New Issue
Block a user