-
Type: New Feature
-
Resolution: Fixed
-
Priority: Minor
-
None
-
Affects Version/s: None
-
This server is running CraftBukkit version git-Spigot-e4be9b0-5736cdc (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)
-
Yes
At the present time, there isn’t a way to get or set the level of a Villager.
- VillagerData: Information about the villager’s type, profession, and level.
level: The current xp level of this villager's profession. Influences the trading options generated by the villager. If it is greater than their profession's maximum level, no new offers are generated. Increments when the villager fills his trading xp bar. Also used for badge rendering.
Ideally, there should be getLevel() and setLevel() methods for Villagers.
Thanks!
- relates to
-
SPIGOT-4766 Setting Villager profession doesn't persist
- Resolved