consumeable item disappearing + not triggering advancement

so ive got an item that has the consumable component with a very high consume_seconds value. this item, which is a wand, is supposed to fire a wind charge when right clicked. However, the item has multiple issues:

  • It wont do anything in creative mode
  • In survival mode it just disappears when you right click
  • when it disappears, it doesnt even trigger the advancement I have no idea what the issue is (the last time i made right click detection this way was probably about 6 months ago, and this stuff apparently doesnt like to hold in my brain) Please help if you know how i can fix this!!!

Im gonna send the related files in the replies of this post

Continue to help post