Add support for extended and/or upgraded potions in the item syntax.

This commit adds support for altering the data portion of a potion item by prefixing either `long_` or `strong_` to get extended duration or level II versions of the given potion, respectively.

Closes #520
This commit is contained in:
Andreas Troelsen
2019-07-24 20:15:13 +02:00
parent dd31a11b60
commit 054220a32e
2 changed files with 18 additions and 11 deletions
+1
View File
@@ -11,6 +11,7 @@ These changes will (most likely) be included in the next version.
## [Unreleased]
- Extended and upgraded potions are now supported in the item syntax by prepending `long_` or `strong_` to the data portion of a potion item (e.g. `potion:strong_instant_heal:1` will yield a Potion of Healing II). Check the wiki for details.
- Tridents and crossbows are now considered weapons with regards to the `unbreakable-weapons` flag. All class items that have durability now have their unbreakable flag set to true unless the `unbreakable-weapons` and/or `unbreakable-armor` flags are set to `false`.
- Leaderboards now work again on servers running Minecraft 1.14+.
- Class chests (non-linked) now work again on servers running Minecraft 1.14+.