Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-19753

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.0.1, 1.0.4.11
    • Confirmed
    • Windows

      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 SuperGeniusZeb:
      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
      },

            Ezra101 Cecil McIntosh
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: