The IItemUpdateFunction can be added to an Item to allow code to be executed whenever the item updates.

Importing the package

If you ever feel the need to import this function’s class, here you go:

import mods.contenttweaker.IItemUpdate;


We have a void function that takes the following parameters (in order)