-
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EnchantmentType - prepare for MC 1.21 custom enchantments (#6687)
* EnchantmentType - prepare for MC 1.21 custom enchantments * EnchantmentType - change wording, key to namespace * EnchantmentType - clean up repetitive code * EnchantmentType - to lower case * default.lang - add this back and deal with it later * Aliases/default.lang - change "of" location in lang file * EnchantmentUtils - more changes * EnchantmentUtils - fix stream issue on older java versions * EnchantmentUtils - small cleanup * Update src/main/java/ch/njol/skript/bukkitutil/EnchantmentUtils.java Co-authored-by: Patrick Miller <apickledwalrus@gmail.com> * Update src/main/java/ch/njol/skript/bukkitutil/EnchantmentUtils.java Co-authored-by: Patrick Miller <apickledwalrus@gmail.com> * EnchantmentUtils - small changes as suggested - skip adding names if not in lang file - toString should return full namespaced key if no name found * EnchantmentUtils - more changes * EnchantmentUtils - update serialization * EnchantmentUtils - change up how classinfo is done * BukkitClasses - move usage to EnchantmentUtils * pull-6687-enchantment-update.sk - add test * BukkitClasses - add note regarding namespaces and custom enchants * EnchantmentUtils - only register listener if Registry is not found * Update src/main/java/ch/njol/skript/bukkitutil/EnchantmentUtils.java Co-authored-by: Patrick Miller <apickledwalrus@gmail.com> --------- Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com> Co-authored-by: Patrick Miller <apickledwalrus@gmail.com> Co-authored-by: Moderocky <admin@moderocky.com>
- Loading branch information
1 parent
f1e0dd6
commit 5c3074e
Showing
6 changed files
with
262 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.