Armor Repairing Potion help

Started by Sbot50 on

Topic category: Help with modding (Java Edition)

Last seen on 20:53, 8. Jan 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Armor Repairing Potion help

Hello, i wanted to make a armor repairing potion. When i saw it said required dependencies i knew a potion wouldnt provide me with those. is there any other way i can make this potion? thx in advanced!

Last seen on 20:53, 8. Jan 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Wed, 10/09/2019 - 21:50

https://ibb.co/fXh33G3

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In your procedure it says: …
Thu, 10/10/2019 - 05:50

In your procedure it says: ...Get Item in slot 0... and right after you use "deal damage to provided item". Provided item here doesn't point to the item in slot 0, it will point to your potion.

To provide the item stack dependency. you need something like a tool. You could create a potion effect and make the potion simply set an NBT tag to true. Then go to your tools, check if the condition is true and heal your item based on that. Some logic is required but for the most part, that's should be it.

Last seen on 20:53, 8. Jan 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thx! ill try that then,…
Thu, 10/10/2019 - 12:34

thx! ill try that then, thank you so much!

Last seen on 20:53, 8. Jan 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i sortoff gave up because i…
Thu, 10/31/2019 - 16:24

i sortoff gave up because i didnt really know how to test if a item has nbt tag but i came up with this: 

Last seen on 20:53, 8. Jan 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry that i did this in 3…
Thu, 10/31/2019 - 16:27

sorry that i did this in 3 posts but there is no edit button, if there is i cant find it. but this should work right if i set the damage to -1 it will repair 1.

Last seen on 20:53, 8. Jan 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well it didnt work, then i…
Thu, 10/31/2019 - 21:19

well it didnt work, then i tested with just 1 dmg and that also didnt work :( it worked with spawn gem tho so idk

 

Last seen on 20:53, 8. Jan 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ik why now the thing i used…
Thu, 10/31/2019 - 21:21

ik why now the thing i used is for blocks