Created
November 28, 2014 07:08
-
-
Save exzhawk/7d82533a7857c86345d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.exz.fr4tfc; | |
import cpw.mods.fml.common.Mod; | |
import cpw.mods.fml.common.event.FMLPostInitializationEvent; | |
import cpw.mods.fml.common.registry.GameRegistry; | |
import forestry.api.recipes.RecipeManagers; | |
import net.minecraft.item.ItemStack; | |
import net.minecraftforge.fluids.Fluid; | |
import net.minecraftforge.fluids.FluidStack; | |
@Mod(modid = "fr4tfc", name = "fr4tfc", version = "1.0", dependencies = "required-after:terrafirmacraft;required-after:Forestry") | |
public class fr4tfc { | |
@Mod.EventHandler | |
public void postInit(FMLPostInitializationEvent event) { | |
for (int i = 0; i < 16; i++) { | |
ItemStack s=GameRegistry.findItemStack("terrafirmacraft","sapling",64); | |
s.setItemDamage(i); | |
RecipeManagers.fermenterManager.addRecipe(s,200,1.5f,new FluidStack(new Fluid("biomass"),1)); | |
} | |
RecipeManagers.fermenterManager.addRecipe(GameRegistry.findItemStack("terrafirmacraft","sapling2",64),200,1.5f,new FluidStack(new Fluid("biomass"),1)); | |
for (int i = 0; i < 9; i++) { | |
ItemStack s=GameRegistry.findItemStack("terrafirmacraft","item.FruitSapling",64); | |
s.setItemDamage(i); | |
RecipeManagers.fermenterManager.addRecipe(s,200,1.5f,new FluidStack(new Fluid("biomass"),1)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment