Can I check for an item in a players inventory?

Started by ImNotFun on

Topic category: Help with MCreator software

Active 2 years ago
Joined Sep 2019
Points:
839

User statistics:

  • Modifications: 3
  • Forum topics: 29
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
Can I check for an item in a players inventory?

Is there a way to check if an item is in a certain inventory slot?

Active 2 years ago
Joined Dec 2017
Points:
1041

User statistics:

  • Modifications: 7
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 332
Should be under either…
Thu, 10/01/2020 - 11:42

Should be under either entity or player procedures, if entity has item in inventory.

Active 2 years ago
Joined Sep 2019
Points:
839

User statistics:

  • Modifications: 3
  • Forum topics: 29
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
Is there a way to check what…
Thu, 10/01/2020 - 13:40

Is there a way to check what inventory slot the item is in?

Active 2 years ago
Joined Dec 2017
Points:
1041

User statistics:

  • Modifications: 7
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 332
Not from what I remember,…
Fri, 10/02/2020 - 05:30

Not from what I remember,(could be wrong) only possible to check individual for the hotbar slots.

Active 2 years ago
Joined Sep 2022
Points:
299

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Each inventory slot has a…
Sat, 09/17/2022 - 15:17

Each inventory slot has a built in number. i will provide the default layout of the player inventory