Topic category: Help with modding (Java Edition)
After working for nearly six hours on only the block programming, research, and in-game testing I have found out how to create a "trident-like" weapon! With the exception and three hours of no avail to make it save the nbt data to later summon an exact replica of the item. I thought maybe save it to an tag like naming "durachant" and than using that tag to put unto another item of the same type, but idk. Now I haven't just used nbt data to do this and I pretty much still know little of how to use it. I did maybe 2019 but It's been a while since the good old plain command block days. So long story short, is there a plausible way to save the item's enchants and durability? And yes I know other people have asked this question, actually a lot of people, but than again I have fixed most their problems already and just need help on this.
Also once I get this part done, look around to see how I can make it better, and generally polish it up. It will be out to the public bc I know people want tridents XD