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

spell_effects attribute cannot apply potion effects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.2.10.2
    • None
    • Unconfirmed
    • Windows

      The minecraft:spell_effects attribute can remove effects but not apply them. This is both true in its vanilla use with the zombie villager and trying to apply the attribute elsewhere using a behaviour pack.

      To test:
      Summon a zombie villager and throw a weakness splash potion at it to give it the weakness effect. interact with it using a golden apple to begin the conversion process to villager.

      Result:
      The zombie will shake, the conversion sound will play and the weakness effect will be removed, but the strength effect specified in the behaviour file is not added as evidenced by the lack of effect swirls and the fact that the zombie deals 3 damage to the player before and after the weakness and apple are applied.

      Trying to apply potion effects to mobs as a component or component group will cause no effect to appear on the entity.

            sparks Sparks
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: