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

Armor stands can have potion effects

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed

      Description

      Fix note

      ArmorStands can still have potion effects, however potion affects from thrown splash potions or lingering potions are not applied to them (see [Mojang] Searge (Michael Stoyke)'s comment).

      The bug

      ArmorStands can have potions but they do not affect them and they also show no particles.

      How to reproduce

      1. Place an armor stand
      2. Throw a splash or lingering potion at the armor stand
      3. Inspect the NBT data of the armor stand (for example by using the /entitydata command)

      You will probably find the ActiveEffects tag

      {NoGravity:0b,HurtByTimestamp:0,Attributes:[0:{Base:20.0d,Name:"generic.maxHealth"},1:{Base:0.0d,Name:"generic.knockbackResistance"},2:{Base:0.699999988079071d,Name:"generic.movementSpeed"},3:{Base:0.0d,Name:"generic.armor"}],Invulnerable:0b,ShowArms:0b,PortalCooldown:0,AbsorptionAmount:0.0f,FallDistance:0.0f,DisabledSlots:0,DeathTime:0s,Pose:{Head:[0:3.6275797f,1:7.3224716f,2:0.0f],Body:[0:0.0f,1:-2.029889f,2:0.0f]},Invisible:0b,Motion:[0:0.0d,1:-0.0784000015258789d,2:0.0d],Small:0b,UUIDLeast:-7734517510628796835L,Health:20.0f,Silent:1b,Air:300s,OnGround:1b,Dimension:0,Rotation:[0:0.0f,1:0.0f],HandItems:[0:{},1:{}],UUIDMost:2428460478001139510L,Pos:[0:778.5d,1:56.0d,2:-1941.5d],Fire:-1s,ArmorItems:[0:{},1:{},2:{},3:{}],NoBasePlate:0b,HurtTime:0s,ActiveEffects:[0:{Ambient:0b,ShowParticles:1b,Duration:377,Id:19b,Amplifier:0b}]}
      

      Note: This also causes them to consum lingering potions

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                searge [Mojang] Searge (Michael Stoyke)
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: