Hi, anyone know how to add a nbt to a entity??
Im trying this:
command /mount:
trigger:
spawn horse at player
set nbt of spawned horse to "{Variant:259, SaddleItem:{id:saddle, Count:1}, Age:0}"
make player ride spawned horse
set name of spawned horse to "%player%.montary Vaca Louca"
But...
[12:27:20 ERROR]: ':259, SaddleItem:{id:saddle, Count:1}, Age:0}"' is not a valid item data (mountary.sk, line 6: set nbt of spawned horse to "{Variant:259, SaddleItem:{id:saddle, Count:1}, Age:0}"')
Im trying this:
command /mount:
trigger:
spawn horse at player
set nbt of spawned horse to "{Variant:259, SaddleItem:{id:saddle, Count:1}, Age:0}"
make player ride spawned horse
set name of spawned horse to "%player%.montary Vaca Louca"
But...
[12:27:20 ERROR]: ':259, SaddleItem:{id:saddle, Count:1}, Age:0}"' is not a valid item data (mountary.sk, line 6: set nbt of spawned horse to "{Variant:259, SaddleItem:{id:saddle, Count:1}, Age:0}"')