Skip to content

DataGen module #91

Description

@thecatcore

FabricAPI provides a datagen api which is directly available through loom settings.
Looking at the way it is implemented, it's mostly version independent additional arguments that are passed, meaning OSL could parse them to be directly compatible with this kind of setup.

Regarding DataGen availability in versions supported by Ornithe

1.13-1.14

Data Gen infrastructure exists in a way that is fully extendable as is.
There are pre-existing providers already for everything in the data folder.
Providers for assets data are missing be could be easily reimplemented using the existing api.

Earlier versions

No existing Data Gen infrastructure was bundled in the mc jar at the time even though mojang themselves probably had a similar tool.
This mean we would have to fully reimplement it.

Additional features to take into account

OSL allows registering builtin resourcepacks, the api should allow generating independent data in both the default directory and the builtin packs one.
The LanguageProvider should have builtin methods for all Object types that can have a translation key including those added by OSL apis.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions