Can't put a procedure on an item

Started by lesley22 on

Topic category: Help with MCreator software

Last seen on 17:34, 22. Nov 2023
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't put a procedure on an item
Wed, 11/22/2023 - 17:33 (edited)

I'm just starting out modding, and I'm trying to make an item trigger a procedure when the player eats it. However, this isn't working, due to the fact that when I try to attach a procedure to a trigger, nothing happens. It just keeps saying 'no procedure' no matter what I try. I checked the forums and only one other post had a problem like this, with people saying it was because the person in question was on a 32-bit system, but I use a 64-bit. Please help?

 

EDIT: Turns out I missed something really obvious, please ignore this.

Edited by lesley22 on Wed, 11/22/2023 - 17:33
Last seen on 16:44, 17. Jun 2024
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's definitely due to…
Thu, 11/23/2023 - 08:55

It's definitely due to dependencies.
For example in the trigger 'When right click' the dependencies are: x, y, z, world, entity and itemstack.
In the procedure editor you have on the right side the dependencies required for your procedure and if you have a dependency that is not in your trigger, it will not display the procedure.
Sorry for the English (Google translate).