Has Event/Target entity in inventory doesn't work

Started by Rolling dice on

Topic category: Help with modding (Java Edition)

Last seen on 16:23, 17. Sep 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Has Event/Target entity in inventory doesn't work

I am making a gun, and when I press reload it works sometimes removing the bullet and adding 1 to the NBT tag, but sometimes it bugs out and completely breaks the gun because it can't find the bullet in my inventory even though it is in there, Here is my procedure:
Any help would be appreciated.

Last seen on 21:48, 18. Sep 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you try like that
Sun, 09/15/2024 - 18:59

Can you try like that

Last seen on 21:48, 18. Sep 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and you don't need to =true…
Sun, 09/15/2024 - 18:59

and you don't need to =true block