Why is my procedure not working?

Started by MarkkMirror on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Jul 2023
Points:
202

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Why is my procedure not working?
Tue, 07/11/2023 - 09:32 (edited)

So, I made this procedure in order to use it on a button, that when you click it, if you have enough items, it converts them with another item. The procedure should be right, I applied it on the GUI button but when I test it on Minecraft the button doesn't do anything. Is the procedure wrong in some ways or what could be the problem?

(The two orange items are two separate items but I didn't have enough time to make the textures.)

Edited by MarkkMirror on Tue, 07/11/2023 - 09:32
Active 1 year ago
Joined Nov 2022
Points:
394

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 93
I think you want to replace…
Fri, 07/07/2023 - 15:19

I think you want to replace the "logic equals" block with "logic AND".

Active 2 years ago
Joined Jul 2023
Points:
202

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
I tried but nothing changed,…
Fri, 07/07/2023 - 17:01

I tried but nothing changed, the button on the GUI doesn't work. (I saved the changes and made sure I did so it's not that)

 

Active 5 months ago
Joined Apr 2023
Points:
369

User statistics:

  • Modifications: 2
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 100
Pretty sure it's because you…
Fri, 07/07/2023 - 17:41

Pretty sure it's because you put Event/target entity = 100, and you might need to put if equal if you know what I mean.

Active 1 year ago
Joined Nov 2022
Points:
394

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 93
Try replacing the "has event…
Sun, 07/09/2023 - 22:25

Try replacing the "has event/that entity in inventory" block with "(Get item in main hand) is the same block as (your item).

Active 2 months ago
Joined May 2023
Points:
351

User statistics:

  • Modifications: 3
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 107
i think you should remove…
Sat, 08/12/2023 - 22:19

i think you should remove the thing that checks for the items in the off-hand of the player, and just replace it by a number (100 like in your script)