Commits
Nothixal authored and md_5 committed 28e3702f8a5
180 180 | |
181 181 | /** |
182 182 | * Removes the specified enchantment from this item meta. |
183 183 | * |
184 184 | * @param ench Enchantment to remove |
185 185 | * @return true if the item meta changed as a result of this call, false |
186 186 | * otherwise |
187 187 | */ |
188 188 | boolean removeEnchant( Enchantment ench); |
189 189 | |
190 + | /** |
191 + | * Removes all enchantments from this item meta. |
192 + | */ |
193 + | void removeEnchantments(); |
194 + | |
190 195 | /** |
191 196 | * Checks if the specified enchantment conflicts with any enchantments in |
192 197 | * this ItemMeta. |
193 198 | * |
194 199 | * @param ench enchantment to test |
195 200 | * @return true if the enchantment conflicts, false otherwise |
196 201 | */ |
197 202 | boolean hasConflictingEnchant( Enchantment ench); |
198 203 | |
199 204 | /** |