mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 15:56:07 +00:00
Merge branch 'master' of https://github.com/SleepyTrousers/EnderIO.git
This commit is contained in:
commit
79867dcfb4
2 files changed
+10
-5
No files matched your search
@@ -123,13 +123,17 @@
|
||||
|
||||
Item Information and data dumps:
|
||||
|
||||
To write all registered items to config/modObjectsRegistery.txt include:
|
||||
To write all registered items to config/enderio/modObjectsRegistery.txt include:
|
||||
|
||||
<dumpRegistry modObjects="true" />
|
||||
|
||||
To write the contents of the ore dictionary to config/oreDictionaryRegistery.txt include:
|
||||
To write the contents of the ore dictionary to config/enderio/oreDictionaryRegistery.txt include:
|
||||
|
||||
<dumpRegistery oreDictionary="true" />
|
||||
<dumpRegistry oreDictionary="true" />
|
||||
|
||||
To dump both, write:
|
||||
|
||||
<dumpRegistry modObjects="true" oreDictionary="true" />
|
||||
|
||||
To show ore dictionary and/or registered names, in the EnderIO config set:
|
||||
|
||||
|
||||
@@ -43,7 +43,8 @@ public class RecipeConfigParser extends DefaultHandler {
|
||||
public static final String ELEMENT_OUTPUT = "output";
|
||||
public static final String ELEMENT_ITEM_STACK = "itemStack";
|
||||
public static final String ELEMENT_FLUID_STACK = "fluidStack";
|
||||
public static final String ELEMENT_DUMP_REGISTERY = "dumpRegistery";
|
||||
public static final String ELEMENT_DUMP_REGISTERY = "dumpRegistery"; // compat
|
||||
public static final String ELEMENT_DUMP_REGISTRY = "dumpRegistry";
|
||||
|
||||
public static final String AT_NAME = "name";
|
||||
public static final String AT_ENABLED = "enabled";
|
||||
@@ -219,7 +220,7 @@ public class RecipeConfigParser extends DefaultHandler {
|
||||
root = new RecipeConfig();
|
||||
}
|
||||
|
||||
if(ELEMENT_DUMP_REGISTERY.equals(localName)) {
|
||||
if (ELEMENT_DUMP_REGISTERY.equals(localName) || ELEMENT_DUMP_REGISTRY.equals(localName)) {
|
||||
root.setDumpOreDictionary(getBooleanValue(AT_ORE_DICT, attributes, false));
|
||||
root.setDumpItemRegistery(getBooleanValue(AT_DUMP_ITEMS, attributes, false));
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user