Closed Leo40Git closed 1 year ago
Bump!
B U M P
New maintainer here--I'll get to this PR eventually, but it's going to sit on the backburner for a while.
I'm currently concerned with a 2.0 branch where i'm experimenting with changes (breaking or not) which improve the current API structure and make it... well... actually usable. When all of that is resolved and somehow integrated into Quilt Loader, then we can move on to extensions like this.
I should probably update this now that #8 is merged, huh?
Closed due to containing code from a particularly cringe individual. (EDIT: nvm)
Closing for now, may reopen this later.
This PR adds the following features:
SerializedName
annotation, which allows changing the name of aTrackedValue
derived from a field.NamingScheme
interface and theNamingSchemes
enum, straight from Configurate.NameConvention
annotation, which allows specifying theNamingScheme
to use for gettingTrackedValue
names from field names (viaNamingSchemes
, or using a customNamingScheme
implementation)..gitignore
file, copied from Quilt Standard Libraries.Notes:
NameConvention.custom()
andNameConvention.value()
can be set at the same time, butNameConvention.custom()
takes priority.NameConvention
by default.NameConvention
s for their nested values. ANameConvention
annotation can be added both to the section class and to the section field, with the annotation on the field taking priority.PASSTHROUGH
, for backwards compatibility.