A single-use item NEED HELP

Started by Shamichto on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A single-use item NEED HELP

Hi everybody, I just need help to do a sinlg_use item, the others topics are from 2-3 years ago ! I want to create a bandage that when you right click in the air (or on a block) one of the stack is use, can't find how to do this.

 

Thx for the help, have a great moding day.

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok first set its max stack…
Sun, 01/12/2020 - 01:16

ok first set its max stack size to 64. then put item usage count to 1.

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i meant set to 1 not put to…
Sun, 01/12/2020 - 01:16

i meant set to 1 not put to 1.

 

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok after ?
Sun, 01/12/2020 - 01:59

Ok after ?

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would suggest this…
Sun, 01/12/2020 - 13:52

I would suggest this solution because I think it's more easy to understand:

Step 1: Add a "Item right-clicked " procedure

Step 2: Code as follow: https://i.imgur.com/UgEUp9y.jpg (p/s: I would recommend you to add cool down for your item)

Step 3: Done

Its pretty easy and simple, hope this helps! :)

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh and replace the iron…
Sun, 01/12/2020 - 13:53

Oh and replace the iron ingot to your custom item