Topic category: Help with Minecraft modding (Java Edition)
Hello. I want to make a system for applying runes to swords in a separate block.
If everything is quite easy with the GUI and the block, then how to work with runes and a sword?
I can create a procedure that will "apply a rune". (in fact, crafting will simply give you a pre-prepared sword with a rune)
However,
I wish I didn't have to create a million swords. Is it possible to do this somehow using variables? If everything were in python, I could easily write the code, however, I can’t even imagine how to assign different tags to one sword after “crafting”. For example: I applied the Chernobog rune to the Sword from Skellige -
I would put the tag “with the Chernobog rune” on this sword and it would have an effect. Then, I simply shove the same sword into the craft and apply another rune, which removes the first one.
Sorry for such a long lyric, I would like to describe it in as much detail as possible