How do you get the type of item in a gui slot?

Started by Mimi on

Topic category: Help with MCreator software

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you get the type of item in a gui slot?

I want to do an if statement that is different based on if something in a gui slot is armor, weapon and so on. specifically I want to know how to tell if the item in the gui slot is armor first off (without just checking if the armor rating is above 0, since I will want to check for other types of items later)

Get item in slot and useā€¦
Fri, 11/27/2020 - 09:18

Get item in slot and use compare block to check it, or use tag checking.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei