Package net.minecraftforge.fml.loading
Enum Class FMLPaths
- All Implemented Interfaces:
Serializable
,Comparable<FMLPaths>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Path
computePath
(String... path) get()
static Path
static void
loadAbsolutePaths
(Path rootPath) relative()
static void
setup
(cpw.mods.modlauncher.api.IEnvironment env) static FMLPaths
Returns the enum constant of this class with the specified name.static FMLPaths[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GAMEDIR
-
MODSDIR
-
CONFIGDIR
-
FMLCONFIG
-
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
relativePath
-
isDirectory
private final boolean isDirectory -
absolutePath
-
-
Constructor Details
-
FMLPaths
private FMLPaths() -
FMLPaths
-
FMLPaths
-
-
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
-
computePath
-
setup
public static void setup(cpw.mods.modlauncher.api.IEnvironment env) -
loadAbsolutePaths
-
getOrCreateGameRelativePath
-
relative
-
get
-