public Profession getProfession() { return Profession.getProfession(getHandle().getProfession()); }
public GlowVillager(Location location) { super(location, EntityType.VILLAGER, 20); Random r = new Random(); setProfession(Profession.getProfession(r.nextInt(Profession.values().length))); }