Enum Constant and Description |
---|
CONFIGDIR |
FMLCONFIG |
GAMEDIR |
MODSDIR |
Modifier and Type | Field and Description |
---|---|
private java.nio.file.Path |
absolutePath |
private boolean |
isDirectory |
private static org.apache.logging.log4j.Logger |
LOGGER |
private java.nio.file.Path |
relativePath |
Modifier and Type | Method and Description |
---|---|
private java.nio.file.Path |
computePath(java.lang.String... path) |
java.nio.file.Path |
get() |
static java.nio.file.Path |
getOrCreateGameRelativePath(java.nio.file.Path path,
java.lang.String name) |
static void |
loadAbsolutePaths(java.nio.file.Path rootPath) |
java.nio.file.Path |
relative() |
static void |
setup(cpw.mods.modlauncher.api.IEnvironment env) |
static FMLPaths |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FMLPaths[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FMLPaths GAMEDIR
public static final FMLPaths MODSDIR
public static final FMLPaths CONFIGDIR
public static final FMLPaths FMLCONFIG
private static final org.apache.logging.log4j.Logger LOGGER
private final java.nio.file.Path relativePath
private final boolean isDirectory
private java.nio.file.Path absolutePath
public static FMLPaths[] values()
for (FMLPaths c : FMLPaths.values()) System.out.println(c);
public static FMLPaths valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprivate java.nio.file.Path computePath(java.lang.String... path)
public static void setup(cpw.mods.modlauncher.api.IEnvironment env)
public static void loadAbsolutePaths(java.nio.file.Path rootPath)
public static java.nio.file.Path getOrCreateGameRelativePath(java.nio.file.Path path, java.lang.String name)
public java.nio.file.Path relative()
public java.nio.file.Path get()