I need this because the player need to put a certain item in order in a series of alcoves, and this is doable with "onInsertItem", but i need the exactly opposite and i can't find the way

With a hook like "onRemoveItem" i could do it, but there is no "onRemoveItem"

I can launch a function when the alcove is deactivated, but it isn't what i need. I need to deny the remove of the item if certain conditions are not met.
I think a hook of this kind can be useful also for other uses.
TY
