how to fix this item check procedure?

Started by mattyfrashh on

Topic category: Help with MCreator software

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to fix this item check procedure?

so, i made a procedure that checks if you have an oxygen module in the space (i set overworld for test) , if not you will get damage.
the problem is the block "has event/ target entity in inventory" check the item in inventory only if is not damage (i made another procedure that damages the item of 1 every second in space, the durabily indicates the oxygen remaining in the item).
and I made it so that if you don't have the oxygen module you take damage, but I take damage even if I have it in my inventory

how can i fix this?  I've been trying to find a solution for a week but nothing

here is the procedure: https://ibb.co/6cM18jSf