Add ModEntrypoint as an API for AdapterLoadableClassEntry #380
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since the only public changes are generics, existing mods which use
getEntrypoints()
(which they shouldn't as it's all eitherPLUGIN_API
orLEGACY_EXPOSED
) will continue to work in binary (compiled) form, but not source form.ModEntrypoint
intentionally doesn't expose theadapter
orvalue
at the moment since only loader itself should need it, at least in theory.This also removes the
plugins
field from the QMJ reader, since it used to useAdapterLoadableClassEntry
but isn't actually hooked up anywhere (as actual plugins don't get defined in this way)This also has two extra API changes:
ModLicense.fromIdentifier
&fromIdentifierOrDefault
, which exposes the same methods inModLicenseImpl
QuiltPluginManager.loadZipNow
, which is an immediate version ofloadZip