Item Production Lib logo

Item Production Lib

Mod

by Daripher

Mod dev tools for tracking item production

Downloads

9,352,848

Type

Mod

CurseForge ID

950401

Last Updated

Apr 9, 2026

Description

Adds event ItemProducedEvent that allows tracking the moment the item was produced by player or block entity.

Can be used with custom crafting methods so that other mods can track it.

Q: What is the difference between this event and ItemSmeltedEvent or ItemCraftedEvent?

A: These forge events are fired the moment you take items from a slot. ItemProducedEvent is fired whenever the item is created.

How to use the event as a mod dev:

{

  // item has been produced by your block entity here

  // make sure to override the result with the one from the event

  stack = ItemProductionLib.itemProduced(stack, blockEntity);

}

OR

{

  // item has been produced by player here

  // make sure to override the result with the one from the event

  stack = ItemProductionLib.itemProduced(stack, player);

}

Similar Mods

Included in Modpacks

External Resources