Commits

md_5 authored ce7b35948eb
Fix javadoc errors
No tags

src/main/java/org/bukkit/entity/Villager.java

Modified
36 36 /**
37 37 * Sets the new type of this villager.
38 38 *
39 39 * @param type New type.
40 40 */
41 41 public void setVillagerType(@NotNull Type type);
42 42
43 43 /**
44 44 * Gets the level of this villager.
45 45 *
46 - * A villager with a level <= 1 and no experience is liable to lose its
46 + * A villager with a level &lt;= 1 and no experience is liable to lose its
47 47 * profession.
48 48 *
49 49 * @return this villager's level
50 50 */
51 51 public int getVillagerLevel();
52 52
53 53 /**
54 54 * Sets the level of this villager.
55 55 *
56 - * A villager with a level <= 1 and no experience is liable to lose its
56 + * A villager with a level &lt;= 1 and no experience is liable to lose its
57 57 * profession.
58 58 *
59 59 * @param level the new level
60 60 * @throws IllegalArgumentException if level not between [0, 5]
61 61 */
62 62 public void setVillagerLevel(int level);
63 63
64 64 /**
65 65 * Gets the trading experience of this villager.
66 66 *
67 67 * @return trading experience
68 68 */
69 69 public int getVillagerExperience();
70 70
71 71 /**
72 72 * Sets the trading experience of this villager.
73 73 *
74 74 * @param experience new experience
75 - * @throws IllegalArgumentException if experience < 0
75 + * @throws IllegalArgumentException if experience &lt; 0
76 76 */
77 77 public void setVillagerExperience(int experience);
78 78
79 79 /**
80 80 * Represents Villager type, usually corresponding to what biome they spawn
81 81 * in.
82 82 */
83 83 public enum Type implements Keyed {
84 84
85 85 DESERT,

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut