How to use the title command JSON in 1.13
Solution 1:
Many selector arguments have changed in 1.13. In this case, r
is now a range called distance
, so your selector should be: @a[distance=..1]
Dinnerbone has a post detailing most of the command-breaking changes in 1.13, which you may want to look through (a lot has changed, it is unlikely that a 1.12 command will work without any changes)
Your JSON has two stray }
's at the end making it invalid. The command should work after removing those:
/title @a[distance=..1] actionbar [{"text":"Wood: "},{"score":{"name":"@p","objective":"Wood"},"bold":true}]