setProfession

public abstract void setProfession(Villager.Profession profession)

Sets the new profession of this villager.

Parameters

profession

New profession.