Uses of Class
org.bukkit.entity.Villager.Type
| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
-
Uses of Villager.Type in org.bukkit
Fields in org.bukkit with type parameters of type Villager.Type Modifier and Type Field Description static Registry<Villager.Type>Registry. VILLAGER_TYPEVillager type. -
Uses of Villager.Type in org.bukkit.entity
Methods in org.bukkit.entity that return Villager.Type Modifier and Type Method Description Villager.TypeVillager. getVillagerType()Gets the current type of this villager.Villager.TypeZombieVillager. getVillagerType()Gets the current type of this villager.static Villager.TypeVillager.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.Methods in org.bukkit.entity with parameters of type Villager.Type Modifier and Type Method Description voidVillager. setVillagerType(Villager.Type type)Sets the new type of this villager.voidZombieVillager. setVillagerType(Villager.Type type)Sets the new type of this villager.