Create proper recipe registry names

This commit is contained in:
mezz committed 2017-07-03 00:06:31 -07:00
1 parent a19380347a
commit b066f7ad4c
16 files changed
+165 -167

No files matched your search

@@ -43,7 +43,7 @@ public class PluginBuildCraftTransport extends BlankForestryPlugin {
Item beeswax = PluginCore.getItems().beeswax;
Item pipeWaterproof = ForgeRegistries.ITEMS.getValue(new ResourceLocation(BCT, "waterproof"));
if (pipeWaterproof != null) {
RecipeUtil.addShapelessRecipe(new ItemStack(pipeWaterproof), beeswax);
RecipeUtil.addShapelessRecipe("pipe_waterproof", new ItemStack(pipeWaterproof), beeswax);
} else {
Log.warning("No BuildCraft pipe waterproof found.");
}
@@ -279,7 +279,7 @@ public class PluginHarvestCraft extends BlankForestryPlugin {
ItemStack grainSeed = getItemStack(grainName + "seedItem");
Block grainBlock = getBlock("pam" + grainName + "Crop");
if (grain != null && wheatamount > 0) {
RecipeUtil.addRecipe(coreItems.fertilizerBio.getItemStack(wheatamount), " X ", "X#X", " X ", '#', Blocks.DIRT, 'X', grain);
RecipeUtil.addRecipe("pam_compost_" + grainName, coreItems.compost.getItemStack(wheatamount), " X ", "X#X", " X ", '#', Blocks.DIRT, 'X', grain);
FuelManager.moistenerResource.put(grain, new MoistenerFuel(grain, coreItems.mouldyWheat.getItemStack(), 0, 300));
}
if (grainSeed != null) {
@@ -387,7 +387,7 @@ public class PluginHarvestCraft extends BlankForestryPlugin {
ItemStack hcBeeswaxItem = getItemStack("beeswaxItem");
if (hcBeeswaxItem != null) {
RecipeUtil.addRecipe(PluginFluids.getItems().waxCapsuleEmpty.getItemStack(ForestryAPI.activeMode.getIntegerSetting("recipe.output.capsule")), "XXX ", 'X', hcBeeswaxItem);
RecipeUtil.addRecipe("pam_wax_capsule", PluginFluids.getItems().waxCapsuleEmpty.getItemStack(ForestryAPI.activeMode.getIntegerSetting("recipe.output.capsule")), "XXX ", 'X', hcBeeswaxItem);
}
}
@@ -270,7 +270,7 @@ public class PluginIC2 extends BlankForestryPlugin {
int bogEarthOutputCan = ForestryAPI.activeMode.getIntegerSetting("recipe.output.bogearth.can");
if (bogEarthOutputCan > 0) {
ItemStack bogEarthCan = PluginCore.getBlocks().bogEarth.get(BlockBogEarth.SoilType.BOG_EARTH, bogEarthOutputCan);
RecipeUtil.addRecipe(bogEarthCan, "#Y#", "YXY", "#Y#", '#', Blocks.DIRT, 'X', waterCell, 'Y', "sand");
RecipeUtil.addRecipe("ic2_bog_earth_can", bogEarthCan, "#Y#", "YXY", "#Y#", '#', Blocks.DIRT, 'X', waterCell, 'Y', "sand");
}
}
@@ -294,7 +294,7 @@ public class PluginIC2 extends BlankForestryPlugin {
BlockRegistryEnergy energyBlocks = PluginEnergy.blocks;
if (energyBlocks != null) {
RecipeUtil.addRecipe(blocks.generator,
RecipeUtil.addRecipe("ic2_generator", blocks.generator,
"X#X",
"XYX",
"X#X",
@@ -302,7 +302,7 @@ public class PluginIC2 extends BlankForestryPlugin {
'X', "ingotGold",
'Y', coreItems.sturdyCasing);
RecipeUtil.addRecipe(blocks.electricalEngine,
RecipeUtil.addRecipe("ic2_eletrical_engine", blocks.electricalEngine,
"###",
" X ",
"YVY",
@@ -277,8 +277,8 @@ public class PluginNatura extends BlankForestryPlugin {
RecipeUtil.addFermenterRecipes(itemBarley, ForestryAPI.activeMode.getIntegerSetting("fermenter.yield.wheat"), Fluids.BIOMASS);
int compostWheatAmount = ForestryAPI.activeMode.getIntegerSetting("recipe.output.compost.wheat");
if (compostWheatAmount > 0) {
ItemStack compostWheat = PluginCore.getItems().fertilizerBio.getItemStack(compostWheatAmount);
RecipeUtil.addRecipe(compostWheat, " X ", "X#X", " X ", '#', Blocks.DIRT, 'X', itemBarley);
ItemStack compostWheat = PluginCore.getItems().compost.getItemStack(compostWheatAmount);
RecipeUtil.addRecipe("natura_compost_wheat", compostWheat, " X ", "X#X", " X ", '#', Blocks.DIRT, 'X', itemBarley);
}
FuelManager.moistenerResource.put(itemBarley, new MoistenerFuel(itemBarley, PluginCore.getItems().mouldyWheat.getItemStack(), 0, 300));
}