/replaceitem entity armor.head would work on mobs like the pig.
A long time ago I was trying to make a car in minecraft. The original idea was I would get a donkey and put a block on it's head and make a custom block model for the block to turn it into a car. I ended up having to take an armor stand put the block on it's head and then constantly tp it to the donkey. This caused a tiny bit of unnecesary lag and it could've been a lot more simple if I could have just put the block on the donkey's head.
Please sign in to leave a comment.