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

Suggestion: Support for arrays and non-String lists #45

Open
KonSola5 opened this issue Dec 1, 2023 · 0 comments
Open

Suggestion: Support for arrays and non-String lists #45

KonSola5 opened this issue Dec 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@KonSola5
Copy link

KonSola5 commented Dec 1, 2023

Currently, they sorta work (they show up in config):
config
... but they don't show up in-game.
game

Lists of other types than String sorta work both in-game and in config:

@Entry(category = "generating") public static List<Double> gourmaryllisList = new ArrayList<>(Arrays.asList(0.0, 1.0, 1.3, 1.5, 1.6, 1.7, 1.75, 1.8));

config
... but after changing a value, the value gets wrapped with quotation marks.
config

If the non-String types would be supported, it would save on parsing strings into doubles (or other arbitrary type) on the modder's end.

@KonSola5 KonSola5 changed the title Suggestion: Support for arrays Suggestion: Support for arrays and non-String lists Dec 1, 2023
@Motschen Motschen added the enhancement New feature or request label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants