Uses of Interface
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 io.papermc.paper.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Villager.Type> RegistryKey.VILLAGER_TYPE
Built-in registry for villager types. -
Uses of Villager.Type in io.papermc.paper.registry.keys
Modifier and TypeFieldDescriptionstatic final TypedKey
<Villager.Type> VillagerTypeKeys.DESERT
minecraft:desert
static final TypedKey
<Villager.Type> VillagerTypeKeys.JUNGLE
minecraft:jungle
static final TypedKey
<Villager.Type> VillagerTypeKeys.PLAINS
minecraft:plains
static final TypedKey
<Villager.Type> VillagerTypeKeys.SAVANNA
minecraft:savanna
static final TypedKey
<Villager.Type> VillagerTypeKeys.SNOW
minecraft:snow
static final TypedKey
<Villager.Type> VillagerTypeKeys.SWAMP
minecraft:swamp
static final TypedKey
<Villager.Type> VillagerTypeKeys.TAIGA
minecraft:taiga
-
Uses of Villager.Type in org.bukkit
Modifier and TypeFieldDescriptionstatic final Registry
<Villager.Type> Registry.VILLAGER_TYPE
Villager type. -
Uses of Villager.Type in org.bukkit.entity
Modifier and TypeFieldDescriptionstatic final Villager.Type
Villager.Type.DESERT
static final Villager.Type
Villager.Type.JUNGLE
static final Villager.Type
Villager.Type.PLAINS
static final Villager.Type
Villager.Type.SAVANNA
static final Villager.Type
Villager.Type.SNOW
static final Villager.Type
Villager.Type.SWAMP
static final Villager.Type
Villager.Type.TAIGA
Modifier and TypeMethodDescriptionVillager.getVillagerType()
Gets the current type of this villager.ZombieVillager.getVillagerType()
Gets the current type of this villager.static @NotNull Villager.Type
Deprecated, for removal: This API element is subject to removal in a future version.static @NotNull Villager.Type[]
Villager.Type.values()
Deprecated, for removal: This API element is subject to removal in a future version.useIterable.iterator()
.Modifier and TypeMethodDescriptionvoid
Villager.setVillagerType
(@NotNull Villager.Type type) Sets the new type of this villager.void
ZombieVillager.setVillagerType
(Villager.Type type) Sets the new type of this villager.
Registry.get(NamespacedKey)
instead.