Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Advertisement

Required Altar power[]

As far as version 0.24.1 is concerned, attempting to brew a Drop of Luck at that amount of power will not work (only the first three ingredients can be added); unless this is taking base power into account? --SirMoogle (talk) 04:34, 22 March 2017 (UTC)

The line of code that registers the recipe is (formatting added)
register(
  new BrewActionRitualRecipe(
    Witchery.Items.GENERIC.itemMutandisExtremis.getBrewItemKey(), 
    new AltarPower(1800), 
    new BrewActionRitualRecipe.Recipe[] { 
      new BrewActionRitualRecipe.Recipe(
        new ItemStack(Blocks.end_stone, 2), 
        new ItemStack[] {
          Witchery.Items.GENERIC.itemMandrakeRoot.createStack(), 
          new ItemStack(Blocks.stone), 
          new ItemStack(Blocks.end_stone) 
        }
      ), 
      new BrewActionRitualRecipe.Recipe(
        new ItemStack(Witchery.Items.MUTATING_SPRIG), 
        new ItemStack[] {
          new ItemStack(Items.nether_wart), 
          Witchery.Items.GENERIC.itemBranchEnt.createStack() 
        }
      ), 
      new BrewActionRitualRecipe.Recipe(
        Witchery.Items.GENERIC.itemDropOfLuck.createStack(),
        new ItemStack[] { 
          Witchery.Items.GENERIC.itemMandrakeRoot.createStack(), 
          new ItemStack(Items.nether_wart), 
          Witchery.Items.GENERIC.itemTearOfTheGoddess.createStack(), 
          Witchery.Items.GENERIC.itemRefinedEvil.createStack() 
        }
      )
    }
  )
);
So the way it works is every brew action with the key for Mutandis Extremis costs 1,800. I'm not really sure how it' costing you more because the code for determining the power cost is pretty simple (it's overly complicated in my opinion, but it is pretty simple). What are you putting in first? -- SatanicSantaFTB Wiki Admin 05:15, 22 March 2017 (UTC)
The order that the ingredients are presented in NEI:
  1. Mandrake Root
  2. Nether Wart
  3. Tear of the Goddess
  4. Refined Evil
  5. Mutandis Extremis
At that time my altar power was over 5000 and the brew stalled--SirMoogle (talk) 05:31, 22 March 2017 (UTC)
Huh. I'll look into it this week. The code is overly complicated and hard to understand (I can think of about 10 different better ways to do this...) so I may be understanding it incorrectly. -- SatanicSanta🎅FTB Wiki Admin 08:30, 22 March 2017 (UTC)
Advertisement