Add some information, and a log message letting you know it worked

This commit is contained in:
Christian 2013-03-23 16:01:20 -04:00
parent f41210d982
commit a408fec0b8
2 changed files with 4 additions and 0 deletions

View file

@ -354,6 +354,7 @@ public class GameData {
try
{
Files.write(mapJoiner.join(builder.build().entries()), f, Charsets.UTF_8);
FMLLog.log(Level.INFO, "Dumped item registry data to %s", f.getAbsolutePath());
}
catch (IOException e)
{

View file

@ -411,6 +411,9 @@ public class GameRegistry
*
* If it is built from a block, the metadata is by default the "wildcard" value.
*
* Custom itemstacks can be dumped from minecraft by setting the system property fml.dumpRegistry to true
* (-Dfml.dumpRegistry=true on the command line will work)
*
* @param modId The modid of the stack owner
* @param name The name of the stack
* @param stackSize The size of the stack returned