Jump to content

Messiah_Of_Doom

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Messiah_Of_Doom

  1. Yeah, sorry about that, I realize i shouldn't try to answer coding questions when I haven't slept in over 48 hours ^^. Anyways, you need to do what Cadiboo said, instead of my originally proposed BrewingRecipeRegistry.addRecipe(MyCustomRecipe); you need to do BrewingRecipeRegistry.addRecipe(new MyCustomRecipe(stack1, stack2, stack3)); where stack1-3 are your desired Inputs / Outputs. Again, sorry for any confusion I may have caused
  2. What you need to do, is create a new Class, let's say you call it MyCustomRecipe. That class then needs to extend AbstractBrewingRecipe, and override the isIngredient (and in your case, the isInput) methods. Then, instead of doing this: BrewingRecipeRegistry.addRecipe(PotionUtils.addPotionToItemStack(new ItemStack(Items.POTIONITEM), PotionTypes.AWKWARD), new ItemStack(ModItems.ESSENCE_OF_UNDEATH), new ItemStack(ModItems.INK_OF_INNERVATION)); you do the following: BrewingRecipeRegistry.addRecipe(MyCustomRecipe);
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.