Enum Class PathBank

java.lang.Object
java.lang.Enum<PathBank>
io.github.shayf0x.spigotwarden.PathBank
All Implemented Interfaces:
Serializable, Comparable<PathBank>, Constable

public enum PathBank extends Enum<PathBank>
It's Enum class which contain all paths for SpecialSource and his obfuscate, deObfuscate commands.
Enum variables:
-REMAPPED_MOJANG
-MAPS_MOJANG
-REMAPPED_OBF
-MAPS_SPIGOT
See Also:
  • Enum Constant Details

    • REMAPPED_MOJANG

      public static final PathBank REMAPPED_MOJANG
      path to file: spigot-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-remapped-mojang.jar
    • MAPS_MOJANG

      public static final PathBank MAPS_MOJANG
      path to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-maps-mojang.txt
    • REMAPPED_OBF

      public static final PathBank REMAPPED_OBF
      path to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-remapped-obf.jar
    • MAPS_SPIGOT

      public static final PathBank MAPS_SPIGOT
      path to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-maps-spigot.csrg
  • Method Details

    • values

      public static PathBank[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PathBank valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toPath

      public Path toPath(String version)
      method to return path of variable
      Parameters:
      version - String (e.g: "1.19-R0.1-SNAPSHOT")
      Returns:
      Path