Add some information, and a log message letting you know it worked
This commit is contained in:
parent
f41210d982
commit
a408fec0b8
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue