Thaumonomicon To JEI

A JEI button on Thaumonomicon recipe pages — one click opens JEI on the output of the recipe you're viewing.
item image

Description

Thaumonomicon To JEI

A Forge mod for Minecraft 1.12.2 that adds a JEI button on the recipe pages of the Thaumonomicon (Thaumcraft 6): one click and JEI opens showing the currently displayed recipe's output.

Downloads

GitHub Release

Features

  • A small JEI button appears at the bottom-right of any recipe page in the Thaumonomicon
  • Clicking it opens JEI on the output of the recipe being viewed
  • Works for all recipe types displayed by the Thaumonomicon:
    • Arcane workbench (thaumaturgy) recipes
    • Crucible recipes
    • Infusion recipes (when the output is a concrete item)
    • Vanilla crafting recipes
  • Hovering the button shows the recipe output's name
  • Client-side only

Requirements

  • Forge 14.23.5.2860 (Minecraft 1.12.2)
  • JEI 4.16.x
  • Thaumcraft 6.1.BETA26 (and its dependency Baubles)

How It Works

  • Unlike the FML KeyInputEvent (which never fires while a GuiScreen is open), this mod hooks Forge's GuiScreenEvent.DrawScreenEvent.Post to draw the button and GuiScreenEvent.MouseInputEvent.Pre to detect the click while the Thaumonomicon is open.
  • The currently shown recipe is read from GuiResearchPage.shownRecipe (via a small, contained reflection call), then resolved through the same chain Thaumcraft uses internally: CommonInternals.getCatalogRecipegetCatalogRecipeFakeCraftingManager.getRecipeConfigRecipes.recipeGroups.
  • Resolving the output follows Thaumcraft's own addRecipesToList logic (BluePrint, CrucibleRecipe, InfusionRecipe, IRecipe).
  • JEI is opened through the mod's own @JEIPlugin (onRuntimeAvailable caches the IJeiRuntime), using createFocus(IFocus.Mode.OUTPUT, stack) + getRecipesGui().show(focus).

Known Limitations

  • Infusion recipes whose output is not a concrete item (e.g. enchantment-based recipes) show no button — they cannot be represented as a single JEI ingredient.
  • Multiblock plans (BluePrint) with no display block show no button.
  • When a research key groups several sub-recipes, the first resolvable output is used.

Building from Source

./gradlew build

The compiled jar is produced in build/libs/ as thaumonomicon_to_jei-1.12.2-<version>-forge.jar.

Requires Java 8 to compile/run the game (Gradle daemon runs under JDK 17).

License

This project is licensed under the LGPLv3.

The Thaumonomicon To JEI Team

Forgeborn tier frameprofile avatar
  • 1
    Followers
  • 9
    Projects
  • 140.4K
    Downloads

More from MadgiqueView all