|
Quilt Loader 1
|
Representation of a license a mod may use. More...
Public Member Functions | |
| String | name () |
| String | id () |
| String | url () |
| String | description () |
Static Public Member Functions | |
| static ModLicense | fromIdentifier (String identifier) |
Looks up a ModLicense from the given SPDX license ID, returning null if quilt-loader is unaware of it. | |
| static ModLicense | fromIdentifierOrDefault (String identifier) |
Looks up a ModLicense from the given SPDX license ID, returning a new ModLicense (with name() and id() set to the passed identifier, the other fields blank) if quilt-loader is unaware of it. | |
Representation of a license a mod may use.
| String org.quiltmc.loader.api.ModLicense.description | ( | ) |
Implemented in org.quiltmc.loader.impl.metadata.qmj.ModLicenseImpl.
|
inlinestatic |
Looks up a ModLicense from the given SPDX license ID, returning null if quilt-loader is unaware of it.
Implemented in org.quiltmc.loader.impl.metadata.qmj.ModLicenseImpl.
|
inlinestatic |
Looks up a ModLicense from the given SPDX license ID, returning a new ModLicense (with name() and id() set to the passed identifier, the other fields blank) if quilt-loader is unaware of it.
Implemented in org.quiltmc.loader.impl.metadata.qmj.ModLicenseImpl.
| String org.quiltmc.loader.api.ModLicense.id | ( | ) |
Implemented in org.quiltmc.loader.impl.metadata.qmj.ModLicenseImpl.
| String org.quiltmc.loader.api.ModLicense.name | ( | ) |
Implemented in org.quiltmc.loader.impl.metadata.qmj.ModLicenseImpl.
| String org.quiltmc.loader.api.ModLicense.url | ( | ) |
Implemented in org.quiltmc.loader.impl.metadata.qmj.ModLicenseImpl.