Is it possible to level up a 1.15 villager using commands?
The correct syntax is:
/data modify entity @e[type=minecraft:villager,limit=1] VillagerData.level set value 4
The correct syntax is:
/data modify entity @e[type=minecraft:villager,limit=1] VillagerData.level set value 4