Skip to content
Success

Changes

Summary

  1. `LocationTag.sherds` tag + mech pair (#2517) (commit: 36416ae) (details)
  2. Add `npcbossbar` command (#2518) (commit: 1dc0af7) (details)
  3. fix for upstream spigot change (commit: 2f07adb) (details)
  4. add debug to pathfinder code (commit: 903e6de) (details)
  5. fix npc 'hit' action (commit: 042c3e1) (details)
  6. fix bossbar remove players (commit: 185edd0) (details)
  7. Update smithing recipe registration (#2520) (commit: 95e7d5b) (details)
  8. Fix `server.list_flags` requiring param (commit: de16c0b) (details)
  9. Brew event: fuel and result controls (#2519) (commit: 8748101) (details)
  10. Fix client-side mem leak due to sidebar (#2525) (commit: 3beddae) (details)
  11. Add brushable blocks to `MaterialTag.level` and `MaterialTag.max/min-imum_level` (#2522) (commit: 12867be) (details)
  12. Fix fake sign editors (#2526) (commit: 60dac3a) (details)
  13. Adds the BlockShearEntityEvent (#2524) (commit: 8cae9ea) (details)
  14. new Paper-only event `player opens sign` (#2523) (commit: da601d8) (details)
  15. cleanup, and meta for the open sign PR (commit: d850835) (details)
  16. fix meta link (commit: d8d7cf3) (details)
  17. fix block shears event block matcher (commit: ae73f27) (details)
  18. fix meta (commit: 372e782) (details)
  19. opens sign event is 1.20 (commit: 8cecc0e) (details)
Commit 36416ae52ecf9515980737b2583051a2d64f5198 by noreply
`LocationTag.sherds` tag + mech pair (#2517)

* `LocationTag.sherds`

* Meta fixes

* Meta fixes

* Meta fixes

* Add some mech examples

* Meta fixes

* Meta fix
(commit: 36416ae)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java (diff)
Commit 1dc0af75231a121c2c150410779f994f93201d99 by noreply
Add `npcbossbar` command (#2518)

* Add `npcbossbar` command

* Imports

* Imports x2

* Meta fix

* Meta fix x2

* Fixes from review
(commit: 1dc0af7)
The file was addedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/npc/NPCBossBarCommand.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/BukkitCommandRegistry.java (diff)
Commit 2f07adb037572e43d7e63da0877caa2332e3f5a0 by git_commits
fix for upstream spigot change
(commit: 2f07adb)
The file was modifiedv1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/impl/entities/CraftItemProjectileImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/world/PathFinder.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/tags/core/NPCTagBase.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/server/BossBarCommand.java (diff)
Commit 95e7d5b5d3e58ff07ba1e7812837eda3cf643088 by noreply
Update smithing recipe registration (#2520)

* Update Smithing recipes to support `SmithingTransformRecipe`s

Support for "SmithingTrimRecipes" coming soon

* Change creation of `NamespacedKey`

Also remove all trim related things. I just don't understand how this is supposed to work?? :(

* Check if `originalMeta` is `null`

* Change recipe classes back to the `NMS` ones.

* Optimize some import stuff.

* Change names and optimize ternary operator

* Accidentally renamed the wrong variables
(commit: 95e7d5b)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/ItemHelperImpl.java (diff)
The file was modifiedv1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/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 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/scripts/containers/core/ItemScriptContainer.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/containers/core/ItemScriptHelper.java (diff)
Commit de16c0ba5b63f5e9f5640c6e59d63a1cfd392140 by 31237389+tal5
Fix `server.list_flags` requiring param

Also replaces some stream usage with the `ListTag` convertor constructor
(commit: de16c0b)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java (diff)
Commit 874810183ebe5f756156530ac4f4473934c64691 by noreply
Brew event: fuel and result controls (#2519)

* support color to filled map item

* add condition to check filled map item doesn't have color

* add mapMeta to getPropertyString

* return null if filled_map doesn't have color

* tidy up parentheses

* clean up parentheses

* add new context fuel_level & result on BrewingStand event

* clarify documentation

* using convertor constructor

* import cleanup

* register new event

* register determination

* Revert "register new event"

This reverts commit 6be4a1d2b76806eb59a4c48995892cbca28cf2a8.

* tidy up space on `registerDetermination`

* alter `listTag` to `result`

* add space between `)){`
(commit: 8748101)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/block/BrewsScriptEvent.java (diff)
Commit 3beddaea744a3790eab9f5a387bdd5bc535a2bf0 by noreply
Fix client-side mem leak due to sidebar (#2525)

* Fix client-side Mem leak due to sidebar

* Imports
(commit: 3beddae)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/abstracts/Sidebar.java (diff)
The file was modifiedv1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/impl/SidebarImpl.java (diff)
Commit 12867bee2fec43b260af92fadf0c7228bea35d12 by noreply
Add brushable blocks to `MaterialTag.level` and `MaterialTag.max/min-imum_level` (#2522)

* Add: `LocationTag.buried_item` mech/tag pair + `MaterialTag.dust_level` property + `MaterialTag.maximum_dust_level` tag/prop

* Add default value

* Move logic to the already existing `level` mech.

Also update 'MaterialTag.level' to the new 'MaterialProperty' system.

* Update meta

* Make sure Brushable related things are only for 1.20+

Also update meta.

* Add version checks to ensure version safety.

* Update meta to add more clarity between block names.
(commit: 12867be)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLevel.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java (diff)
Commit 60dac3a55b4959df26a56523718aed5f3a0db001 by noreply
Fix fake sign editors (#2526)

* Fix fake signs

* Account for the player standing in a sign

* Imports
(commit: 60dac3a)
The file was modifiedv1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/helpers/PacketHelperImpl.java (diff)
The file was modifiedv1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/impl/network/handlers/DenizenPacketListenerImpl.java (diff)
Commit 8cae9eaeeba35386f9404125725823c6a0edcec0 by noreply
Adds the BlockShearEntityEvent (#2524)

* .

* .

* Removed unnecessary precalculated value.
(commit: 8cae9ea)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/ScriptEventRegistry.java (diff)
The file was addedplugin/src/main/java/com/denizenscript/denizen/events/block/BlockShearEntityScriptEvent.java
Commit da601d8fe650debaefa2ff99207e1f2390ac6874 by noreply
new Paper-only event `player opens sign` (#2523)

* add Paper-only event `player opens sign`

* meta cleanup.
(commit: da601d8)
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/PlayerOpenSignScriptEvent.java
Commit d8508356874d221fe51af6ac404a39e4d9b18041 by git_commits
cleanup, and meta for the open sign PR
(commit: d850835)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/triggers/core/ChatTrigger.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/item/ItemRecipeFormedScriptEvent.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemInstrument.java (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/PlayerOpenSignScriptEvent.java (diff)
The file was modifiedv1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/impl/blocks/BlockLightImpl.java (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/PlayerOpenSignScriptEvent.java (diff)
Commit ae73f27104b032226ac232d7db99547912b5d778 by git_commits
fix block shears event block matcher
(commit: ae73f27)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/block/BlockShearEntityScriptEvent.java (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/PlayerOpenSignScriptEvent.java (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java (diff)