-
-
Notifications
You must be signed in to change notification settings - Fork 710
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 fetching MC versions and Console from the extensions API #4168
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.
all of the other methods in GeyserApi are fluent
Needs rebase or merge |
# Conflicts: # core/src/main/java/org/geysermc/geyser/GeyserImpl.java
api/src/main/java/org/geysermc/geyser/api/util/MinecraftVersion.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.
Might be a better idea to create a new impl
package or something and move this file there.
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 think I would've placed this file under org.geysermc.geyser.api.util
as it's also under the util
package of the api
module.
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.
4df0458 moved it to a new impl package. Not sure how org.geysermc.geyser.api.util
would work as that would end up in the api package alongside the interface it implements?
/** | ||
* Gets the version of Java Minecraft that is supported. | ||
* | ||
* @return the supported version of Java Minecraft | ||
*/ |
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.
If we were to follow the Google Style Guide it'd be fine to simplify this to:
Returns the version of Java Minecraft that is supported
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.
Not against doing that, i've mostly mirrored the style of existing method docs
Addressed, methods are fluent now
No description provided.