Check for item in GUI slot

Started by Beldrox on

Topic category: Help with Minecraft modding (Java Edition)

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?

 

 

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

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

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?

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 :(

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