• 0

    posted a message on Adding a value to horse's jump height attribute

    I was looking for a way to add a value to the horse's jump height which is already set to 0.7. As in, "execute at @e[type=minecraft:horse,sort=nearest,limit=1,tag=!set] run data modify entity @e[sort=nearest,limit=1] Attributes[7].Base set value 0.7d" to set it, and then I would like to add 0.1d to that value, regardless of the current jump height value. Is this possible in vanilla with command blocks, or if not so, is it possible with datapacks?

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Adding a value to horse's jump height attribute

    I'm trying to add a value (0.1) to a horse's jump height, which I've already set to 0.7. I can't figure out how to add a value to jump height versus setting it. Does anyone know how to accomplish this? This is all I have right now.


    execute at @e[type=minecraft:horse,sort=nearest,limit=1,tag=!set] run data modify entity @e[sort=nearest,limit=1] Attributes[7].Base

    Posted in: Commands, Command Blocks and Functions
  • To post a comment, please .