Closes #1899, Fixed #1898: Adds an easy way to export interesting information into CSV format

Mostly used for the recipe system, but can also be used for debugging purposes. Debug options needs to be ticked to use the full information gain. Recipes only require the normal localization and the specific name plus metadata.

Shifted the recipes into a recipes folder where the CSV will also reside. This will also elevate the copying of the readme to the user directory since it can reside in the recipes folder.

Fixed a bug where the copier would copy the would also copy empty folders
This commit is contained in:
thatsIch
2015-08-20 19:15:52 +02:00
parent b560382e80
commit 37ae2131fe
38 changed files with 1454 additions and 195 deletions
@@ -65,7 +65,7 @@ public final class VersionCheckerConfig
this.shouldPostChangelog = this.config.getBoolean( "changelog", "client", true, "If true, the player is getting a notification including changelog. Only happens if notification are enabled." );
}
public boolean isEnabled()
public boolean isVersionCheckingEnabled()
{
return this.isEnabled;
}
@@ -76,8 +76,7 @@ public final class VersionCheckerConfig
}
/**
* Stores the current date in milli seconds into the "lastCheck" field of the config
* and makes it persistent.
* Stores the current date in milli seconds into the "lastCheck" field of the config and makes it persistent.
*/
public void updateLastCheck()
{
@@ -109,4 +108,12 @@ public final class VersionCheckerConfig
{
return this.shouldPostChangelog;
}
public void save()
{
if( this.config.hasChanged() )
{
this.config.save();
}
}
}