Iron Golem custom attribute attack.damage ignored by server.
I made a custom Iron golem and tryed to change his attack damage, the attack damage did not affect the iron golem and in the server log it says
[07:06:26] [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamage'
and here is the command i used to spawn a iron golem
/summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[{Name:generic.maxHealth,Base:900},{Name:generic.movementSpeed,Base:0.1},{Name:generic.attackDamage,Base:10},{Name:generic.followRange,Base:50},{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[{Id:6,Amplifier:5,Duration:19999980},{Id:10,Amplifier:5,Duration:19999980},{Id:21,Amplifier:5,Duration:19999980}],Riding:{id:"VillagerGolem",CustomName:"jeb_ S.W.A.T",CustomNameVisible:1,PlayerCreated:0,Attributes:[{Name:generic.maxHealth,Base:290},{Name:generic.movementSpeed,Base:0.5},{Name:generic.attackDamage,Base:15},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:0.5}],HealF:290,ActiveEffects:[{Id:5,Amplifier:10,Duration:19999980},{Id:8,Amplifier:1,Duration:19999980},{Id:10,Amplifier:2,Duration:19999980},{Id:11,Amplifier:2,Duration:19999980}]}}
Steps to reproduce problem=
- get a private server
- get a command block
- put my command in the command block.
- Summon the iron golem
- look at your server log
- It should say
[Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamage'
Environment
Windows 8.1 64 bit, java 64 bit, java version= 1.7.0_67
Created Issue:
Iron Golem custom attribute attack.damage ignored by server.
I made a custom Iron golem and tryed to change his attack damage, the attack damage did not affect the iron golem and in the server log it says "[07:06:26] [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamag
{Name:generic.maxHealth,Base:900}
e'" and here is the command i used to spawn a iron golem= /summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[,
{Name:generic.movementSpeed,Base:0.1},
{Name:generic.attackDamage,Base:10},
{Name:generic.followRange,Base:50},
{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[
{Id:6,Amplifier:5,Duration:19999980},
{Id:10,Amplifier:5,Duration:19999980},
{Id:21,Amplifier:5,Duration:19999980}],Riding:{id:"VillagerGolem",CustomName:"jeb_ S.W.A.T",CustomNameVisible:1,PlayerCreated:0,Attributes:[
{Name:generic.maxHealth,Base:290},
{Name:generic.movementSpeed,Base:0.5},
{Name:generic.attackDamage,Base:15},
{Name:generic.followRange,Base:100},
{Name:generic.knockbackResistance,Base:0.5}],HealF:290,ActiveEffects:[
{Id:5,Amplifier:10,Duration:19999980},
{Id:8,Amplifier:1,Duration:19999980},
{Id:10,Amplifier:2,Duration:19999980},
{Id:11,Amplifier:2,Duration:19999980}]}}
Environment
Windows 8.1 64 bit, java 64 bit, java version= 1.7.0_67
I made a custom Iron golem and tryed to change his attack damage, the attack damage did not affect the iron golem and in the server log it says "[07:06:26] [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamag
{Name:generic.maxHealth,Base:900}
e'" and here is the command i used to spawn a iron golem= /summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[,
{Name:generic.movementSpeed,Base:0.1},
{Name:generic.attackDamage,Base:10},
{Name:generic.followRange,Base:50},
{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[
{Id:6,Amplifier:5,Duration:19999980},
{Id:10,Amplifier:5,Duration:19999980},
{Id:21,Amplifier:5,Duration:19999980}],Riding:{id:"VillagerGolem",CustomName:"jeb_ S.W.A.T",CustomNameVisible:1,PlayerCreated:0,Attributes:[
{Name:generic.maxHealth,Base:290},
{Name:generic.movementSpeed,Base:0.5},
{Name:generic.attackDamage,Base:15},
{Name:generic.followRange,Base:100},
{Name:generic.knockbackResistance,Base:0.5}],HealF:290,ActiveEffects:[
{Id:5,Amplifier:10,Duration:19999980},
{Id:8,Amplifier:1,Duration:19999980},
{Id:10,Amplifier:2,Duration:19999980},
{Id:11,Amplifier:2,Duration:19999980}]}}
I made a custom Iron golem and tryed to change his attack damage, the attack damage did not affect the iron golem and in the server log it says "[07:06:26] [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamag
{Name:generic.maxHealth,Base:900}
e'" and here is the command i used to spawn a iron golem= /summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[,
{Name:generic.movementSpeed,Base:0.1},
{Name:generic.attackDamage,Base:10},
{Name:generic.followRange,Base:50},
{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[
{Id:6,Amplifier:5,Duration:19999980},
{Id:10,Amplifier:5,Duration:19999980},
{Id:21,Amplifier:5,Duration:19999980}],Riding:{id:"VillagerGolem",CustomName:"jeb_ S.W.A.T",CustomNameVisible:1,PlayerCreated:0,Attributes:[
{Name:generic.maxHealth,Base:290},
{Name:generic.movementSpeed,Base:0.5},
{Name:generic.attackDamage,Base:15},
{Name:generic.followRange,Base:100},
{Name:generic.knockbackResistance,Base:0.5}],HealF:290,ActiveEffects:[
{Id:5,Amplifier:10,Duration:19999980},
{Id:8,Amplifier:1,Duration:19999980},
{Id:10,Amplifier:2,Duration:19999980},
{Id:11,Amplifier:2,Duration:19999980}]}} Steps to reproduce problem= 1.get a private server 2. get a command block 3. put my command in the command block. 4. Summon the iron golem 5. look at your server log 6. It should say [Server thread/WARN] : Ignoring unknown attribute 'generic.attackDamag
e'
I made a custom Iron golem and tryed to change his attack damage, the attack damage did not affect the iron golem and in the server log it says "[07:06:26] [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamag
{Name:generic.maxHealth,Base:900}
e'" and here is the command i used to spawn a iron golem=/summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[,
{Name:generic.movementSpeed,Base:0.1},
{Name:generic.attackDamage,Base:10},
{Name:generic.followRange,Base:50},
{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[
{Id:6,Amplifier:5,Duration:19999980},
{Id:10,Amplifier:5,Duration:19999980},
{Id:21,Amplifier:5,Duration:19999980}],Riding:{id:"VillagerGolem",CustomName:"jeb_ S.W.A.T",CustomNameVisible:1,PlayerCreated:0,Attributes:[
{Name:generic.maxHealth,Base:290},
{Name:generic.movementSpeed,Base:0.5},
{Name:generic.attackDamage,Base:15},
{Name:generic.followRange,Base:100},
{Name:generic.knockbackResistance,Base:0.5}],HealF:290,ActiveEffects:[
{Id:5,Amplifier:10,Duration:19999980},
{Id:8,Amplifier:1,Duration:19999980},
{Id:10,Amplifier:2,Duration:19999980},
{Id:11,Amplifier:2,Duration:19999980}
]}}Steps to reproduce problem= 1.get a private server 2. get a command block 3. put my command in the command block. 4. Summon the iron golem 5. look at your server log 6. It should say [Server thread/WARN] : Ignoring unknown attribute 'generic.attackDamag
e'I made a custom Iron golem and tryed to change his attack damage, the attack damage did not affect the iron golem and in the server log it says "[07:06:26] [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamag
e'" and here is the command i used to spawn a iron golem=/summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[{Name:generic.maxHealth,Base:900},{Name:generic.movementSpeed,Base:0.1},{Name:generic.attackDamage,Base:10},{Name:generic.followRange,Base:50},{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[{Id:6,Amplifier:5,Duration:19999980},{Id:10,Amplifier:5,Duration:19999980},{Id:21,Amplifier:5,Duration:19999980}],Riding:{id:"VillagerGolem",CustomName:"jeb_ S.W.A.T",CustomNameVisible:1,PlayerCreated:0,Attributes:[{Name:generic.maxHealth,Base:290},{Name:generic.movementSpeed,Base:0.5},{Name:generic.attackDamage,Base:15},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:0.5}],HealF:290,ActiveEffects:[{Id:5,Amplifier:10,Duration:19999980},{Id:8,Amplifier:1,Duration:19999980},{Id:10,Amplifier:2,Duration:19999980},{Id:11,Amplifier:2,Duration:19999980}]}}Steps to reproduce problem= 1.get a private server 2. get a command block 3. put my command in the command block. 4. Summon the iron golem 5. look at your server log 6. It should say [Server thread/WARN] : Ignoring unknown attribute 'generic.attackDamag
e'
I made a custom Iron golem and tryed to change his attack damage, the attack damage did not affect the iron golem and in the server log it says "[07:06:26] [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamag
e'" and here is the command i used to spawn a iron golem=/summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[{Name:generic.maxHealth,Base:900},{Name:generic.movementSpeed,Base:0.1},{Name:generic.attackDamage,Base:10},{Name:generic.followRange,Base:50},{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[{Id:6,Amplifier:5,Duration:19999980},{Id:10,Amplifier:5,Duration:19999980},{Id:21,Amplifier:5,Duration:19999980}],Riding:{id:"VillagerGolem",CustomName:"jeb_ S.W.A.T",CustomNameVisible:1,PlayerCreated:0,Attributes:[{Name:generic.maxHealth,Base:290},{Name:generic.movementSpeed,Base:0.5},{Name:generic.attackDamage,Base:15},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:0.5}],HealF:290,ActiveEffects:[{Id:5,Amplifier:10,Duration:19999980},{Id:8,Amplifier:1,Duration:19999980},{Id:10,Amplifier:2,Duration:19999980},{Id:11,Amplifier:2,Duration:19999980}]}}Steps to reproduce problem= 1.get a private server 2. get a command block 3. put my command in the command block. 4. Summon the iron golem 5. look at your server log 6. It should say [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamag
e'I made a custom Iron golem and tryed to change his attack damage, the attack damage did not affect the iron golem and in the server log it says
[07:06:26] [Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamage'and here is the command i used to spawn a iron golem
/summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[{Name:generic.maxHealth,Base:900},{Name:generic.movementSpeed,Base:0.1},{Name:generic.attackDamage,Base:10},{Name:generic.followRange,Base:50},{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[{Id:6,Amplifier:5,Duration:19999980},{Id:10,Amplifier:5,Duration:19999980},{Id:21,Amplifier:5,Duration:19999980}],Riding:{id:"VillagerGolem",CustomName:"jeb_ S.W.A.T",CustomNameVisible:1,PlayerCreated:0,Attributes:[{Name:generic.maxHealth,Base:290},{Name:generic.movementSpeed,Base:0.5},{Name:generic.attackDamage,Base:15},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:0.5}],HealF:290,ActiveEffects:[{Id:5,Amplifier:10,Duration:19999980},{Id:8,Amplifier:1,Duration:19999980},{Id:10,Amplifier:2,Duration:19999980},{Id:11,Amplifier:2,Duration:19999980}]}}Steps to reproduce problem=
- get a private server
- get a command block
- put my command in the command block.
- Summon the iron golem
- look at your server log
- It should say
[Server thread/WARN]: Ignoring unknown attribute 'generic.attackDamage'
duplicates

Confirmed in 1.8.1 with given command, also happens when you use a Zombie instead of an Iron Golem./summon Sheep ~-1 ~-1 ~ {CustomName:"jeb_",CustomNameVisible:1,Color:15,Attributes:[{Name:generic.maxHealth,Base:900},{Name:generic.movementSpeed,Base:0.1},!!!{Name:generic.attackDamage,Base:10}!!!,{Name:generic.followRange,Base:50},{Name:generic.knockbackResistance,Base:10}],Invulnerable:1,HealF:900,ActiveEffects:[{Id:6,Amplifier:5,Duration:19999980},{Id:10,Amplifier:5,Duration:19999980},{Id:21,Amplifier:5,Duration:19999980}],Riding:The problem is that you applied generic.attackDamage to the sheep (outlined with exclamation marks); sheep can't attack
. Remove it and the error message should be gone.
However Iron golems indeed don't use generic.attackDamage (with no error message), see
MC-47091.Thxs so much
How do i mark this bug as resolved?
Well, based on the report, its a dupe of
MC-47091. A moderator will mark this as resolved at a later time.ok thxs
one more thing, if i can not change attack damage of iron golems would giving them strength work?
Strength and weakness potions don't work either
.