Package | Description |
---|---|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
Modifier and Type | Method | Description |
---|---|---|
Villager.Career |
Villager.getCareer() |
Get the current
Villager.Career for this Villager. |
static Villager.Career |
Villager.Career.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Villager.Career[] |
Villager.Career.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static java.util.List<Villager.Career> |
Villager.Career.getCareers(Villager.Profession profession) |
Get an immutable list of
Villager.Career s that can be used with a
given Villager.Profession |
java.util.List<Villager.Career> |
Villager.Profession.getCareers() |
Get an immutable list of
Villager.Career belonging to this Profession. |
Modifier and Type | Method | Description |
---|---|---|
void |
Villager.setCareer(Villager.Career career) |
Set the new
Villager.Career for this Villager. |
void |
Villager.setCareer(Villager.Career career,
boolean resetTrades) |
Set the new
Villager.Career for this Villager. |
Copyright © 2018. All rights reserved.