Skip to content
Success

Changes

Summary

  1. display entity support (#2469) (commit: 3bbe017) (details)
  2. Add Spigot's TNT Priming Event (#2470) (commit: 558814b) (details)
  3. Implements the PrePlayerAttackEntityEvent (#2473) (commit: a0b06e6) (details)
  4. minor tweaks to that PR (commit: 768b65a) (details)
  5. `TeleportCommand`: new Paper teleport flags (#2475) (commit: ba6a77b) (details)
  6. clean up meta from that pr (commit: 6e0772b) (details)
  7. Poms: remove unneeded parent-tracking to make things easier for downstream consumers (commit: 899af09) (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/EntityLineWidth.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySeeThrough.java
The file was modified paper/src/main/java/com/denizenscript/denizen/paper/utilities/PaperAPIToolsImpl.java
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/EntityOpacity.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/EntityScale.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityWidth.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/utilities/PaperAPITools.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/EntityViewRange.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/EntityPivot.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/EntityLeftRotation.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShadowStrength.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/objects/properties/PropertyRegistry.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDefaultBackground.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/EntityTranslation.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/EntityShadowRadius.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTextShadowed.java
The file was removedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisplayEntityData.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityText.java
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 modified plugin/src/main/java/com/denizenscript/denizen/events/ScriptEventRegistry.java
The file was modified paper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java
The file was modified paper/src/main/java/com/denizenscript/denizen/paper/events/TNTPrimesScriptEvent.java
The file was addedplugin/src/main/java/com/denizenscript/denizen/events/block/TNTPrimesScriptEvent.java
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 modified paper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java
The file was addedpaper/src/main/java/com/denizenscript/denizen/paper/events/PrePlayerAttackEntityScriptEvent.java
Commit 768b65a7d0cefda835d61ab902096850c0d14340 by git_commits
minor tweaks to that PR
(commit: 768b65a)
The file was modified plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArmorPose.java
The file was modified paper/src/main/java/com/denizenscript/denizen/paper/events/PrePlayerAttackEntityScriptEvent.java
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 modified plugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/LookCommand.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/TeleportCommand.java
The file was modified paper/src/main/java/com/denizenscript/denizen/paper/utilities/PaperAPIToolsImpl.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/utilities/PaperAPITools.java
Commit 6e0772ba008d0bb599d863f60cb235d3fc728edd by git_commits
clean up meta from that pr
(commit: 6e0772b)
The file was modified paper/src/main/java/com/denizenscript/denizen/paper/utilities/PaperAPIToolsImpl.java
The file was modified plugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/TeleportCommand.java
Commit 899af095d8f1ccb5f6321a26a73ae7f9668d856a by git_commits
Poms: remove unneeded parent-tracking to make things easier for downstream consumers
(commit: 899af09)
The file was modified pom.xml
The file was modified dist/pom.xml
The file was modified v1_19/pom.xml
The file was modified plugin/pom.xml
The file was modified v1_17/pom.xml
The file was modified v1_18/pom.xml
The file was modified paper/pom.xml