Commits
Miles Holder authored and md_5 committed b3c2b83d43f
57 57 | |
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 + | forRemoval = true, since = "1.21") | (
68 70 | public boolean setWindowProperty( 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 | */ |