Repair Items

Started by willithebig on

Topic category: Help with MCreator software

Last seen on 00:12, 3. Feb 2017
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Repair Items

hi, i want make a block that whit right click, repair de item in the hand. but i dont know what is the custom code to use... can help me please?

Last seen on 15:56, 8. Nov 2020
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the "on block right…
Fri, 12/27/2019 - 12:15

Use the "on block right-click" trigger

And add that block in the procedure :

Deal the provided item damage of amount -X

with X being the amount of repair, don't forget to make it negative or else it'll damage the item! ^^

Last seen on 10:48, 23. Jul 2020
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you!
Sun, 02/23/2020 - 13:04

thank you!

Last seen on 16:23, 18. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@UnderWaves or you can use…
Tue, 04/07/2020 - 12:36

@UnderWaves or you can use in the procedure:

red: "Set the provided items damage to" purple: "-" then place inside it purple: "Get damage of the provided item" and inside it too: "1" to get it work.

Last seen on 16:23, 18. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So you dont want the block…
Tue, 04/07/2020 - 12:45

So you dont want the block have number of uses?

Last seen on 16:23, 18. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the 1 can be any number
Tue, 04/07/2020 - 12:46

the 1 can be any number

Last seen on 23:41, 3. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do you do this with an…
Wed, 11/11/2020 - 18:13

how do you do this with an entity that when you right click it fixes whatever you're holding?