promotional bannermobile promotional banner

Meka-PMMO

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

meka_pmmo-1.20.1-1.0.0.jar

File namemeka_pmmo-1.20.1-1.0.0.jar
Uploader
xx_invictusxx_invictus
Uploaded
Nov 22, 2025
Downloads
17
Size
12.4 KB
Mod Loaders
Forge
File ID
7248552
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:meka-pmmo-1389543:7248552")

Learn more about Curse Maven

What's new

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

This mod has no additional files