HomeJavaModsKubeJS Metalworks (KubeJS Addon for Productive Metalworks)
KubeJS Metalworks (KubeJS Addon for Productive Metalworks)
ModsJava

KubeJS Metalworks (KubeJS Addon for Productive Metalworks)

by LuminaCherry · on CurseForge

KubeJS Metalworks is a KubeJS addon for Productive Metalworks that makes foundry recipe scripting simple. It adds easy helpers for melting, casting…

⬇ Download on CurseForge

The author built this one for Minecraft 1.21.1 on NeoForge. On other versions it may install and then do nothing.

KubeJS Metalworks adds simple KubeJS scripting helpers for Productive Metalworks on NeoForge 1.21.1.

Instead of writing full custom recipe JSON, you can create Productive Metalworks recipes with short KubeJS commands.

Melting

PMW.melt(event, 'minecraft:stone', 'productivemetalworks:molten_diamond', 10)

Turns 1 stone into 10 mB of molten diamond.

With custom duration:

PMW.melt(event, 'minecraft:cobblestone', 'productivemetalworks:molten_diamond', 10, 0, 0, 1200)

Casting

PMW.itemCast(event, 'minecraft:blaze_rod', 'productivemetalworks:rod_cast', 'productivemetalworks:molten_blaze', 400)

Turns 400 mB molten blaze into a blaze rod using a rod cast.

PMW.blockCast(event, 'minecraft:diamond_block', 'minecraft:stone', 'productivemetalworks:molten_diamond', 900)

Turns 900 mB molten diamond into a diamond block using stone as the block cast.

Alloying

PMW.alloy(event, 'productivemetalworks:molten_brass', 4, [
  { fluid: '#c:molten_copper', amount: 3 },
  { fluid: '#c:molten_zinc', amount: 1 }
])

Combines molten copper and molten zinc into molten brass.

Removing Recipes

PMW.removeId(event, 'productivemetalworks:casting/blaze_rod')
PMW.removeType(event, 'productivemetalworks:item_melting')

Custom Liquid Fuel

PMW.fuel('minecraft:water', 1500, 1.0, 0.2)

Adds water as a foundry fuel with custom temperature, speed, and consumption.

KubeJS Metalworks is made for modpack creators who want to customize Productive Metalworks through KubeJS without writing large recipe JSON files manually.

MORE EXAMPLES HERE:  Metalworkshttps://github.com/senuko228/KubeJS-Metalworks

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more