minecraft change the item in ebd ship reit 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