-
-
Notifications
You must be signed in to change notification settings - Fork 391
Cow Variants #7866
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
base: dev/feature
Are you sure you want to change the base?
Cow Variants #7866
Conversation
Rather than all the reflection, that will be removed in a couple years, why not just only register the CowData class if the variant exists? |
Even if I made it where |
why would it require reflection? |
I'm not entirely sure of how it works. But for some reason Before making the PR, I had changed the |
convo continued on Discord. Due to some silly API stuff in Paper, I guess the reflection is necessary. |
Can we get a short summary of why in a comment/in the PR description? I'm curious about it too |
Basically as Smurfy already said. |
Wacky, thanks |
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.
looks pretty good
Co-authored-by: sovdee <[email protected]>
Description
This PR aims to add support for cow variants to Skript.
A bit of reflect was needed in order to set and get the variant.
Target Minecraft Versions: any
Requirements: none
Related Issues: none