Uses of Enum Class
org.bukkit.entity.Villager.Type
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of Villager.Type in org.bukkit
Modifier and TypeFieldDescriptionstatic Registry<Villager.Type>
Registry.VILLAGER_TYPE
Villager type. -
Uses of Villager.Type in org.bukkit.entity
Modifier and TypeMethodDescriptionVillager.getVillagerType()
Gets the current type of this villager.ZombieVillager.getVillagerType()
Gets the current type of this villager.static Villager.Type
Returns the enum constant of this class with the specified name.static Villager.Type[]
Villager.Type.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
Villager.setVillagerType(Villager.Type type)
Sets the new type of this villager.void
ZombieVillager.setVillagerType(Villager.Type type)
Sets the new type of this villager.