Hello there, I have a quick question
Is it possible to change the base damage of a sword without enchanting it?
For Example: If you hover over a sword you see on the bottom of the pop up that it says how much damage it does, I want to change that without making the sword enchanted
I would appreciate it if I could get an example of the code used to change it
Those are called attributes. All weapons will have a hidden attribute modifier applied to them to increase damage dealt. Adding any custom modifiers to the item will remove the hidden modifier, allowing you to start from scratch. The following will provide a weapon that removes hidden modifiers, replacing them with an attackDamage value that deals 1 heart (1 for every half-heart):