Repair Items

Started by willithebig on

Topic category: Help with MCreator software

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?

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! ^^

Joined Oct 2018
Points:

User statistics:

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

thank you!

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.

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?

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

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?