summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/ZombieVillager.java
blob: f6ab96c8c99efd49f9548d55ba655c4143980fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.bukkit.entity;

/**
 * Represents a {@link Zombie} which was once a {@link Villager}.
 */
public interface ZombieVillager extends Zombie {

    /**
     * Sets the villager profession of this zombie.
     */
    public void setVillagerProfession(Villager.Profession profession);

    /**
     * Returns the villager profession of this zombie.
     *
     * @return the profession or null
     */
    public Villager.Profession getVillagerProfession();
}