Item in hand procedures

Started by Spicato on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item in hand procedures

I would like to recreate the flint sharpening mechanism from Sevtech: Ages where a player can left click on a stone block using a piece of flint and have a chance to receive a sharpened flint piece in return.  

 

The logic I'm wanting to use is essentially as follows:

when player left clicks a stone block while a flint piece is in hand

     100% chance to shrink flint piece item stack by 1

     10% chance to spawn sharpened flint piece where player clicked

 

 

I cant seem to figure out how that would look in the procedures menu and would love some help!

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello Spicato have a look at…
Fri, 03/26/2021 - 02:31

Hello Spicato

have a look at this screenshot > Here <

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! This is perfect…
Fri, 03/26/2021 - 14:39

Thank you! This is perfect. Im proud to say I was closer than I thought haha