Started by
1ZKCARTI3
on
Topic category: Help with Minecraft modding (Java Edition)
So, I'm a bit new to Mcreator and I've scoured the forums for about 3-4 hours and looking into some possible ways but no luck on my part.
The item/tool I have is a Drill with 512 "charge/durability". I want it to be able to not instantly break upon reaching 0 durability but instead be "repaired/charged" using fuel cells. The only problem I have is finding out how to keep it from breaking.
I saw something about "get max possible damage of" and "get damage of" unfortunately the post ended there without much clarification on how to make it work.
Thanks.
Edited by 1ZKCARTI3 on Mon, 01/31/2022 - 02:14
You could use a number tag that is set to 512 by default and decreases by 1 each time the item is used. Then you could just make the item non-functional when the number reaches 0
i also need help with smth like this i have a item called a void staff i also want it to not break at 0 durability i also want to repair it somehow
or it can use xp