Create a custom entity — name, health, equipment, effects, behaviour, mount — and export it to /summon, spawn egg, or spawner.