Package io.github.shayf0x.spigotwarden
Enum Class PathBank
- All Implemented Interfaces:
Serializable
,Comparable<PathBank>
,Constable
It's Enum class which contain all paths for SpecialSource and his obfuscate, deObfuscate commands.
Enum variables:
-
-
-
-
Enum variables:
-
REMAPPED_MOJANG
-
MAPS_MOJANG
-
REMAPPED_OBF
-
MAPS_SPIGOT
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionpath to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-maps-mojang.txtpath to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-maps-spigot.csrgpath to file: spigot-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-remapped-mojang.jarpath to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-remapped-obf.jar -
Method Summary
-
Enum Constant Details
-
REMAPPED_MOJANG
path to file: spigot-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-remapped-mojang.jar -
MAPS_MOJANG
path to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-maps-mojang.txt -
REMAPPED_OBF
path to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-remapped-obf.jar -
MAPS_SPIGOT
path to file: minecraft-server-(spigot version e.g: "1.19-R0.1-SNAPSHOT")-maps-spigot.csrg
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toPath
method to return path of variable- Parameters:
version
- String (e.g: "1.19-R0.1-SNAPSHOT")- Returns:
Path
-