Solved How to get the quantity of player's held item?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Pooh

Member
Jun 24, 2021
1
0
1
Solved Code
Code:
set {_amount} to amount of item player's held item

========== original post ==========

Code:
set {_amount} to amount of player's held item
Code:
set {_amount} to amount of player's held item in player's held item
Skript Version: Skript 2.5,3
Minecraft Version: 1.12.2

upload_2021-6-24_14-40-39.png

▲ Error message

I'd like to get the quantity of player's held item (in player's held item), what should I do?

It works just fine ▼
set {_amount} to amount of player's held item in player's inventory
 
Last edited:
Status
Not open for further replies.