|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Villager.Profession | |
---|---|
org.bukkit.entity | Interfaces for non-voxel objects that can exist in a world , including all players, monsters, projectiles, etc. |
Uses of Villager.Profession in org.bukkit.entity |
---|
Methods in org.bukkit.entity that return Villager.Profession | |
---|---|
Villager.Profession |
Villager.getProfession()
Gets the current profession of this villager. |
static Villager.Profession |
Villager.Profession.getProfession(int id)
Gets a profession by its ID. |
static Villager.Profession |
Villager.Profession.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Villager.Profession[] |
Villager.Profession.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods in org.bukkit.entity with parameters of type Villager.Profession | |
---|---|
void |
Villager.setProfession(Villager.Profession profession)
Sets the new profession of this villager. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |