mojira.dev
MC-92559

Splash potions are broken / All thrown potions are water potions

When I tried to throw a splash potion of harming it didnt hurt mobs/me. Also tried with splash potion of leaping

Comment by @unknown on MC-92554:

Happens with all default and custom potions; the item data from the inventory potion is not stored on the ThrownPotion (defaulting to splash_potion with no effects, as well as a "ThrownPotion entity # has no item?!" error in log).

Linked issues

MC-92554 Throwing splash and lingering potions (any type) produces splash water bottles which have no effect Resolved MC-92563 Lingering Potions are Broken Resolved MC-92568 All thrown potion are splash blue non-functional potions Resolved MC-92584 Splash & Lingering Potions Don't Work. Resolved MC-92594 All splash and lingering potions do not give it's corresponding potion effect to the player when thrown on the ground. Resolved

Attachments

Comments 19

Relates to MC-85835.

Comment by @unknown on MC-92554:

Happens with all default and custom potions; the item data from the inventory potion is not stored on the ThrownPotion (defaulting to splash_potion with no effects, as well as a "ThrownPotion entity # has no item?!" error in log).

Yea, this is a game breaker.

Logical_Cyclops

I get the "ThrownPotion entity # has no item?!" spam as well, which it's filling up my server logs very fast.

Tan Chin Cheern

Previously doable:

/summon ThrownPotion ~ ~ ~ {Motion:[0.0,0.5,0.0],Potion:{id:"minecraft:dirt",Count:1,tag:{Potion:"minecraft:swiftness"}}}

Now broken... 😞

9 more comments

Confirmed. It's pretty funny fighting witches - they can't hurt you at all.

Tan Chin Cheern

Skylinerw, what do you mean by everything is missing?

Confirmed.

@Tan, An exmaple of the inventory item's NBT data for a lingering potion, modified to include a stack size of 2 to show that it's disregarded:

{id:"minecraft:lingering_potion",Count:2,Damage:0,tag:{Potion:"minecraft:swiftness"}}

The ThrownPotion entity will not take any of that data whatsoever, not just from what's within the "tag" tag. And because the ThrownPotion entity is now missing the potion data, it attempts to recover by adding default data, which is:

{id:"minecraft:splash_potion",Count:1,Damage:0}
reaverofdarknes1

I can confirm that splash potions of healing, harming, and regeneration are working in 15w47b. I didn't try any others.

Muneera Siddiq Albusmait

Erik Broes

Confirmed

Minecraft 15w46a

Minecraft 15w47a

Retrieved