|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Villager
Represents a villager NPC
Nested Class Summary | |
---|---|
static class |
Villager.Profession
Represents the various different Villager professions there may be. |
Method Summary | |
---|---|
Villager.Profession |
getProfession()
Gets the current profession of this villager. |
void |
setProfession(Villager.Profession profession)
Sets the new profession of this villager. |
Methods inherited from interface org.bukkit.entity.Ageable |
---|
canBreed, getAge, getAgeLock, isAdult, setAdult, setAge, setAgeLock, setBaby, setBreed |
Methods inherited from interface org.bukkit.entity.Creature |
---|
getTarget, setTarget |
Methods inherited from interface org.bukkit.entity.Damageable |
---|
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth |
Methods inherited from interface org.bukkit.entity.Creature |
---|
getTarget, setTarget |
Methods inherited from interface org.bukkit.entity.Damageable |
---|
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth |
Method Detail |
---|
Villager.Profession getProfession()
void setProfession(Villager.Profession profession)
profession
- New profession.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |