Skip to content
Success

Changes

Summary

  1. Use new `sendEquipmentChange` for `resetEquipment` (commit: 32cb5aa) (details)
  2. Cleanup custom brewing recipe handling (#2440) (commit: 1ca616e) (details)
  3. Update and cleanup `server` tag base (#2439) (commit: 2f5aaa7) (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 modified v1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/PacketHelperImpl.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/nms/interfaces/PacketHelper.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 modified plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/nms/interfaces/ItemHelper.java
The file was removedplugin/src/main/java/com/denizenscript/denizen/utilities/inventory/BrewingRecipe.java
The file was modified v1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/helpers/ItemHelperImpl.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java
The file was modified v1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/ItemHelperImpl.java
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 modified v1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/Handler.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/nms/NMSHandler.java
The file was modified v1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/Handler.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/Denizen.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java
The file was modified v1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/ItemHelperImpl.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/nms/interfaces/ItemHelper.java
The file was modified v1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/helpers/ItemHelperImpl.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/utilities/Settings.java
The file was modified v1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/helpers/ItemHelperImpl.java
The file was modified v1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/Handler.java