Bukkit-API
1.7.9-R0.2
The inofficial Bukkit-API
|
Public Member Functions | |
int | getId () |
Static Public Member Functions | |
[static initializer] | |
static Profession | getProfession (int id) |
Public Attributes | |
FARMER =(0) | |
LIBRARIAN =(1) | |
PRIEST =(2) | |
BLACKSMITH =(3) | |
BUTCHER =(4) | |
Represents the various different Villager professions there may be.
Definition at line 26 of file Villager.java.
int org.bukkit.entity.Villager.Profession.getId | ( | ) |
Gets the ID of this profession.
Definition at line 53 of file Villager.java.
|
static |
Gets a profession by its ID.
id | ID of the profession to get. |
Definition at line 65 of file Villager.java.