Make Vanilla Variant <-> Variant Lib Variant Mappings Data Driven #6
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Modding/variant-lib#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the vanilla Mooshroom and Rabbit variant enums are mapped to Variant Lib Variants through Java code, and may only be added through Java code, meaning that mods with variants which decide to extend an enum or use a registry can't be supported via Variant Lib unless a mod also has a Variant Lib initializer implementation for said variant.
This would be better if you could instead just have a JSON file which defines the mappings, like say...
This way, modpackers can create compat themselves if an author chooses to not do so or doesn't know about Variant Lib.