
# -> Get temper
execute store result score #or.global OverlyRealistic.General.ArbitraryData run \
    data get entity @s Temper

# -> If temper >= 100 then return and set as rideable
execute if score #or.global OverlyRealistic.General.ArbitraryData matches 100.. run \
    return run \
        function overly_realistic:players/misc/animals/horse_become_rideable

# -> Dismount player
execute on passengers run \
    tp @s ~ ~1 ~

# -> Sound
playsound entity.horse.angry neutral @a ~ ~ ~ 0.2 1
