Item Production Lib
No reviews yet
Mod dev tools for tracking item production
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
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);
}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources