"Internal" Modding Help

Started by taikitr on Sat, 01/02/2016 - 00:10
Last seen on 12:56, 24. Nov 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
"Internal" Modding Help
Sat, 01/02/2016 - 00:10

Hi!

I want to make an item to remove the selected block (right-clicked block) and then turn into dirt inside the item. Everytime it turns into a dirt block, I want the usuage to decrease but not break.

If anyone knows how to do this, please reply!

ps: This is a vacuum

Last seen on 08:18, 12. Jan 2018
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
when making an item there
Sat, 01/02/2016 - 01:56

when making an item there should be a set vaule to make so it takes damage by changing the number to a 1

 

Also there should be in events a "Damage item" event