Class ModInfo.ModVersion

java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModInfo.ModVersion
All Implemented Interfaces:
net.minecraftforge.forgespi.language.IModInfo.ModVersion
Enclosing class:
ModInfo

class ModInfo.ModVersion extends Object implements net.minecraftforge.forgespi.language.IModInfo.ModVersion
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final boolean
     
    private final String
     
    private final net.minecraftforge.forgespi.language.IModInfo.Ordering
     
    private net.minecraftforge.forgespi.language.IModInfo
     
    private Optional<URL>
     
    private final net.minecraftforge.forgespi.language.IModInfo.DependencySide
     
    private final org.apache.maven.artifact.versioning.VersionRange
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModVersion(net.minecraftforge.forgespi.language.IModInfo owner, net.minecraftforge.forgespi.language.IConfigurable config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    net.minecraftforge.forgespi.language.IModInfo.Ordering
     
    net.minecraftforge.forgespi.language.IModInfo
     
     
    net.minecraftforge.forgespi.language.IModInfo.DependencySide
     
    org.apache.maven.artifact.versioning.VersionRange
     
    boolean
     
    void
    setOwner(net.minecraftforge.forgespi.language.IModInfo owner)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • owner

      private net.minecraftforge.forgespi.language.IModInfo owner
    • modId

      private final String modId
    • versionRange

      private final org.apache.maven.artifact.versioning.VersionRange versionRange
    • mandatory

      private final boolean mandatory
    • ordering

      private final net.minecraftforge.forgespi.language.IModInfo.Ordering ordering
    • side

      private final net.minecraftforge.forgespi.language.IModInfo.DependencySide side
    • referralUrl

      private Optional<URL> referralUrl
  • Constructor Details

    • ModVersion

      public ModVersion(net.minecraftforge.forgespi.language.IModInfo owner, net.minecraftforge.forgespi.language.IConfigurable config)
  • Method Details

    • getModId

      public String getModId()
      Specified by:
      getModId in interface net.minecraftforge.forgespi.language.IModInfo.ModVersion
    • getVersionRange

      public org.apache.maven.artifact.versioning.VersionRange getVersionRange()
      Specified by:
      getVersionRange in interface net.minecraftforge.forgespi.language.IModInfo.ModVersion
    • isMandatory

      public boolean isMandatory()
      Specified by:
      isMandatory in interface net.minecraftforge.forgespi.language.IModInfo.ModVersion
    • getOrdering

      public net.minecraftforge.forgespi.language.IModInfo.Ordering getOrdering()
      Specified by:
      getOrdering in interface net.minecraftforge.forgespi.language.IModInfo.ModVersion
    • getSide

      public net.minecraftforge.forgespi.language.IModInfo.DependencySide getSide()
      Specified by:
      getSide in interface net.minecraftforge.forgespi.language.IModInfo.ModVersion
    • setOwner

      public void setOwner(net.minecraftforge.forgespi.language.IModInfo owner)
      Specified by:
      setOwner in interface net.minecraftforge.forgespi.language.IModInfo.ModVersion
    • getOwner

      public net.minecraftforge.forgespi.language.IModInfo getOwner()
      Specified by:
      getOwner in interface net.minecraftforge.forgespi.language.IModInfo.ModVersion
    • getReferralURL

      public Optional<URL> getReferralURL()
      Specified by:
      getReferralURL in interface net.minecraftforge.forgespi.language.IModInfo.ModVersion