Fixing what has been broken

Started by PythonIsCool on

Topic category: Advanced modding

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fixing what has been broken

Ok so in my mod theres a stand called Crazy Diamond which can fix what has broken. I want to put that ability in there, but I have no idea if its even possible for it to fix something.

If you dont understand (im not a good explainer) its like this

you break a wall crazy diamond touches it and it fixes it back to the way it was

is this even theoretically possible, or can it just not be done?

Last seen on 21:37, 28. Sep 2021
Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not even sure if that's…
Thu, 12/03/2020 - 00:42

I'm not even sure if that's possible with coding.

Last seen on 19:18, 8. Aug 2021
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It is likely impossible to…
Thu, 12/03/2020 - 02:03

It is likely impossible to fix structures (like walls, houses, etc.) that have been broken without having significantly large amounts of rollback power (like in server plugins).

You might be able to fix tools that have broken instead. Maybe make the stand a totem-like effect that activates when the tool in your main hand breaks (or possibly your armor if you want to give it that power), which cancels the breaking of the item and instead restores the durability of it to full, which would count as "fixing" what broke.

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah thats what i ended up…
Thu, 12/03/2020 - 23:06

yeah thats what i ended up doing, it sucks because it wouldve been so cool to break something, then fix it. Ah well, minecraft has its limitations.