Class ModDependency

java.lang.Object
com.modrinth.minotaur.dependencies.Dependency
com.modrinth.minotaur.dependencies.ModDependency

public class ModDependency extends Dependency
Class for making a dependency on a mod.
  • Constructor Details

    • ModDependency

      public ModDependency(String id, DependencyType type)
      Creates a new project relationship.
      Parameters:
      id - The ID of the project to create a dependency with.
      type - The type of dependency being created.
    • ModDependency

      public ModDependency(String id, String type)
      Creates a new project relationship.
      Parameters:
      id - The ID of the project to create a dependency with.
      type - The type of dependency being created.
  • Method Details

    • getProjectId

      public String getProjectId()
      Returns:
      projectId