Nope. My plan was to do something with getting the tag and make it so it would apply the tag again.
Recreated my code that creates the weapon and got it working and found out i needed to call the custom attribute name using the generic.<custom...
Hey i got another question xD So i have been thinking about how to keep on creating this plugin and i choose to do it the lore way instead of...
Yeah i thought of that but wouldnt that make the server lag if we say 50+ players are on
Just tried and same happeneds. Nothing in there besides the same error as server gives me :/ A little bit off topic but whatever xD So i want...
I think its the damage.set("Name", new NBTTagString("mana")); Since i just tried with only the AttributeName one and then it said name cannot be...
Im so lost since no one i have asked can help me here. Even opened the player.dat in a NBTViewer and as far as i can see there are no errors in...
I just added the stacktrace you asked for and in the image below you can see what it tells me. As you see i issue the /createweapon command and...
I dont know what line does it since i dont have any array that is used for this stuff. If i remove all my custom nbttag stuff it all works with...
Hello so im trying my best to create a custom NBTTag for a weapon and im calling the attribute mana Now i can spawn the weapon in and all without...
Got it working via lore instead since a kind person added me on Discord and told me to do it that way instead since its easier and not as many...
Ahhhh i think i get it now Gonna try when i get home from work! Btw the fields i have in the code. byNameField and byKeyField. Are they...
Thanks for Linking that page! I have tried with creating the key in the code i added to the post. Would you be so kind to show an example?...
Ahh okay thanks for explaining! Did they change how enchantsments work since it's not an ID but a NameSpacedKey now?
When you say projectile it means like diamond axe and swords also right ? Can it be the NamespacedKey im doing wrong ? (Gonna go to work now so...
Separate names with a comma.