Skip to content
Success

Changes

Summary

  1. Use new `sendEquipmentChange` for `resetEquipment` (commit: 32cb5aa) (details)
  2. Add `Utilities#namespacedKeyToString` (commit: 0798d45) (details)
  3. Add `entity teleported by portal` Paper-only event (#2441) (commit: 2441110) (details)
  4. Cleanup custom brewing recipe handling (#2440) (commit: 1ca616e) (details)
  5. remove legacy WorldTag method (commit: e8c74a4) (details)
  6. Update and cleanup `server` tag base (#2439) (commit: 2f5aaa7) (details)
  7. server tag/mechanism base: register deprecated util-moved options properly (commit: 9190d9c) (details)
  8. Add entity has_friction property (#2438) (commit: 3117185) (details)
  9. paper only event `player granted advancement criterion`  (#2436) (commit: 78f6ad2) (details)
  10. readme fixes (commit: 23009f6) (details)
  11. paper repo link update (commit: 4208406) (details)
  12. npc damage trigger: exclude cancelled events (commit: 0a7e63c) (details)
  13. Temporary holograms in `NPCTag.hologram_lines` (#2442) (commit: 9ca2084) (details)
  14. impl a few more truthies (commit: ffe6a50) (details)
  15. remove legacy valueOf methods (commit: 7c84858) (details)
Commit 32cb5aab5e38b71f03c2b9591da3b887fd4fdd49 by 31237389+tal5
Use new `sendEquipmentChange` for `resetEquipment`

`resetEquipment` was previsouly using NMS because you'd have to send every change individually if you used the API, but now that Spigot added a new `Player#sendEquipmentChange` that takes a map, it can be sent all at once using API.

Also removed the `default -> UnsupportedOperationException` from methods that were implemented on all supported versions.
(commit: 32cb5aa)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/interfaces/PacketHelper.java (diff)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/PacketHelperImpl.java (diff)
Commit 0798d457ec023a0ccfff47e04cdd23c80d43300d by 31237389+tal5
Add `Utilities#namespacedKeyToString`
(commit: 0798d45)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/Utilities.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/VanillaTagHelper.java (diff)
Commit 2441110d40c08c7f06111a0aa9133421f0e8a3cc by noreply
Add `entity teleported by portal` Paper-only event (#2441)

* Add `entity teleported by portal` event

* Properly handle null target world in switch
(commit: 2441110)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java (diff)
The file was addedpaper/src/main/java/com/denizenscript/denizen/paper/events/EntityTeleportedByPortalScriptEvent.java
Commit 1ca616ecb005a79067f758450ccaf9ec386f0eef by noreply
Cleanup custom brewing recipe handling (#2440)

* Cleanup custom brewing recipe handling

* Cache the map and fix it using the wrong overload
(commit: 1ca616e)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/interfaces/ItemHelper.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java (diff)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/helpers/ItemHelperImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java (diff)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/ItemHelperImpl.java (diff)
The file was removedplugin/src/main/java/com/denizenscript/denizen/utilities/inventory/BrewingRecipe.java
Commit e8c74a4d4a2269f3359ebef995db437f8df4f1fc by git_commits
remove legacy WorldTag method
(commit: e8c74a4)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/EntityTeleportedByPortalScriptEvent.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java (diff)
Commit 2f5aaa7b915562509b605db7aa81c83fafbadb85 by noreply
Update and cleanup `server` tag base (#2439)

* Initial update + cleanup

* Update `listDeprecateWarn`

* Warning for `list_*` tags, cleanup, use enum util

* Move some mechs and file delete setting to core

* Use `registerEnumListTag` for more tags

* Correct deprecation warnings on a few tags

* Separate Citizens features for organization

* Fix `server.scoreboard.objective`

* Remove spaces

* Improve variable names

* Move `traits` into `registerCitizensFeatures`

* Re-add `listDeprecateWarn` to old enchantment tags

* Fixup `entity_types`

* Fixup `material_types`

* Minor cleanups / renames

* Cleanup + update date

* Revert `generate_loot_table` handling change

* Correct `serverSystemMechanisms`'s date

* Update for recent changes
(commit: 2f5aaa7)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/Handler.java (diff)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/Handler.java (diff)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/helpers/ItemHelperImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/NMSHandler.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java (diff)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/ItemHelperImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/interfaces/ItemHelper.java (diff)
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/helpers/ItemHelperImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/Denizen.java (diff)
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/Handler.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/Settings.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java (diff)
Commit 9190d9cdfbba28c1a290ec7f77e19758e27f8072 by git_commits
server tag/mechanism base: register deprecated util-moved options properly
(commit: 9190d9c)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java (diff)
Commit 31171858f71a44794a85feb8618a3572905505dc by noreply
Add entity has_friction property (#2438)

* Add entity friction property

* Change a word

* NL@EOF

* PR changes

* nickles and dimes
(commit: 3117185)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java (diff)
The file was addedpaper/src/main/java/com/denizenscript/denizen/paper/properties/EntityFriction.java
Commit 78f6ad2857f12a72bbc8733413c63cbb1f873e6f by noreply
paper only event `player granted advancement criterion`  (#2436)

* Add Paper-only event `player granted advancement criteria`

* Update examples to include custom Denizen advancement

* Change name to `player granted advancement criterion`

'criteria' is the plural of 'criterion', and this event fires for a single criterion that is granted.
Thanks for information acikek! ;)

* Fix example

* Meta changes + less verbose switch inputs

* Use new Utilities method and use `tryObjectSwitch` again
(commit: 78f6ad2)
The file was addedpaper/src/main/java/com/denizenscript/denizen/paper/events/PlayerGrantedAdvancementCriterionScriptEvent.java
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java (diff)
The file was modifiedREADME.md (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/PlayerGrantedAdvancementCriterionScriptEvent.java (diff)
The file was modifiedLICENSE.txt (diff)
The file was modifiedpaper/pom.xml (diff)
Commit 0a7e63cd0a47d46f7b2cb9f6371010b714c76efd by git_commits
npc damage trigger: exclude cancelled events
(commit: 0a7e63c)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/triggers/core/DamageTrigger.java (diff)
Commit 9ca20841a472858d254a7cc7c30d3bfd3d36ceda by noreply
Temporary holograms in `NPCTag.hologram_lines` (#2442)

* Temporary holograms support in `hologram_lines`

* Meta fixups

* Fixup error message
(commit: 9ca2084)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/triggers/core/DamageTrigger.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java (diff)
Commit 7c8485844b6e6dddb0ba98517748acb2bded0f15 by git_commits
remove legacy valueOf methods
(commit: 7c84858)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/PluginTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java (diff)