-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
New Expression: Loaded Chunks of World #5662
New Expression: Loaded Chunks of World #5662
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.
Nice PR ⚡
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.
Should probably be included within https://github.com/SkriptLang/Skript/blob/master/src/main/java/ch/njol/skript/expressions/ExprChunk.java with separate syntax pattern (all of the|all [the]) [loaded] chunks of %worlds%
and [the] chunk[s] (of|%-directions%) %locations%
Aware that tests are failing. |
Fixed cause of test failing and PR ready for review! |
This could have a test too, since spawn chunks ought to be loaded in the test environment. |
too many variables |
* Initial * Support plural * Merge with ExprChunk * Fix * Fix 2 * Cleanup class to obey code convention * Requested changes * Fix indent * Indent docs and improved pattern --------- Co-authored-by: LimeGlass <[email protected]>
* Initial * Support plural * Merge with ExprChunk * Fix * Fix 2 * Cleanup class to obey code convention * Requested changes * Fix indent * Indent docs and improved pattern --------- Co-authored-by: LimeGlass <[email protected]>
Description
This PR adds support of getting a list of loaded chunks of a world into Skript!
Target Minecraft Versions: any
Requirements: -
Related Issues: -