Test if player holding item

Started by gavin_oz on

Topic category: Help with MCreator software

Active 5 years ago
Joined Sep 2016
Points:
712

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Test if player holding item

I was wondering how to test if an entity is holding any item. Not just a specific item. 

Active 10 months ago
Joined Jun 2015
Points:
1275

User statistics:

  • Modifications: 10
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 544
Well just check if the…
Sun, 03/29/2020 - 12:34

Well just check if the entity is NOT holding air...

Active 5 years ago
Joined Sep 2016
Points:
712

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
How do i so that though. I…
Sun, 03/29/2020 - 19:18

How do i so that though. I couldn’t find a != for items. I could try a (item=air)!=true but I don’t know if that would work. 

Active 10 months ago
Joined Jun 2015
Points:
1275

User statistics:

  • Modifications: 10
  • Forum topics: 32
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 544
Please, don't use MCreator…
Sun, 03/29/2020 - 19:56

Please, don't use MCreator if you don't know how to use it....
ig