Uses of Interface
org.bukkit.entity.Villager.Profession
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.Profession in io.papermc.paper.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Villager.Profession> RegistryKey.VILLAGER_PROFESSION
Built-in registry for villager professions. -
Uses of Villager.Profession in io.papermc.paper.registry.keys
Modifier and TypeFieldDescriptionstatic final TypedKey
<Villager.Profession> VillagerProfessionKeys.ARMORER
minecraft:armorer
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.BUTCHER
minecraft:butcher
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.CARTOGRAPHER
minecraft:cartographer
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.CLERIC
minecraft:cleric
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.FARMER
minecraft:farmer
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.FISHERMAN
minecraft:fisherman
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.FLETCHER
minecraft:fletcher
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.LEATHERWORKER
minecraft:leatherworker
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.LIBRARIAN
minecraft:librarian
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.MASON
minecraft:mason
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.NITWIT
minecraft:nitwit
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.NONE
minecraft:none
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.SHEPHERD
minecraft:shepherd
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.TOOLSMITH
minecraft:toolsmith
static final TypedKey
<Villager.Profession> VillagerProfessionKeys.WEAPONSMITH
minecraft:weaponsmith
-
Uses of Villager.Profession in org.bukkit
Modifier and TypeFieldDescriptionstatic final Registry
<Villager.Profession> Registry.VILLAGER_PROFESSION
Villager profession. -
Uses of Villager.Profession in org.bukkit.entity
Modifier and TypeFieldDescriptionstatic final Villager.Profession
Villager.Profession.ARMORER
Armorer profession.static final Villager.Profession
Villager.Profession.BUTCHER
Butcher profession.static final Villager.Profession
Villager.Profession.CARTOGRAPHER
Cartographer profession.static final Villager.Profession
Villager.Profession.CLERIC
Cleric profession.static final Villager.Profession
Villager.Profession.FARMER
Farmer profession.static final Villager.Profession
Villager.Profession.FISHERMAN
Fisherman profession.static final Villager.Profession
Villager.Profession.FLETCHER
Fletcher profession.static final Villager.Profession
Villager.Profession.LEATHERWORKER
Leatherworker profession.static final Villager.Profession
Villager.Profession.LIBRARIAN
Librarian profession.static final Villager.Profession
Villager.Profession.MASON
Mason profession.static final Villager.Profession
Villager.Profession.NITWIT
Nitwit profession.static final Villager.Profession
Villager.Profession.NONE
static final Villager.Profession
Villager.Profession.SHEPHERD
Shepherd profession.static final Villager.Profession
Villager.Profession.TOOLSMITH
Toolsmith profession.static final Villager.Profession
Villager.Profession.WEAPONSMITH
Weaponsmith profession.Modifier and TypeMethodDescriptionVillager.getProfession()
Gets the current profession of this villager.Zombie.getVillagerProfession()
Deprecated.ZombieVillager.getVillagerProfession()
Returns the villager profession of this zombie.static @NotNull Villager.Profession
Deprecated, for removal: This API element is subject to removal in a future version.static @NotNull Villager.Profession[]
Villager.Profession.values()
Deprecated, for removal: This API element is subject to removal in a future version.useIterable.iterator()
.Modifier and TypeMethodDescriptionvoid
Villager.setProfession
(@NotNull Villager.Profession profession) Sets the new profession of this villager.void
Zombie.setVillagerProfession
(Villager.Profession profession) Deprecated.void
ZombieVillager.setVillagerProfession
(Villager.Profession profession) Sets the villager profession of this zombie. -
Uses of Villager.Profession in org.bukkit.event.entity
Modifier and TypeMethodDescriptionVillagerCareerChangeEvent.getProfession()
Gets the future profession of the villager.Modifier and TypeMethodDescriptionvoid
VillagerCareerChangeEvent.setProfession
(@NotNull Villager.Profession profession) Sets the profession the villager will become from this event.ModifierConstructorDescriptionVillagerCareerChangeEvent
(@NotNull Villager what, @NotNull Villager.Profession profession, @NotNull VillagerCareerChangeEvent.ChangeReason reason)
Registry.get(NamespacedKey)
instead.