mojira.dev
MC-85317

Silverfish With Weakness and Attack Damage Set to 0 Still Deal Damage

Whenever I try to weaken a silverfish to the extent of not harming players in survival mode, it can always do damage regardless of circumstances.

To reproduce, run the following command -

/summon Silverfish ~ ~ ~ {Attributes:[{Name:generic.attackDamage,Base:0}],ActiveEffects:[{Id:18,Amplifier:10,Duration:20000000}]}

Not only should it deal a default of 0 attack damage, but it also has weakness 10, which should prevent it from damaging altogether.

Comments 4

Please do not mark unreleased versions as affected.
You don't have access to them yet.

--- This action was performed automatically. If you believe this was done erroneously, please :light_bulb_on: raise an issue.

Sorry, I thought marking as 1.9 encompassed snapshots, I'll fix that now

FTFY.
When you're on a snapshot please use the correct snapshot version.

Fixed somewhere between 15w32b and 15w44b.

Ben Brady

(Unassigned)

Unconfirmed

Minecraft 1.8.8, Minecraft 15w32b

Minecraft 15w44b

Retrieved