unknown slot slot.hotbar.8 code example
Example: replaceitem villager command minecraft 1.15
/replaceitem entity @e[type=Villager] slot.armor.head minecraft:stone
/replaceitem entity @e[type=Villager] slot.armor.head minecraft:stone