diff --git a/src/main/java/forestry/plugins/PluginHarvestCraft.java b/src/main/java/forestry/plugins/PluginHarvestCraft.java index 393ae640f..ca68a043d 100644 --- a/src/main/java/forestry/plugins/PluginHarvestCraft.java +++ b/src/main/java/forestry/plugins/PluginHarvestCraft.java @@ -109,8 +109,8 @@ public class PluginHarvestCraft extends ForestryPlugin { ImmutableList spices = ImmutableList.of( "ginger", - "spiceleaf", - "mustardseed" + "spiceleaf" + //"mustardseed" Mustard is inconsistent and annoying. ); ImmutableList vegetables = ImmutableList.of( @@ -301,6 +301,19 @@ public class PluginHarvestCraft extends ForestryPlugin { } plants.add(cropName); } + ItemStack mustardCropSeed = GameRegistry.findItemStack(HC,"mustard" + "seedItem",1); + Block mustardCropBlock = GameRegistry.findBlock(HC,"pam"+"mustardseeds" + "Crop"); + ItemStack mustardFruit = GameRegistry.findItemStack(HC,"mustard" + "seedsItem",1); + if (mustardCropSeed != null) { + RecipeManagers.squeezerManager.addRecipe(10, new ItemStack[]{mustardCropSeed}, Fluids.SEEDOIL.getFluid(seedamount)); + } + if (mustardCropSeed != null && mustardCropBlock != null) { + Farmables.farmables.get("farmWheat").add(new FarmableGenericCrop(mustardCropSeed, mustardCropBlock, 7)); + Farmables.farmables.get("farmOrchard").add(new FarmableBasicFruit(mustardCropBlock, 7)); + } + if (mustardFruit != null) { + RecipeUtil.addFermenterRecipes(mustardFruit, GameMode.getGameMode().getIntegerSetting("fermenter.yield.wheat"), Fluids.BIOMASS); + } for (String plantName : plants.build()) { ItemStack plant = GameRegistry.findItemStack(HC, plantName + "Item", 1);