mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 15:03:07 +00:00
Finished off new recipe Alloy Smelter Recipes.
This commit is contained in:
1 parent
13eda39c6b
commit
168febdd41
7 files changed
+92
-46
No files matched your search
@@ -41,9 +41,9 @@ public class AlloyRecipeManager {
|
||||
}
|
||||
|
||||
public void loadRecipesFromConfig() {
|
||||
|
||||
VanillaFurnaceTagHandler tagHandler = new VanillaFurnaceTagHandler();
|
||||
RecipeConfig config = RecipeConfig.loadRecipeConfig(CORE_FILE_NAME, CUSTOM_FILE_NAME, tagHandler);
|
||||
|
||||
RecipeConfig config = RecipeConfig.loadRecipeConfig(CORE_FILE_NAME, CUSTOM_FILE_NAME, tagHandler);
|
||||
if(config != null) {
|
||||
processConfig(config, tagHandler);
|
||||
} else {
|
||||
@@ -86,12 +86,12 @@ public class AlloyRecipeManager {
|
||||
}
|
||||
|
||||
List<Recipe> newRecipes = config.getRecipes(false);
|
||||
Log.info("Added " + newRecipes.size() + " Alloy Smelter recipes from config.");
|
||||
Log.info("Found " + newRecipes.size() + " valid Alloy Smelter recipes in config.");
|
||||
for (Recipe rec : newRecipes) {
|
||||
addRecipe(new BasicAlloyRecipe(rec));
|
||||
}
|
||||
|
||||
tagHandler.apply();
|
||||
tagHandler.apply();
|
||||
Log.info("Finished processing Alloy Smelter recipes. " + recipes.size() + " recipes avaliable.");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -84,11 +84,11 @@ public class CrusherRecipeManager {
|
||||
}
|
||||
|
||||
List<Recipe> newRecipes = config.getRecipes(true);
|
||||
Log.info("Added " + newRecipes.size() + " SAG Mill recipes from config.");
|
||||
Log.info("Found " + newRecipes.size() + " valid SAG Mill recipes in config.");
|
||||
for (Recipe rec : newRecipes) {
|
||||
addRecipe(rec);
|
||||
}
|
||||
|
||||
}
|
||||
Log.info("Finished processing Alloy Smelter recipes. " + recipes.size() + " recipes avaliable.");
|
||||
}
|
||||
|
||||
public void addRecipe(ItemStack input, float energyCost, ItemStack output) {
|
||||
|
||||
@@ -333,7 +333,7 @@ public class RecipeConfigParser extends DefaultHandler {
|
||||
if(stack.getItemDamage() == OreDictionary.WILDCARD_VALUE) {
|
||||
useMeta = false;
|
||||
}
|
||||
return new OreDictionaryRecipeInput(ores.get(0), OreDictionary.getOreID(oreDict));
|
||||
return new OreDictionaryRecipeInput(stack, OreDictionary.getOreID(oreDict));
|
||||
}
|
||||
|
||||
int itemID = getIntValue(AT_ITEM_ID, attributes, -1);
|
||||
|
||||
@@ -34,11 +34,7 @@ sand/cobble/wood=0.1
|
||||
<recipe name="Electrical Steel" energyCost="1000">
|
||||
<input>
|
||||
<itemStack itemID="265" /> <!-- Iron -->
|
||||
</input>
|
||||
<input>
|
||||
<itemStack itemID="263" /> <!-- Coal -->
|
||||
</input>
|
||||
<input>
|
||||
<itemStack modID="EnderIO" itemName="enderIO:itemMaterial" itemMeta="0" /> <!-- Silicon -->
|
||||
</input>
|
||||
<output>
|
||||
@@ -49,11 +45,7 @@ sand/cobble/wood=0.1
|
||||
<recipe name="Energetic Alloy" energyCost="1000">
|
||||
<input>
|
||||
<itemStack itemID="331" /> <!-- Red stone -->
|
||||
</input>
|
||||
<input>
|
||||
<itemStack itemID="266" /> <!-- Gold -->
|
||||
</input>
|
||||
<input>
|
||||
<itemStack itemID="348" /> <!-- Glow stone -->
|
||||
</input>
|
||||
<output>
|
||||
@@ -64,8 +56,6 @@ sand/cobble/wood=0.1
|
||||
<recipe name="Vibrant Alloy" energyCost="1000">
|
||||
<input>
|
||||
<itemStack modID="EnderIO" itemName="enderIO:itemAlloy" itemMeta="1"/> <!-- Energetic Alloy -->
|
||||
</input>
|
||||
<input>
|
||||
<itemStack itemID="368" /> <!-- Ender Pearl -->
|
||||
</input>
|
||||
<output>
|
||||
@@ -76,8 +66,6 @@ sand/cobble/wood=0.1
|
||||
<recipe name="Redstone Alloy" energyCost="1000">
|
||||
<input>
|
||||
<itemStack itemID="331" /> <!-- Redstone -->
|
||||
</input>
|
||||
<input>
|
||||
<itemStack modID="EnderIO" itemName="enderIO:itemMaterial" itemMeta="0" /> <!-- Silicon -->
|
||||
</input>
|
||||
<output>
|
||||
@@ -88,8 +76,6 @@ sand/cobble/wood=0.1
|
||||
<recipe name="Conductive Iron" energyCost="1000">
|
||||
<input>
|
||||
<itemStack itemID="331" number="2"/> <!-- Redstone -->
|
||||
</input>
|
||||
<input>
|
||||
<itemStack itemID="265" /> <!-- Iron Ingot -->
|
||||
</input>
|
||||
<output>
|
||||
@@ -100,8 +86,6 @@ sand/cobble/wood=0.1
|
||||
<recipe name="Pulsating Iron" energyCost="1000">
|
||||
<input>
|
||||
<itemStack itemID="265" /> <!-- Iron Ingot -->
|
||||
</input>
|
||||
<input>
|
||||
<itemStack itemID="368" /> <!-- Ender Pearl -->
|
||||
</input>
|
||||
<output>
|
||||
@@ -117,6 +101,42 @@ sand/cobble/wood=0.1
|
||||
<itemStack modID="EnderIO" itemName="enderIO:blockFusedQuartz" itemMeta="0" exp="0.5"/>
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
|
||||
</recipeGroup>
|
||||
|
||||
|
||||
<recipeGroup name="Thermal Expansion">
|
||||
|
||||
<recipe name="Electrum Ingot" energyCost="500">
|
||||
<input>
|
||||
<itemStack oreDictionary="ingotGold"/>
|
||||
<itemStack oreDictionary="ingotSilver"/>
|
||||
</input>
|
||||
<output>
|
||||
<itemStack oreDictionary="ingotElectrum" number="2" exp="0.25"/>
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
<recipe name="Invar Ingot" energyCost="750">
|
||||
<input>
|
||||
<itemStack oreDictionary="ingotNickel" />
|
||||
<itemStack oreDictionary="ingotIron" number="2"/>
|
||||
</input>
|
||||
<output>
|
||||
<itemStack oreDictionary="ingotInvar" number="3" exp="0.25"/>
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
<recipe name="Hardened Glass" energyCost="400">
|
||||
<input>
|
||||
<itemStack oreDictionary="dustObsidian" number="8"/>
|
||||
<itemStack oreDictionary="ingotLead" />
|
||||
</input>
|
||||
<output>
|
||||
<itemStack modID="ThermalExpansion" itemName="Glass" number="2"/>
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
</recipeGroup>
|
||||
|
||||
|
||||
@@ -20,9 +20,12 @@ ore dictionary.
|
||||
</exclude>
|
||||
|
||||
</vanillaFurnaceRecipes>
|
||||
|
||||
Add this line to disbale the creation of TE alloys using the Alloy Smelter.
|
||||
<recipeGroup name="Thermal Expansion" enabled="false"/>
|
||||
-->
|
||||
|
||||
<AlloySmelterRecipes>
|
||||
|
||||
|
||||
</AlloySmelterRecipes>
|
||||
|
||||
@@ -575,6 +575,22 @@
|
||||
</recipe>
|
||||
|
||||
</recipeGroup>
|
||||
|
||||
<recipeGroup name="Thermal Expansion">
|
||||
|
||||
<recipe name="Obsidian" energyCost="400">
|
||||
<input>
|
||||
<itemStack itemID="49" />
|
||||
</input>
|
||||
<output>
|
||||
<itemStack oreDictionary="dustObsidian" number="4"/>
|
||||
</output>
|
||||
<output>
|
||||
<itemStack oreDictionary="dustObsidian" number="1" chance="0.025" />
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
</recipeGroup>
|
||||
|
||||
<recipeGroup name="Forestry">
|
||||
|
||||
@@ -692,23 +708,17 @@
|
||||
</recipe>
|
||||
</recipeGroup>
|
||||
|
||||
<recipeGroup name="Railcraft">
|
||||
<recipeGroup name="Railcraft">
|
||||
|
||||
<recipe name="Obsidian" energyCost="480">
|
||||
<recipe name="Charcoal" energyCost="240">
|
||||
<input>
|
||||
<itemStack itemID="49" />
|
||||
<itemStack itemID="263" itemMeta="1" />
|
||||
</input>
|
||||
<output>
|
||||
<itemStack modID="Railcraft" itemName="tile.railcraft.cube" itemMeta="4" number="1" />
|
||||
</output>
|
||||
<output>
|
||||
<itemStack oreDictionary="dustObsidian" number="1" chance="0.15" />
|
||||
</output>
|
||||
<output>
|
||||
<itemStack oreDictionary="dustObsidian" number="1" chance="0.025" />
|
||||
<itemStack oreDictionary="dustCharcoal" number="1" />
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
|
||||
<recipe name="CrushedObsidian" energyCost="240">
|
||||
<input>
|
||||
<itemStack modID="Railcraft" itemName="tile.railcraft.cube" itemMeta="4" />
|
||||
@@ -720,15 +730,7 @@
|
||||
<itemStack oreDictionary="dustObsidian" number="1" chance="0.01" />
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
<recipe name="Charcoal" energyCost="240">
|
||||
<input>
|
||||
<itemStack itemID="263" itemMeta="1" />
|
||||
</input>
|
||||
<output>
|
||||
<itemStack oreDictionary="dustCharcoal" number="1" />
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
</recipeGroup>
|
||||
|
||||
<recipeGroup name="Biomes O' Plenty">
|
||||
|
||||
@@ -26,6 +26,27 @@ found in the core file.
|
||||
<recipeGroup name="Vanilla" enabled="false"/>
|
||||
-->
|
||||
|
||||
<!-- Uncomment this block to change the default TE obsidian -> dust recipe to the railcraft recipe.
|
||||
<recipeGroup name="Thermal Expansion">
|
||||
|
||||
<recipe name="Obsidian" energyCost="400">
|
||||
<input>
|
||||
<itemStack itemID="49" />
|
||||
</input>
|
||||
<output>
|
||||
<itemStack modID="Railcraft" itemName="tile.railcraft.cube" itemMeta="4" number="1" />
|
||||
</output>
|
||||
<output>
|
||||
<itemStack oreDictionary="dustObsidian" number="1" chance="0.15" />
|
||||
</output>
|
||||
<output>
|
||||
<itemStack oreDictionary="dustObsidian" number="1" chance="0.025" />
|
||||
</output>
|
||||
</recipe>
|
||||
|
||||
</recipeGroup>
|
||||
-->
|
||||
|
||||
<!-- Disables the glass recipes in the group 'Vanilla'
|
||||
<recipeGroup name="Vanilla">
|
||||
<recipe name="Glass"/>
|
||||
|
||||
Reference in new issue
Block a user