public class MinecraftUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
blocksToWalkingTime(int blocks) |
static java.io.File |
findMinecraftDir() |
static java.io.File |
findMinecraftJar(MinecraftJarProvider minecraftJarProvider)
Utility method for getting a Minecraft jar of the most recent supported version.
|
static @NotNull java.io.File |
getRegionDir(java.io.File worldDir,
int dimension) |
public static java.io.File findMinecraftDir()
public static java.io.File findMinecraftJar(MinecraftJarProvider minecraftJarProvider)
@NotNull public static @NotNull java.io.File getRegionDir(java.io.File worldDir, int dimension)
public static java.lang.String blocksToWalkingTime(int blocks)