Skip to content
Success

Changes

Summary

  1. 1.20+ potions support (#2692) (commit: 9adc643) (details)
Commit 9adc6430f4572dc0ceca80c89d6442681ab11f0f by noreply
1.20+ potions support (#2692)

* Split base potion data handling for cleaner flow

* Custom name, null base type, modern effect type

* Back-Support legacy tags/mechs

* Metaify all changes

* Fixup some version checks

* Minor `applyBasePotionData` cleanup & renames

* More backsupport for now-null base potion type

* Final fixups

* `effect` key only on 1.20+ to match input

* Oops whitespace
(commit: 9adc643)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/PropertyRegistry.java
The file was modifiedpaper/pom.xml
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/entity/EntityPotionEffectScriptEvent.java
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/PlayerBeaconEffectScriptEvent.java
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/utilities/PaperAPIToolsImpl.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotionEffects.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/PaperAPITools.java