mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Interface Injection (#496)
* Added interface injection via fabric.mod.json. * Added interface injection * Added amending of class signature with injected interface.
This commit is contained in:
@@ -132,4 +132,13 @@ public interface LoomGradleExtensionAPI {
|
||||
* @return the intermediary url template
|
||||
*/
|
||||
Property<String> getIntermediaryUrl();
|
||||
|
||||
/**
|
||||
* When true loom will inject interfaces declared in mod manifests into the minecraft jar file.
|
||||
* This is used to expose interfaces that are implemented on Minecraft classes by mixins at runtime
|
||||
* in the dev environment.
|
||||
*
|
||||
* @return the property controlling interface injection.
|
||||
*/
|
||||
Property<Boolean> getEnableInterfaceInjection();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user