public abstract class PatcherUserBasePlugin<T extends PatcherUserBaseExtension> extends UserBasePlugin<T>
useLocalCacheotherPlugin, project| Constructor and Description |
|---|
PatcherUserBasePlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAtsToDeobf() |
protected void |
afterDecomp(boolean isDecomp,
boolean useLocalCache,
java.lang.String mcConfig)
This method should add the MC dependency to the supplied config, as well as do any extra configuration that requires the provided information.
|
protected void |
afterEvaluate() |
protected void |
applyOverlayPlugin() |
protected void |
applyUserPlugin() |
boolean |
canOverlayPlugin()
return true if this plugin can be applied over another BasePlugin.
|
abstract java.lang.String |
getApiGroup(T ext) |
abstract java.lang.String |
getApiName(T ext) |
abstract java.lang.String |
getApiVersion(T ext) |
protected T |
getOverlayExtension() |
abstract java.lang.String |
getUserdevClassifier(T ext) |
abstract java.lang.String |
getUserdevExtension(T ext) |
protected boolean |
hasClientRun()
This method is called early, and not late.
|
protected boolean |
hasServerRun()
This method is called early, and not late.
|
addEclipseRuns, applyPlugin, chooseDeobfOutput, configureCompilation, configureIntellij, createSourceCopyTasks, getClientRunArgs, getClientRunClass, getClientTweaker, getServerRunArgs, getServerRunClass, getServerTweaker, getStartDir, injectIntellijRuns, mapConfigurations, tasksClient, tasksMerged, tasksServer, useLocalCacheaddFlatRepo, addMavenRepo, apply, applyExternalPlugin, buildProject, cacheFile, delayedFile, delayedString, delayedTree, getExtension, getWithEtag, makeTask, makeTask, makeTask, maybeMakeTask, maybeMakeTask, maybeMakeTask, parseAndStoreVersion, parseAndStoreVersionprotected void applyUserPlugin()
applyUserPlugin in class UserBasePlugin<T extends PatcherUserBaseExtension>protected void afterEvaluate()
afterEvaluate in class UserBasePlugin<T extends PatcherUserBaseExtension>protected void addAtsToDeobf()
addAtsToDeobf in class UserBasePlugin<T extends PatcherUserBaseExtension>protected void afterDecomp(boolean isDecomp,
boolean useLocalCache,
java.lang.String mcConfig)
UserBasePluginafterDecomp in class UserBasePlugin<T extends PatcherUserBaseExtension>isDecomp - Whether to use the recmpield MC artifactuseLocalCache - Whetehr or not ATs were applied to this artifactmcConfig - Which gradle configuration to add the MC dep topublic abstract java.lang.String getApiGroup(T ext)
public abstract java.lang.String getApiName(T ext)
public abstract java.lang.String getApiVersion(T ext)
public abstract java.lang.String getUserdevClassifier(T ext)
public abstract java.lang.String getUserdevExtension(T ext)
protected boolean hasServerRun()
UserBasePluginhasServerRun in class UserBasePlugin<T extends PatcherUserBaseExtension>protected boolean hasClientRun()
UserBasePluginhasClientRun in class UserBasePlugin<T extends PatcherUserBaseExtension>protected void applyOverlayPlugin()
applyOverlayPlugin in class BasePlugin<T extends PatcherUserBaseExtension>public boolean canOverlayPlugin()
BasePlugincanOverlayPlugin in class BasePlugin<T extends PatcherUserBaseExtension>protected T getOverlayExtension()
getOverlayExtension in class BasePlugin<T extends PatcherUserBaseExtension>Constants.EXT_NAME_MC