Mojira Archive
MCPE-19753

"minecraft:behavior.ocelotattack" component ignores attack damage value set by "minecraft:attack"

Original Description:
No matter what I cannot change the attack damage or health max for ocelots. My json changes work on virtually all other mobs, but not for this one. Very annoying.

Please look into this. Thanks.

Edit by Zeb:
This bug is caused by the fact that ocelots attack using the "minecraft:behavior.ocelotattack" component, which does not respect the attack damage values set by the "minecraft:attack" component.

The vanilla ocelot.json also contains a typo with its "minecraft:attack" component, but fixing it does NOT fix this bug. (But this typo still needs to be fixed as well, obviously.):

"minecraft:attack_damage": {
	"value": 4
},

This snippet should be:

"minecraft:attack": {
	"damage": 4
},

Cannot Reproduce

Cecil McIntosh

2017-01-15, 11:32 PM

2018-03-27, 05:43 PM

2018-03-27, 05:43 PM

1

1

Confirmed

add-on, behavior-pack, ocelot

1.0.1, 1.0.4.11

-