how to summon entity with tag in minecraft code example Example: how to summon an entity with a tag /summon pig ~ ~ ~ {Tags:[”tag1”,”tag2”]}