Skip to content

Commit

Permalink
Fix Mariculture support
Browse files Browse the repository at this point in the history
  • Loading branch information
ganymedes01 committed Jan 30, 2016
1 parent efa8abe commit e3c96c2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {

apply plugin: 'forge'

version = "2.9.0"
version = "2.9.1"
group = "ganymedes01.aobd"
archivesBaseName = "AOBD"

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ganymedes01/aobd/lib/Reference.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class Reference {
public static final String MOD_ID = "aobd";
public static final String MOD_NAME = "Another One Bites The Dust";
public static final String DEPENDENCIES = "required-after:Forge@[10.13.4.1558,);after:*";
public static final String VERSION_NUMBER = "2.9.0";
public static final String VERSION_NUMBER = "2.9.1";

public static final String GUI_FACTORY_CLASS = "ganymedes01.aobd.configuration.ConfigGuiFactory";
}
10 changes: 10 additions & 0 deletions src/main/java/ganymedes01/aobd/recipes/modules/Mariculture.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ public Mariculture() {

@Override
public void initOre(Ore ore) {
}

@Override
protected void postInit() {
for (Ore ore : Ore.ores)
if (isOreEnabled(ore))
addRecipesFor(ore);
}

private void addRecipesFor(Ore ore) {
Fluid fluid = getFluid(ore);

MaricultureHandlers.crucible.addRecipe(new RecipeSmelter(getOreStack("ingot", ore), 500 + (int) ore.energy(600), new FluidStack(fluid, MetalRates.INGOT), null, 0));
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"modid": "aobd",
"name": "Another One Bites The Dust",
"description": "AOBD dynamically finds all the ores and ingots added by any mod and makes them processable in IC2, EnderIO, RailCraft, Mekanism, Thermal Expansion, Thaumcraft, UltraTech, Factorization, RandomAdditions, Gany's Nether, Modular Systems, Hydraulicraft, Tinker's Construct, SimpleOreGrinder, RotaryCraft, Electrical Age, Aura Cascade, Flaxbeard's Steampower Mod, Engineer's Toolbox, and Immersive Engineering machines!",
"version": "2.9.0",
"version": "2.9.1",
"mcversion":"1.7.10",
"url": "",
"updateUrl": "",
Expand Down

0 comments on commit e3c96c2

Please sign in to comment.