-
-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allay Support #7358
base: dev/feature
Are you sure you want to change the base?
Allay Support #7358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things here and there, but looking good. I'm not sure I love the class names being specific to allays, not a big deal though
src/main/java/ch/njol/skript/conditions/CondAllayCanDuplicate.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprDuplicateCooldown.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprDuplicateCooldown.java
Outdated
Show resolved
Hide resolved
src/test/skript/tests/syntaxes/expressions/ExprDuplicateCooldown.sk
Outdated
Show resolved
Hide resolved
src/main/java/ch/njol/skript/expressions/ExprDuplicateCooldown.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking good
src/test/skript/tests/syntaxes/expressions/ExprDuplicateCooldown.sk
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,15 @@ | |||
test "allay dancing": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
piglin tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment on your initial request for piglins explaining why there were no tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it failing is a bit concerning. How were you testing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exact same test as the allay. Just spawn a piglin instead and change the fail messages. I've tested manually, the exact same way as done through the test and it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By manually, do you mean running that exact trigger? or running a similar trigger? or using effect commands?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
effect commands and exact code within a /test
command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The exact code in a test command didn't fail? If that doesn't fail, the test shouldn't either. Perhaps it's a chunk loading thing like we saw a while back
Description
This PR aims to add support for Allays. Allowing users to duplicate allays, set if allays can duplicate naturally, make them dance, duplication cooldown, and their target jukebox.
Target Minecraft Versions: any
Requirements: none
Related Issues: none