Minecraft Data Packs / Game Mechanic

Speed on Paths, Now including horses!

  • check_circle Functions
  • 3,607 views, 1 today
  • 629 downloads, 0 today
  • 29
  • 29
  • 6
Aceplante's Avatar Aceplante
Level 66 : High Grandmaster Spelunker
139
Original: Speed on paths! (actually balanced) Minecraft Data Pack (planetminecraft.com)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

NOW WORKS WITH HORSES!

Gain a slight speed boost on path blocks!
Note: just enough to be beneficial, not enough to be OP.

This works by modifying the player's speed attribute. It does NOT apply an entire level of the speed potion effect meaning it can stack with effects!

All of the other ones ive seen use the potion effect which is wayyy too unbalanced.


Note: this works by manually setting the speed attribute based on whether an entity is either on a path block or not. This is an issue when it comes to horses specifically since they are supposed to have random speeds, and there is no way to add/subtract, only set. So this results in all horses having the same attribute of speed. But I suppose for racing, this is perfect.
CompatibilityMinecraft 1.16
toMinecraft 1.19
Tags

1 Update Logs

Horse Update : by Aceplante 03/05/2022 3:31:16 pmMar 5th, 2022

Horses are now affected too!

Create an account or sign in to comment.

Hashs
03/30/2022 11:08 pm
Level 67 : High Grandmaster Botanist
Hashs's Avatar
Just so you know, it is actually possible and very easy to do this without making all horses have the same speed attribute. Look into attribute modifiers.
1
Aceplante
03/31/2022 12:17 am
Level 66 : High Grandmaster Spelunker
Aceplante's Avatar
There is no add_speed attribute, only set_speed. But if its so easy then please enlighten me
2
Hashs
03/31/2022 8:36 am
Level 67 : High Grandmaster Botanist
Hashs's Avatar
You can do more than just set attributes with /attribute. You can apply attribute modifiers, which allow you to add to an attribute or multiply it.
1
Aceplante
03/31/2022 9:20 am
Level 66 : High Grandmaster Spelunker
Aceplante's Avatar
I went back to check and for some reason trying to modify horse's speed only allows you to set or get, not add.
1
AngelFoxRO
03/12/2022 10:28 am
Level 2 : Apprentice Explorer
AngelFoxRO's Avatar
yea, this is usefull!
2
Giintaras
03/08/2022 7:15 pm
Level 1 : New Miner
Giintaras's Avatar
Oh my!! Thank you thank you! I love this so much, finally a reason to build a stable and tame a lovely horse!



Cheers!!
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome