Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
Modifier and Type | Field | Description |
---|---|---|
static Registry<Villager.Type> |
Registry.VILLAGER_TYPE |
Villager type.
|
Modifier and Type | Method | Description |
---|---|---|
Villager.Type |
Villager.getVillagerType() |
Gets the current type of this villager.
|
static Villager.Type |
Villager.Type.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Villager.Type[] |
Villager.Type.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Villager.setVillagerType(Villager.Type type) |
Sets the new type of this villager.
|
Copyright © 2020. All rights reserved.