Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Messiah_Of_Doom

Members
  • Joined

  • Last visited

  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);

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.