Check for item in GUI slot

Started by Beldrox on

Topic category: Help with modding (Java Edition)

Last seen on 19:29, 5. Feb 2021
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check for item in GUI slot

I'm sorry, i'm trying to update my Japancraft mod but i'm having a problem.

I created a GUI and i have to check for salmon item in a specific slot but this doesn't work.

I tried with each type of fish.

I also tried with different items such as diamond and it works, so the problems are the fish items.

How can i fix this?

 

 

Please copy the console…
Mon, 06/18/2018 - 10:41

Please copy the console contents when the error occurs and paste it here. Thank you!

Last seen on 19:29, 5. Feb 2021
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedure itself…
Mon, 06/18/2018 - 13:40

The procedure itself compiles without errors also if i check for fish items. The problem occurs in game, so if i put the fish in the slot, nothing happens, but if i check for other items,  the procedure works well

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It seems that the same…
Mon, 06/18/2018 - 21:18

It seems that the same happens with potion items

Maybe it's because they aren't single items like diamonds but have variants

Last seen on 19:29, 5. Feb 2021
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So it isn't possible to fix…
Tue, 06/19/2018 - 09:00

So it isn't possible to fix this? Even if i change something in the code?

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know :(
Tue, 06/19/2018 - 10:22

I don't know :(

Last seen on 19:29, 5. Feb 2021
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So i cannot release any…
Fri, 06/22/2018 - 08:29

So i cannot release any update 'till this bugfix :c