setGameDir method

void setGameDir(
  1. String path
)

Sets the custom Minecraft game directory

Implementation

void setGameDir(String path) {
  setSystemProperty('hmc.gamedir', path);
}