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

Allow setting targetVersion to latest stable or preview #5

Open
solvedDev opened this issue Nov 5, 2022 · 0 comments
Open

Allow setting targetVersion to latest stable or preview #5

solvedDev opened this issue Nov 5, 2022 · 0 comments
Labels
suggestion Discussion needed

Comments

@solvedDev
Copy link
Collaborator

Motivation

A lot of users are confused on why they cannot use newly added Minecraft Add-On syntax within their bridge. projects.

Summary

We propose to allow the strings "latestStable" and "latestPreview" as valid target versions within the project config.
The config parser can replace these two strings with the respective versions before handing over the parsed config to other parts of the program making this a non-breaking change.

/**
 * The Minecraft version this project targets
 *
 * Use "latestStable" or "latestPreview" to always use the latest Minecraft or Minecraft Preview
 * version as your project target version
 * 
 * @example "1.17.0" / "1.16.220" / "latestStable"
 */
 targetVersion: string
@solvedDev solvedDev added the suggestion Discussion needed label Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Discussion needed
Projects
None yet
Development

No branches or pull requests

1 participant