Closed ix0rai closed 1 year ago
ModMetadata
, Version
, ModLicense
, ModContributor
, ModDependency
, ProvidedMod
, LoaderValue
also all violate this convention. But since we don't have plugins yet we can break them (and add default methods for backwards compat) so it's definitely possible for us to change this.
Personally im not a huge fan of .get
and I think more modern APIs, like loader, can go without.
For context, Loader uses this naming convention because Java is explicitly going that way with records and pretty much all new APIs.
sounds good then!
ModContainer#metadata
andModContainer#rootPath
inorg.quiltmc.loader.api.ModContainer
violate the QM convention of always prefacing getters withget
unless they're part of a record. this should be fixed to ensure all quilt tooling has a consistent naming scheme!