Package net.fabricmc.loom.api.processor
Interface SpecContext
- All Known Implementing Classes:
DeobfSpecContext,RemappedSpecContext
public interface SpecContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<FabricModJson> allMods()static List<FabricModJson> distinctSorted(List<FabricModJson> mods) static Stream<LoomProjectData> getDependentProjectData(ProjectView projectView) static Stream<org.gradle.api.Project> getDependentProjects(ProjectView projectView) Returns a list of all the external mods that this project depends on regardless of configuration.Return a set of mods that should be used for transforms, that target EITHER the common or client.Return a set of mods that should be used for transforms, that target ONLY the client.
-
Method Details
-
modDependencies
List<FabricModJson> modDependencies()Returns a list of all the external mods that this project depends on regardless of configuration. -
localMods
List<FabricModJson> localMods() -
modDependenciesCompileRuntime
List<FabricModJson> modDependenciesCompileRuntime()Return a set of mods that should be used for transforms, that target EITHER the common or client. -
modDependenciesCompileRuntimeClient
List<FabricModJson> modDependenciesCompileRuntimeClient()Return a set of mods that should be used for transforms, that target ONLY the client. -
productionNamespace
MappingsNamespace productionNamespace() -
allMods
-
getDependentProjectData
-
getDependentProjects
-
distinctSorted
-