Class Mod

  • All Implemented Interfaces:
    java.lang.Comparable<Mod>

    public final class Mod
    extends java.lang.Object
    implements java.lang.Comparable<Mod>
    Highlighting modification.

    Note that (for link highlights) this translates to a CSS class name that is applied to the link in the Topology UI.

    • Constructor Summary

      Constructors 
      Constructor Description
      Mod​(java.lang.String modId)
      Constructs a mod with the given identifier.
    • Constructor Detail

      • Mod

        public Mod​(java.lang.String modId)
        Constructs a mod with the given identifier.
        Parameters:
        modId - modification identifier
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(Mod o)
        Specified by:
        compareTo in interface java.lang.Comparable<Mod>