Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-277376

Consumable block animation inherits shield behaviors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21.2 Pre-Release 2
    • 24w40a
    • None
    • Confirmed
    • Items
    • Important
    • 1310994
    • Expansion B

      Setting the animation option for the consumable item component to block will cause the item to behave like a shield while consuming it.

      Steps to Reproduce:

      1. Run command
        /give @s stick[minecraft:consumable={consume_seconds:1000000,animation:block}]
        
      2. Let a mob attack you while "consuming" the item

      Observed Results:
      Damage is negated and shield sound effects are played. Arrows bounce off and will trigger the "Not Today, Thank You" advancement. If attacker has an axe, it will disable the item temporarily.

      Expected Results:
      Item would play the block animation while otherwise behaving identically to any other animation option.

            Dat12 [Mojang] etanaratsastaja
            LadyEternal Erin Fite
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: