how set a global variable equal to number of main hand's item

Started by mangamaniacs2064 on

Topic category: Help with MCreator software

Last seen on 14:53, 13. Mar 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how set a global variable equal to number of main hand's item
Tue, 10/08/2019 - 04:31 (edited)

it tried a lot  of ways but didnt find out how to do it.

 

i want a global var's value equal to the number of main hand's item. or equal to number of certain item type.. like gold ore or cobblestone.

if i have 64 cobblestone in my hand then the value should be 64.

Edited by mangamaniacs2064 on Tue, 10/08/2019 - 04:31