Skip to content

Commit

Permalink
Update Minecraft wiki link to new domain (#4944)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spongecade committed Oct 15, 2023
1 parent 12e5a7f commit 06160c6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -245,7 +245,7 @@ public void beastLore(LivingEntity target) {

if(jumpAttribute != null) {
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;
message = message.concat("\n" + LocaleLoader.getString("Combat.BeastLoreHorseSpeed", horseLikeCreature.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).getValue() * 43))
.concat("\n" + LocaleLoader.getString("Combat.BeastLoreHorseJumpStrength", jumpStrength));
Expand Down

0 comments on commit 06160c6

Please sign in to comment.