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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0.1, 1.0.4.11
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Platform:
      Windows 10 - PC

      Description

      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 [MCPE Helper] 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
      },

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: