mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-10-25 20:22:26 +00:00
Fix BOP Turnip Seeds extracted into 0mB of Seed Oil (#39)
* Fix BOP Turnip Seeds extracted into 0mB of Seed Oil * Use `GameRegistry#findItemStack`
This commit is contained in:
1 parent
5f622686f3
commit
10df035419
1 file changed
+8
-4
@@ -126,10 +126,6 @@ public class PluginBiomesOPlenty extends ForestryPlugin {
|
||||
Farmables.farmables
|
||||
.get(FarmableReference.Vegetables.get())
|
||||
.add(new FarmableGenericCrop(boPTurnipSeedStack, boPTurnip, 7));
|
||||
if (PluginManager.Module.FACTORY.isEnabled()) {
|
||||
RecipeManagers.squeezerManager.addRecipe(
|
||||
10, new ItemStack[] {boPTurnipSeedStack}, Fluids.SEEDOIL.getFluid(amount));
|
||||
}
|
||||
}
|
||||
|
||||
Farmables.farmables.get(FarmableReference.Orchard.get()).add(new FarmableBasicFruit(boPTurnip, 7));
|
||||
@@ -171,6 +167,14 @@ public class PluginBiomesOPlenty extends ForestryPlugin {
|
||||
RecipeManagers.squeezerManager.addRecipe(
|
||||
10, new ItemStack[] {persimmon}, Fluids.JUICE.getFluid(200), mulch, 20);
|
||||
}
|
||||
|
||||
ItemStack boPTurnipSeedStack = GameRegistry.findItemStack(BoP, "turnipSeeds", 1);
|
||||
if (boPTurnipSeedStack != null) {
|
||||
if (PluginManager.Module.FACTORY.isEnabled()) {
|
||||
RecipeManagers.squeezerManager.addRecipe(
|
||||
10, new ItemStack[] {boPTurnipSeedStack}, Fluids.SEEDOIL.getFluid(amount));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void addFlowers() {
|
||||
|
||||
Reference in new issue
Block a user