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
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):
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
I don't Think There is a way...
~Pokemon9994
It is the blue text at the bottom of the pop up when you hover over the weapon, I want to change that without enchanting it
If you create more items with attribute modifiers, you must ensure that they all have a different "UUIDLeast" and "UUIDMost" value.
You can find more info on attributes here: http://minecraft.gamepedia.com/Attributes
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Thank you sooooo much!
Thats grate i will make a wooden sword with 500 attake damege
Can i do it without having to /give the weapon?
That's a good question actually