Commits

Miles Holder authored and md_5 committed b3c2b83d43f
#1036: Add API for InventoryView derivatives
No tags

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

Modified
57 57 @NotNull
58 58 public MainHand getMainHand();
59 59
60 60 /**
61 61 * If the player currently has an inventory window open, this method will
62 62 * set a property of that window, such as the state of a progress bar.
63 63 *
64 64 * @param prop The property.
65 65 * @param value The value to set the property to.
66 66 * @return True if the property was successfully set.
67 + * @deprecated use {@link InventoryView} and its children.
67 68 */
69 + @Deprecated(forRemoval = true, since = "1.21")
68 70 public boolean setWindowProperty(@NotNull InventoryView.Property prop, int value);
69 71
70 72 /**
71 73 * Gets the player's current enchantment seed.
72 74 *
73 75 * The Seed is used to generate enchantment options in the enchanting table
74 76 * for the player.
75 77 *
76 78 * @return the player's enchantment seed
77 79 */

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

Add shortcut