Meka-PMMO

Compat bridge between Mekanism and PMMO using mixins to grant Smelting and Break XP.

File Details

meka_pmmo-1.20.1-1.0.0.jar

  • R
  • Nov 22, 2025
  • 12.36 KB
  • 13
  • 1.20.1
  • Forge

File Name

meka_pmmo-1.20.1-1.0.0.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:meka-pmmo-1389543:7248552")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

1.0.0 - 2025-11-22

Added

  • Initial release of Mekanism-PMMO compatibility mod
  • Energized Smelter now grants XP through PMMO when processing smelting recipes
  • Mixin-based integration to intercept Mekanism's recipe processing
  • SmeltTranslationHandler with signature: handleSmeltOperation(input, output, level, pos)
  • Automatic firing of PMMO's FurnaceBurnEvent with correct input/output items, level, and position

Technical Details

  • Mixin injection into OneInputCachedRecipe.finishProcessing() to capture recipe completion
  • Reflection-based tile entity context tracking via CachedRecipe.canHolderFunction
  • Input ItemStack captured before consumption using HEAD injection for accurate XP calculation
  • ThreadLocal-based ProcessingContext for passing tile entity references between mixins

Dependencies

  • Minecraft: 1.20.1
  • Forge: 47.4.0
  • Mekanism: 10.4.16.80
  • PMMO: 1.20.1-1.7.39