Mojira Archive
MC-91050

Armor stands can have potion effects

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

Fixed

Marcono1234

[Mojang] Searge (Michael Stoyke)

2015-10-21, 04:42 PM

2024-09-13, 03:39 PM

2015-12-03, 03:06 PM

0

4

Confirmed

armor_stand, potion-effect

Minecraft 15w43a, Minecraft 15w45a

Minecraft 15w49b