Class ModInfo.ModVersion

  • All Implemented Interfaces:
    net.minecraftforge.forgespi.language.IModInfo.ModVersion
    Enclosing class:
    ModInfo

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

      Fields 
      Modifier and Type Field Description
      private boolean mandatory  
      private java.lang.String modId  
      private net.minecraftforge.forgespi.language.IModInfo.Ordering ordering  
      private net.minecraftforge.forgespi.language.IModInfo owner  
      private net.minecraftforge.forgespi.language.IModInfo.DependencySide side  
      private org.apache.maven.artifact.versioning.VersionRange versionRange  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getModId()  
      net.minecraftforge.forgespi.language.IModInfo.Ordering getOrdering()  
      net.minecraftforge.forgespi.language.IModInfo getOwner()  
      net.minecraftforge.forgespi.language.IModInfo.DependencySide getSide()  
      org.apache.maven.artifact.versioning.VersionRange getVersionRange()  
      boolean isMandatory()  
      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 Detail

      • owner

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

        private final java.lang.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
    • Constructor Detail

      • ModVersion

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

      • getModId

        public java.lang.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