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

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
pretty sure its supposed to…
Tue, 07/01/2025 - 15:06

pretty sure its supposed to be something like "minecraft:overworld" so try checking for "modName:dimensionName"
(for example if ur mod is called "space" and the dimension is named "FarAway" it'll be "space:far_away")

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i mean, the procedure can't…
Thu, 07/03/2025 - 15:58

i mean, the procedure can't find the item in my inventory if is damaged because some proprieties of the item changes