[MCPE-19753] "minecraft:behavior.ocelotattack" component ignores attack damage value set by "minecraft:attack" Created: 15/Jan/17 Updated: 27/Mar/18 Resolved: 27/Mar/18 |
|
| Status: | Resolved |
| Project: | Minecraft (Bedrock codebase) |
| Component/s: | None |
| Affects Version/s: | 1.0.1, 1.0.4.11 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Cecil McIntosh | ||
| Resolution: | Cannot Reproduce | Votes: | 1 |
| Labels: | add-on, behavior-pack, ocelot | ||
| Confirmation Status: | Confirmed |
| Platform: | Windows |
| CHK: |
| Description |
|
Original Description: Please look into this. Thanks. Edit by SuperGeniusZeb: 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 }, |
| Comments |
| Comment by [Mojang] Mega_Spud (Jay Wells) [ 27/Mar/18 ] |
|
Cleaning up old tickets: This ticket has not been updated recently (1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines. Quick Links: |
| Comment by Zeb [ 22/Mar/17 ] |
|
Revised title & description to be more descriptive and explain the root cause of the bug. |
| Comment by Cecil McIntosh [ 21/Jan/17 ] |
|
Yup sorry for the false info on health. The health does work, it is just the attack damage. |
| Comment by Zeb [ 16/Jan/17 ] |
|
I can confirm the attack damage of ocelots cannot be changed. However, I believe you may be making a mistake in changing the health value. You mention "max health". Keep in mind that the max value for health is a value used for limiting the amount of health the mobs can receive from positive mob effects... NOT the amount of health it spawns with. The ocelots health value it normally has is unaffected by the "max" parameter, and is instead controlled by the "value" parameter. I'm not sure if the "max" parameter controls how big the health bar for a mob is, while the "value" param controls how much it spawns with (which would mean healing potions could increase its health to the max limit); or if the "value" param controls the normal health bar size, and the "max" param controls how big the bar can get due to effects like Health Boost. (Is that even in MCPE yet?) |
| Comment by [Mojang] Mega_Spud (Jay Wells) [ 16/Jan/17 ] |
|
Are you sure you're editing the correct fields for the health? I was able to change the health value for both tamed and untamed ocelots and it worked. I think the attack damage is not working correctly though; I set ocelots to attack cows, and they would kill the cow in four hits every time, whether the attack damage was set to 4, 400, or 4000 |