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).

Related issues

MC-92554 Throwing splash and lingering potions (any type) produces splash water bottles which have no effect MC-92563 Lingering Potions are Broken MC-92568 All thrown potion are splash blue non-functional potions MC-92584 Splash & Lingering Potions Don't Work. MC-92594 All splash and lingering potions do not give it's corresponding potion effect to the player when thrown on the ground. MC-92596 The Splash/Lingering Potions don't work MC-92602 Splash potions not working MC-92611 Splash potion bug MC-92612 Splash Potions Turn To Water Splash Potions When Thrown MC-92616 splash pots dont go no more MC-92622 Splash Potions turn in to Splash Potion of Water when thrown MC-92659 Splash potions are broken any splash potion thrown is only a splash water potion MC-92666 Splash potion are not working with command and with new snapshot 15w46a creative inventory splash potions are not working. MC-92671 Potions thrown by witches have no effect MC-92682 Potion bug. No effects MC-92701 Zombie Villager Doesnt Take Weakness Effect MC-92717 Invisibility Pots not working MC-92744 Throwing a splash potion of any kind will throw a splash water bottle instead MC-92754 Lingering Potion error MC-92768 Lingering Potions don't work MC-92773 Potions of weakness broken MC-92788 Lingering Potion not doing anything MC-92790 No potion effect symbol MC-92794 problom with lingering potions MC-92801 lingering and splash potions have no effect in the 15w46a MC-92805 Lingering Potions accidentally thrown splash water bottles MC-92806 When thrown all potions become splash water bottle MC-92813 Lingering and splash potion not working MC-92815 Splash Potions do not give effects MC-92827 Potion Bug MC-92841 Splash and lingering potions don't work MC-92860 Potions MC-92881 Can't Cure Zombie Villagers, potion effects MC-92891 Throw lingering potion has no effect. MC-93175 Witch throwing incorrect potion?

Attachments

Comments

migrated
[media][media][media][media][media]
migrated

Relates to MC-85835.

migrated

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).

migrated

Yea, this is a game breaker.

migrated

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

migrated

Previously doable:

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

Now broken... 😞

migrated

The error is [Client thread/ERROR] : ThrownPotion entity 2415(and other numbers) has no item?!
and here is a video https://youtu.be/vPGCoNLTR7w

migrated

Well, apparently it says "Unable to summon object" if using this command:

/summon ThrownPotion ~ ~ ~ {Motion:[0.0,0.5,0.0],Potion:"minecraft:swiftness"}
migrated
migrated

not only that, but that was never posible, your "previously doable" is the correct format

migrated

Hopefully this gets fixed - fast. Also got the NBTtag from the potion:

{Motion:[0:-0.17055549335343143d,1:-0.384266503147023d,2:0.24446597792495978d],shake:0b,xTile:-1,UUIDLeast:-8318137210266720776L,Potion:{id:"minecraft:splash_potion",Count:1b,Damage:0s},inGround:0b,Invulnerable:0b,Air:300s,OnGround:0b,Dimension:0,PortalCooldown:0,Rotation:[0:-34.901978f,1:-23.556435f],FallDistance:0.0f,inTile:"minecraft:air",UUIDMost:5961649110150892353L,ownerName:"RobuxShooters",Pos:[0:1353.4778149972935d,1:17.387680315199987d,2:1160.94360847279d],zTile:-1,Fire:0s,yTile:-1}

Seems that the tag for the Potion section is not there:

Potion:{id:"minecraft:splash_potion",Count:1b,Damage:0s}
migrated

@@unknown I think it doesn't have to be when there's a Damage (data) value present, but this value is 0, which means it's a water potion (it shouldn't be).

Skylinerw

@Tan, @Steven, It's not the tag tag that's missing, it's everything. No matter what you provide it, it defaults to an ID of "minecraft:splash_potion", Count of 1, and Damage of 0. And no, the damage value no longer dictates what type of potion it is and is always 0 for potions.

migrated

I just wonder how they manage to break
potions like this, but out of all things,
potions get broken? First it was all tipped
arrows turning black in one of the older
snapshots since they were probably adding
new stuff at the time. But potions? makes
no sense.

kumasasa

@unknown: Always remember that you're testing snapshots. That's not a full featured bug free version, it's simply the compiled state of the head of the development branch - hence the name. In a snapshot everything can (and will) happen.

Cavinator1

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

migrated

Skylinerw, what do you mean by everything is missing?

[Mod]Les3awe

Confirmed.

Skylinerw

@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}
migrated

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

migrated

Erik Broes

Confirmed

Minecraft 15w46a

Minecraft 15w47a

Retrieved