is there any way to replace or remove items from the player on use?

shrimple as the title suggests. for example, if you "use"/place a lava bucket, it gives you a bucket, right? is there any way to replace what item that is given to the player?

Continue to help post