Skip to content
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

Add ClassInfoReference system #6531

Merged
merged 5 commits into from
Apr 11, 2024
Merged

Conversation

Pikachu920
Copy link
Member

Description

This PR adds a ClassInfoReference API which provides an easy wrapper around handling the plurality of ClassInfo literals. An example of the existing way can be seen in the edits to ExprValueWithin, although that expression doesn't take full advantage of the API since it's limited to literal classinfos.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@AyhamAl-Ali AyhamAl-Ali added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Apr 3, 2024
Copy link
Member

@Moderocky Moderocky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@sovdeeth sovdeeth added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Apr 3, 2024
Copy link
Member

@APickledWalrus APickledWalrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool stuff! just some of my thoughts :)

Copy link
Member

@AyhamAl-Ali AyhamAl-Ali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another day at improving Skript ⚡ Good work Pikachu

src/main/java/ch/njol/skript/util/ClassInfoReference.java Outdated Show resolved Hide resolved
@Pikachu920 Pikachu920 requested review from APickledWalrus and removed request for APickledWalrus April 4, 2024 03:37
Co-authored-by: Patrick Miller <[email protected]>
@Pikachu920 Pikachu920 merged commit 868e6dc into dev/feature Apr 11, 2024
5 checks passed
@Pikachu920 Pikachu920 deleted the feature/classinfo-reference branch April 11, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants