Item with AttributeModifiers on generic.attackDamage does not change Attack Damage when given along with a Sharpness enchantment
When using this command,
/give @p diamond_axe 1 0 {ench:[
],display:
{Lore:["Secret Weapon"]},AttributeModifiers:[
{Operation:0,UUIDLeast:1,UUIDMost:1,AttributeName:generic.attackDamage,Amount:14.25,Name:attack1},
{Operation:1,UUIDLeast:1,UUIDMost:1,AttributeName:generic.movementSpeed,Amount:0.46,Name:speed1}]}
The diamond axe given should have only dealt 14.25 damage on a mob (Villager), but kills the Villager in one shot of the axe. When removing the "ench" part, it will deal the normal amount of health it should have dealt without the sharpness.
/give @p diamond_axe 1 0 {ench:[],display:
{Lore:["Secret Weapon"]},AttributeModifiers:[
{Operation:0,UUIDLeast:1,UUIDMost:1,AttributeName:generic.attackDamage,Amount:14.25,Name:attack1},
{Operation:1,UUIDLeast:1,UUIDMost:1,AttributeName:generic.movementSpeed,Amount:0.46,Name:speed1}]}
Environment
Java 1.7.0
CPU: 2x Amd Athlon(tm) 64 X2 Dual Core Processor 4000+
Display: 854x480 (NVIDIA Corporation)
GeForce 6100 nForce 405/PCI/SSE2/3DNOW!
2.0.3
Linked Issues
duplicates1
Created Issue:
Item with AttributeModifiers on generic.attackDamage does not change Attack Damage when given along with a Sharpness enchantment
When using this command,
{id:16,lvl:6}
/give @p diamond_axe 1 0 {ench:[],display:
{Lore:["Secret Weapon"]},AttributeModifiers:[
{Operation:0,UUIDLeast:1,UUIDMost:1,AttributeName:generic.attackDamage,Amount:14.25,Name:attack1},
{Operation:1,UUIDLeast:1,UUIDMost:1,AttributeName:generic.movementSpeed,Amount:0.46,Name:speed1}]}
The diamond axe given should have only dealt 14.25 damage on a mob (Villager), but kills the Villager in one shot of the axe. When removing the "ench" part, it will deal the normal amount of health it should have dealt without the sharpness.
/give @p diamond_axe 1 0 {ench:[],display:
{Lore:["Secret Weapon"]},AttributeModifiers:[
{Operation:0,UUIDLeast:1,UUIDMost:1,AttributeName:generic.attackDamage,Amount:14.25,Name:attack1},
{Operation:1,UUIDLeast:1,UUIDMost:1,AttributeName:generic.movementSpeed,Amount:0.46,Name:speed1}]}
Environment
Java 1.7.0
CPU: 2x Amd Athlon(tm) 64 X2 Dual Core Processor 4000+
Display: 854x480 (NVIDIA Corporation)
GeForce 6100 nForce 405/PCI/SSE2/3DNOW!
2.0.3
duplicates
Dupe of
MC-67885So by that, you mean that sharpness and attackDamage do not combine on each other? But, in my case, if you use the first command, it will give you an axe writing,
When it gives you the axe with sharpness, it does not combine 7.5 extra damage dealt by sharpness with the n+Attack Damage, where n is the number of any attack damage possible, but it will still act as if it counts the Sharpness along with it when the n+Attack Damage does not change.