mojira.dev
MC-89365

Custom Potions are Broken

I have noticed that when making a custom potion, the custom effects don't override the potion's default effect. E.g., when I use the command below, I get a potion that has invisibility as well as blindness, but as I customized it, it should only have blindness.
Here's the command:

/give @p minecraft:splash_potion 1 0 {CustomPotionEffects:[{Id:15,Amplifier:0,Duration:200}],Potion:"minecraft:invisibility"}

If you think I'm doing it wrong, you're wrong. If you didn't know, they changed the potion item's format. I double checked, and looked at an item entity's NBT, and I'm right.

To test it, put the above command into a command block, and power it.
If you want to give yourself a custom water bottle, fine! However, you're also supposed to have the possibility of picking the color. A water bottle is just blue. For example, I thought gray would look good for a blindness potion. Thusly, I used an invisibility potion as base, and the custom effects should have overridden the base effect.

Linked issues

Attachments

Comments 24

[Mod] redstonehelper

Don't.

Logical_Cyclops

Again man! Your doing it
wrong, haven't you tried
the correct method?
because remaking a issue
that has been already resolved
shows you clear haven't

Correct Way:

{CustomPotionEffects:[{Id:15,Amplifier:0,Duration:200}]}

Please try it this time.

Don't assume this
isn't the right way as I tested
this. If you need me to show video
proof I can. Also I've been using
command blocks for months, so I
know my stuff, please believe me.

BUT THEN ITS JUST A WATER BOTTLE! THATS NOT HOW CUSTOM POTIONS WORK! I KNOW CUZ IVE WORKED WITH THEM BEFORE!

Logical_Cyclops

I've posted video proof
showing the correct way.

(see attachments).

guess what? I tried it. its a water bottle. is that how custom potions work? no. it isn't. why? because custom potions don't hafta be a water bottle. they're s'posed to have the possibility of not looking like a water bottle.

14 more comments
[Mod] redstonehelper

Please file a new ticket for the graphical glitch you found. No need to delete this ticket.

Ha. Ha. Ha. Very funny.

don't wanna dupe the graphical glitch

[Mod] redstonehelper

If it's been reported already you shouldn't make a new ticket, but you don't need to be afraid of duplicating tickets if you just make an effort to search before creating new tickets.

Stop commenting! My inbox isn't unused!

Sam Tooch

(Unassigned)

Unconfirmed

Minecraft 15w39b

Retrieved