Commit 2b3c828
1.19.4 displays (#5601)
* Fix gradle temp
* Start on displays
* Save
* More work
* update gradle.build
* stash
* Progress so far
* Finish bulk add
* Finalize so far
* Minimize adventure api
* Fix static class check for not 1.19.4
* Fix missing display classinfo in pattern under 1.19.4
* Fix missing quaternions classinfo in pattern under 1.19.4
* Make sure test runs on only 1.19.4
* Address reviews and fix java 8
* Apply suggestions from code review
Co-authored-by: sovdee <ethansovde@gmail.com>
* Move classes
* Apply changes
* Move classes
* Class rename
* Update to Spigot's fix to TextAlignment
* Return null when using w of vector
* Update src/main/java/ch/njol/skript/expressions/ExprXYZComponent.java
Co-authored-by: sovdee <ethansovde@gmail.com>
* Use brackets
* Add entity hiding
* Add property init values for displays
* 1.19.4 check
* Add rotate syntaxes
* Change example
* Fix tests
* shadow syntax missing
* Change setting
* Revert change
* Update src/main/java/ch/njol/skript/conditions/CondCanSee.java
* Fix imports from master merge
* Get tests working
* Add color reset
* Update ExprXYZComponent.java
* Update DisplayData.java
* Update DisplayData.java
* Change the package naming and merge item into its own class
* Add versioning for hide effect
* Add versioning for hide effect
* Change tests
* Update submodule skript-aliases
* Fix tests
* Fix tests
* Fix tests
* Apply suggestions from code review
Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
* Apply changes
* Add axis angle
* Add axis angle
* Update skript-aliases
* fix merge error
* Remove axisangle and only present quaternion to users
* Add tests for basic quaternion features, cleanup and fix bugs with ExprXYZComponent, add tests
Notable changes include changing float comparison behavior (needs discussion) and allowing multiple vectors/quaternions to be changed at once (will overwrite list indices, needs discussion)
* Add ExprQuaternionAxisAngle and tests. Change float comparison to use dynamic epsilon value.
* Temporary change to build.gradle for java 17
* Revert "Update src/main/java/ch/njol/skript/conditions/CondCanSee.java"
This reverts commit 3da7b37.
* Reverts entity hiding commits in favor of #6867
Shouldn't be in the scope of this PR.
* version check for EQAA and displaydata cleanup
* force 'rotation' in EQAA, fix classdef error, add itemtypes to block display entitydata pattern, add tests for display entitydata
Not sure wh
* Clean up colorOf, add tests, add alpha parameter to rgb function and color tostring, add rgba factory method + constructor
Discussion needed surrounding type checking in colorof acceptChange
* update Nullable annotations to jetbrains
* Fix <1.19 errors (just for actions) and fix subtle issues with xyz component changer
* rename package to bukkit
* finish package refactor
* Add tests for billboarding, rework display brightness and add tests, move joml utilities
* tests + allow setting override to a single number
* tests, cleanup, and bug fixes for glow override and hegiht/width
* Interpolation and Shadow tests + correct reset value for shadow strength + guard against NaN and init
* Tests and cleanup for teleportation duration, remove number from changers for tp duration and interpolation delay/duration
* Transformation tests, cleanup, bugfixes. Removed unnecessary Joml utils class.
* wrong version check for teleportation duration
* Display view range tests, cleanup, finite guard, switch to Timespan#getAs
* strip licenses
* cleanup, tests for ItemDisplayTransfrom. Fixed default from being FIXED to NONE, changed lang for NONE to be no transform to avoid confusion
* Remove ItemOfItemDisplay (redundant), cleanup/test the text display expressions.
* small cleanup to textdisplayexprs and rename ItemFrameSlot to be more generic
* rework ExprRotate
* Completely rework rotation with new Rotator API. Add support for quaternions + displays in EffRotate
* cleanup rotations - java 17 tests will fail until legacy tests are removed
* Fix bugs with rotation, adds tests
* Add drop shadow syntax and small cleanup of ExprTextOf
* See through blocks syntax
* Update ExprRotate.java
* remove extra [a]'s
* whoops! reverts a change to number accuracy config done for testing
* Module-ize, package infos, remove mc version checks
* rename display.expressions package, use for loops, move displaydata
* display data improvements
* requested changes 1
* update switches and remove banana
* requested changes 2
* Apply suggestions from code review
Co-authored-by: cheeezburga <47320303+cheeezburga@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: cheeezburga <47320303+cheeezburga@users.noreply.github.com>
* fix expritemofentity description
* Apply suggestions from code review
Co-authored-by: cheeezburga <47320303+cheeezburga@users.noreply.github.com>
* Update ExprDisplayHeightWidth.java
* Apply suggestions from code review
Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>
* requested changes 2 + rotator docs
* requested changes
* Apply suggestions from code review
Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>
* requested changes!
---------
Co-authored-by: sovdee <ethansovde@gmail.com>
Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
Co-authored-by: Moderocky <admin@moderocky.com>
Co-authored-by: cheeezburga <47320303+cheeezburga@users.noreply.github.com>
Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>1 parent 751c102 commit 2b3c828
82 files changed
Lines changed: 4345 additions & 727 deletions
File tree
- src
- main
- java
- ch/njol/skript
- aliases
- classes/data
- effects
- entity
- expressions
- registrations
- sections
- util
- slot
- visual
- org/skriptlang/skript/bukkit
- displays
- generic
- item
- text
- misc
- effects
- expressions
- rotation
- resources/lang
- test/skript/tests
- misc
- syntaxes
- effects
- expressions
- functions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
544 | 548 | | |
545 | 549 | | |
546 | 550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
1417 | 1433 | | |
1418 | 1434 | | |
1419 | 1435 | | |
| |||
1427 | 1443 | | |
1428 | 1444 | | |
1429 | 1445 | | |
| 1446 | + | |
1430 | 1447 | | |
Lines changed: 37 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
32 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
33 | 47 | | |
34 | 48 | | |
35 | 49 | | |
| |||
80 | 94 | | |
81 | 95 | | |
82 | 96 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 97 | | |
110 | 98 | | |
111 | | - | |
112 | | - | |
113 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
| |||
1527 | 1523 | | |
1528 | 1524 | | |
1529 | 1525 | | |
| 1526 | + | |
1530 | 1527 | | |
1531 | 1528 | | |
1532 | 1529 | | |
| |||
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
85 | 94 | | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
89 | 98 | | |
90 | 99 | | |
91 | | - | |
| 100 | + | |
92 | 101 | | |
93 | 102 | | |
94 | 103 | | |
| |||
656 | 665 | | |
657 | 666 | | |
658 | 667 | | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
659 | 673 | | |
660 | 674 | | |
661 | 675 | | |
Lines changed: 60 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
525 | 528 | | |
526 | 529 | | |
527 | 530 | | |
528 | | - | |
| 531 | + | |
| 532 | + | |
529 | 533 | | |
530 | 534 | | |
531 | 535 | | |
532 | 536 | | |
533 | 537 | | |
534 | 538 | | |
| 539 | + | |
535 | 540 | | |
536 | | - | |
| 541 | + | |
537 | 542 | | |
538 | | - | |
539 | | - | |
540 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
541 | 550 | | |
542 | 551 | | |
543 | 552 | | |
| |||
634 | 643 | | |
635 | 644 | | |
636 | 645 | | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
637 | 690 | | |
638 | | - | |
| 691 | + | |
639 | 692 | | |
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
627 | 630 | | |
628 | 631 | | |
629 | 632 | | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
630 | 667 | | |
| 668 | + | |
631 | 669 | | |
0 commit comments