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 field support. #21

Open
IoIxD opened this issue Sep 20, 2023 · 2 comments
Open

Add field support. #21

IoIxD opened this issue Sep 20, 2023 · 2 comments

Comments

@IoIxD
Copy link
Contributor

IoIxD commented Sep 20, 2023

Spigot devs really love their weird "it's not an enum, it's class with a bunch of static fields" classes, huh?

Add support for static fields (and maybe regular fields? idk)

@IoIxD
Copy link
Contributor Author

IoIxD commented Sep 20, 2023

Actually this is low priority because some of these classes have methods that let you work around it anyways. See: Enchantment which has a getByName function

@IoIxD
Copy link
Contributor Author

IoIxD commented Oct 2, 2024

I forgot that this was the reason I wanted this, I actually ended up doing this anyways but only for enums.

So it's even lower priority because idk what else in the library uses this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant