File origDir = LSDModDirectory.DIRECTORY;
Field field;
try {
field = LSDModDirectory.class.getDeclaredField(MODDIRECTORY_FIELD_NAME);
} catch (Exception e) {
throw new LSDInternalReflectionException("unable to get field named " + MODDIRECTORY_FIELD_NAME, e);
}
LSDUtil.setFinalField(field, null, testMinecraftDirectory);
println("monkey patched directory field from:\n " + origDir + "\nto:\n " + testMinecraftDirectory);