Skip to content
Success

Changes

Summary

  1. display entity support (#2469) (commit: 3bbe017) (details)
  2. minor meta fix (commit: 21975ee) (details)
  3. Bukkit color conversion: support alpha (commit: e6d7c76) (details)
  4. `is_whitelisted`: offline player fix, rename (commit: 0054d05) (details)
  5. `BiomeNMS(1.18)`: Fix `getClimate` (commit: 2f22d09) (details)
  6. New tag/mech pair `foliage_color` (#2458) (commit: f223574) (details)
  7. minor cleanups (commit: f5e99b6) (details)
  8. Add Spigot's TNT Priming Event (#2470) (commit: 558814b) (details)
  9. allow uppercase letters in keybind format codes (commit: 3b58130) (details)
  10. Implements the PrePlayerAttackEntityEvent (#2473) (commit: a0b06e6) (details)
  11. minor tweaks to that PR (commit: 768b65a) (details)
  12. `TeleportCommand`: new Paper teleport flags (#2475) (commit: ba6a77b) (details)
  13. clean up meta from that pr (commit: 6e0772b) (details)
  14. `EntityTag.background_color` property (#2477) (commit: 6020d74) (details)
  15. correct maven usage info in readme (commit: b6da3f0) (details)
  16. partial lib bump and pom correction (commit: 1521501) (details)
  17. Poms: remove unneeded parent-tracking to make things easier for downstream consumers (commit: 899af09) (details)
  18. add misisng pom values (commit: f29a499) (details)
  19. add duration option to `blockcrack` (#2481) (commit: bdda290) (details)
  20. minor cleanups (commit: 8fc8b98) (details)
Commit 3bbe0170a24bd6b9aa4d914af9507d3293c695b2 by noreply
display entity support (#2469)

* `billboard` -> `EntityPivot`

* `brightness_*` -> `EntityBrightness`

* `EntityPivot` - minor fixes

* `glow_color` -> `EntityGlowColor`

* `width`/`height` -> `EntityCullingWidth/Height`

* `interpolation_delay` > `EntityInterpolationDelay`

* `EntityInterpolationDuration`

* `shadow_radius` -> `EntityShadowRadius`

* `shadow_strength` -> `EntityShadowStrength`

* `transformation_scale` -> `EntityScale`

* `transformation_translation` > `EntityTranslation`

* Better `DisplayEntityData` transformation handling

* `view_range` -> `EntityViewRange`

* `item_transform` -> `EntityDisplay`

* `text_alignment` -> `EntityDisplay`

* `text_line_width` -> `EntityLineWidth`

* `text` -> `EntityText`

* `text_opacity` -> `EntityOpacity`

* `EntityDefaultBackground`

* `text_is_see_through` -> `EntitySeeThrough`

* `text_is_shadowed` -> `EntityTextShadowed`

* Cleanup `EntityDisplayEntityData`

* Fix `EntityGlowColor` typo

* `interpolation_delay` -> `interpolation_start`

* `interpolation_duration` meta fix

* Properly handle signed->unsigned in `EntityOpacity`

* Improve `EntityViewRange` meta

* `EntityCullingWidth/Height` > `EntityWidth/Height`

* Document what values can be interpolated

* Minor `PropertyRegistry` ordering fix

* Minor meta fix

* `DisplayEntityData` - comment out background color

* Meta fixes

* `PaperAPITools#getText` (Spigot): `null` -> `""`

* Minor meta fixes & code cleanup

* `synonyms` and typo fix

* Add interpolation language doc

* Reference interpolation lang in mechs

* Document `opacity` edge-case

* Copypasta fix

* `EntityLeft/RightRotation`

* `left/right_rotation` -> `primary/secondary`

* Revert "`left/right_rotation` -> `primary/secondary`"

This reverts commit bcaafa57fdaa76252903b56d4ac21ae1d9d1b7ce.

* Document `left/right_rotation`
(commit: 3bbe017)
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityWidth.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityGlowColor.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityLeftRotation.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPivot.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTextShadowed.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityText.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityScale.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHeight.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShadowRadius.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInterpolationStart.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityOpacity.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityViewRange.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInterpolationDuration.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityRightRotation.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTranslation.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/PropertyRegistry.java (diff)
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBrightness.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShadowStrength.java
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/utilities/PaperAPIToolsImpl.java (diff)
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityLineWidth.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/PaperAPITools.java (diff)
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySeeThrough.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisplay.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDefaultBackground.java
The file was removedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisplayEntityData.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/command/DenizenCommandHandler.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInterpolationStart.java (diff)
Commit e6d7c76c429c947600ae045852cfe3cbffdce97a by 31237389+tal5
Bukkit color conversion: support alpha
(commit: e6d7c76)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitColorExtensions.java (diff)
Commit 0054d0529df1b3581a361f76500e66afd158977a by 31237389+tal5
`is_whitelisted`: offline player fix, rename
(commit: 0054d05)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java (diff)
Commit 2f22d093ab06549ebc7513acfc729f11fbf105e4 by 31237389+tal5
`BiomeNMS(1.18)`: Fix `getClimate`

It used the holder directly, instead of calling `#value` to get the biome.
(commit: 2f22d09)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/impl/BiomeNMSImpl.java (diff)
Commit f2235745b0a16ae58b95a5e346e81df9d78bcdba by noreply
New tag/mech pair `foliage_color` (#2458)

* Add new tag/mech pair `foliage_color`

Tested on 1.17.1, 1.18.2, and 1.19.4

* Change wording of comment.

* Different way of setting and getting foliage color

Now, the foliage color is directly set instead of using a builder class.

Also, the foliage color is now approximated for all biomes without an already set foliage color.

* Meta and code cleanup
(commit: f223574)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/abstracts/BiomeNMS.java (diff)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/impl/BiomeNMSImpl.java (diff)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/ReflectionMappingsInfo.java (diff)
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/ReflectionMappingsInfo.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java (diff)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/impl/BiomeNMSImpl.java (diff)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/ReflectionMappingsInfo.java (diff)
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/impl/BiomeNMSImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/entity/DragonPhaseChangeScriptEvent.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/Denizen.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java (diff)
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/impl/BiomeNMSImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/SchematicCommand.java (diff)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/impl/BiomeNMSImpl.java (diff)
Commit 558814bf9eab2dcf8c66a38917dea5341dbb6203 by noreply
Add Spigot's TNT Priming Event (#2470)

* Add Spigot TNTPrimeEvent for 1.19+

* Update meta

* Update function name

* Backwards compatibility contexts + new one

* Update context switches

* Update meta
(commit: 558814b)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/ScriptEventRegistry.java (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/TNTPrimesScriptEvent.java (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java (diff)
The file was addedplugin/src/main/java/com/denizenscript/denizen/events/block/TNTPrimesScriptEvent.java
Commit 3b5813025e741edb3c276930eb6818390bc4e407 by git_commits
allow uppercase letters in keybind format codes
(commit: 3b58130)
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/FormattedTextHelper.java (diff)
Commit a0b06e6d2523067891d8813041ae93b4cacc267c by noreply
Implements the PrePlayerAttackEntityEvent (#2473)

* PrePlayerAttackEntityEvent

Implements the PrePlayerAttackEntityEvent, which fires when the player tries to attack an entity.

* Updated both files

* REMOVES THE STRAY NEW LINE

* Update PrePlayerAttackEntityScriptEvent.java

Removed useless import, updated event line & updated matcher accordingly,  moved context for tags into triggers, and fixed formatting issue.

* Update PrePlayerAttackEntityScriptEvent.java

* Modified event line

* Modified player link meta
(commit: a0b06e6)
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/PrePlayerAttackEntityScriptEvent.java
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/PrePlayerAttackEntityScriptEvent.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArmorPose.java (diff)
Commit ba6a77baebcf81d576436ea9f2703dc0e6f6c251 by noreply
`TeleportCommand`: new Paper teleport flags (#2475)

* `TeleportCommand`: impl new Paper teleport flags

* Account for older versions

* Imports

* Imports x2

* Add deprecation date

* Add meta note

* Imports x3

* Fix oversight removing `EntityTag#teleport` usage

* Re-add `relative`
(commit: ba6a77b)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/utilities/PaperAPIToolsImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/PaperAPITools.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/TeleportCommand.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/LookCommand.java (diff)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/utilities/PaperAPIToolsImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/TeleportCommand.java (diff)
Commit 6020d74bad02d6791785fe1069868b8527967c23 by noreply
`EntityTag.background_color` property (#2477)

* Add `EntityTag.background_color` property

* Update `default_background` meta
(commit: 6020d74)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/PropertyRegistry.java (diff)
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBackgroundColor.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDefaultBackground.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityText.java (diff)
Commit b6da3f0cc66767af071e23489967f88b3a1a4133 by git_commits
correct maven usage info in readme
(commit: b6da3f0)
The file was modifiedREADME.md (diff)
Commit 15215016a0e75d5d5249491f4aa9b78a27e41c3d by git_commits
partial lib bump and pom correction
(commit: 1521501)
The file was modifiedv1_17/pom.xml (diff)
The file was modifiedv1_18/pom.xml (diff)
The file was modifiedpom.xml (diff)
The file was modifiedv1_19/pom.xml (diff)
Commit 899af095d8f1ccb5f6321a26a73ae7f9668d856a by git_commits
Poms: remove unneeded parent-tracking to make things easier for downstream consumers
(commit: 899af09)
The file was modifiedv1_18/pom.xml (diff)
The file was modifiedv1_17/pom.xml (diff)
The file was modifiedpom.xml (diff)
The file was modifiedplugin/pom.xml (diff)
The file was modifieddist/pom.xml (diff)
The file was modifiedpaper/pom.xml (diff)
The file was modifiedv1_19/pom.xml (diff)
The file was modifiedplugin/pom.xml (diff)
Commit bdda2909d5543eb0a7da5bb325be34b21f24a9ad by noreply
add duration option to `blockcrack` (#2481)

* Add `duration:` argument and update to `autoExecute`

* Fixes
(commit: bdda290)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/BlockCrackCommand.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/BlockCrackCommand.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/BukkitScriptEvent.java (diff)
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/impl/ImprovedOfflinePlayerImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/npc/traits/PushableTrait.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/TeleportCommand.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/inventory/SlotHelper.java (diff)