How can I make a Custom Potion in Minecraft Bedrock Edition?

[BACK]
How can I make a Custom Potion in Minecraft Bedrock Edition?
Posted On: January 24, 2023

Java Edition has a feature allowing one to make potions with any effect, duration and color. Can I do this in Bedrock Edition?


Question from user Penguin at gaming.stackexchange.com.


Answer:

Yes.


A forewarning: This is a little bit a stretch of the term "potion", as our "potion" will be instantly consumed. This assumes you have a basic knowledge of chain command blocks and conditionals.


Approach.


Spawn eggs are one of the most useful things in commands, as they allow us to tell when a player has right-clicked/tapped. We will now know when the player "drinks" our potion whenever our entitiy has spawned.


Our "Potion".


Let's get a bat spawn egg and name it "Blackout Potion". When a spawn egg is given a custom name, the entity it spawns is given that name. Now that we've established the specifics, it's easy going from here.


How.


Place a repeating always active command block with the command:.


effect @e[type=bat,name="Blackout Potion"] invisibility 9999 255 true.


We do this as not to see the entity, as this will hide the death animation when we /kill it later. Notice we skip a /testfor - We have condensed it as this command will only return true if we find a bat by this name. Now a chain conditional always active command block with the command:.


execute @e[type=bat,name="Blackout Potion"] ~ ~ ~ effect @p[r=6] night_vision 45 255.


We then give this effect to the nearest player within 6 blocks of our entity. Now a chain conditional always active command block with the command:.


execute @e[type=bat,name="Blackout Potion"] ~ ~ ~ effect @p[r=6] blindness 45 255.


That is my second effect! If you don't know about this easter egg, follow this tutorial and you can see what happens when we mix these effects. What's actually happening here, though? We're merely adding a second effect to our potion. You can have more effects if you want, or just one. Remember the first number is how long each effect lasts, mine is 45 seconds each. The second value is the amplifier. It must be a number 0-255 (i.e. speed 30 0 = Speed I for 30 seconds, night_vision 120 4 = Night Vision V for 2 minutes).


Now a chain conditional always active command block with the command:.


kill @e[type=bat,name="Blackout Potion"].


Finally, say goodbye to our bat. He is useless now as we have used all the commands on him that we want.


Notes.


Use different entities to have different color potions! You have a lot of options.


This works best with gamerule domobdrops set to false, as it gives you more options. Don't want to? Just make sure the mob you use doesn't drop items (i.e. no cows, no zombies). Don't worry about XP - that only drops if a player kills a mob.


Named spawn eggs are so useful for so many things! Think of all the different things you can do: Custom mobs, traps, structure placements... Use these, so many don't consider this amazing item!.


Downsides.


Instantly consumed.


Must be pointed at a block to "drink".


Doesn't actually look like a potion.


Death sounds - Squeak! Moo!.


Answer from user Penguin at gaming.stackexchange.com.


[BACK]
How can I make a Custom Potion in Minecraft Bedrock Edition?
Posted On: January 24, 2023

Java Edition has a feature allowing one to make potions with any effect, duration and color. Can I do this in Bedrock Edition?


Question from user Penguin at gaming.stackexchange.com.


Answer:

Yes.


A forewarning: This is a little bit a stretch of the term "potion", as our "potion" will be instantly consumed. This assumes you have a basic knowledge of chain command blocks and conditionals.


Approach.


Spawn eggs are one of the most useful things in commands, as they allow us to tell when a player has right-clicked/tapped. We will now know when the player "drinks" our potion whenever our entitiy has spawned.


Our "Potion".


Let's get a bat spawn egg and name it "Blackout Potion". When a spawn egg is given a custom name, the entity it spawns is given that name. Now that we've established the specifics, it's easy going from here.


How.


Place a repeating always active command block with the command:.


effect @e[type=bat,name="Blackout Potion"] invisibility 9999 255 true.


We do this as not to see the entity, as this will hide the death animation when we /kill it later. Notice we skip a /testfor - We have condensed it as this command will only return true if we find a bat by this name. Now a chain conditional always active command block with the command:.


execute @e[type=bat,name="Blackout Potion"] ~ ~ ~ effect @p[r=6] night_vision 45 255.


We then give this effect to the nearest player within 6 blocks of our entity. Now a chain conditional always active command block with the command:.


execute @e[type=bat,name="Blackout Potion"] ~ ~ ~ effect @p[r=6] blindness 45 255.


That is my second effect! If you don't know about this easter egg, follow this tutorial and you can see what happens when we mix these effects. What's actually happening here, though? We're merely adding a second effect to our potion. You can have more effects if you want, or just one. Remember the first number is how long each effect lasts, mine is 45 seconds each. The second value is the amplifier. It must be a number 0-255 (i.e. speed 30 0 = Speed I for 30 seconds, night_vision 120 4 = Night Vision V for 2 minutes).


Now a chain conditional always active command block with the command:.


kill @e[type=bat,name="Blackout Potion"].


Finally, say goodbye to our bat. He is useless now as we have used all the commands on him that we want.


Notes.


Use different entities to have different color potions! You have a lot of options.


This works best with gamerule domobdrops set to false, as it gives you more options. Don't want to? Just make sure the mob you use doesn't drop items (i.e. no cows, no zombies). Don't worry about XP - that only drops if a player kills a mob.


Named spawn eggs are so useful for so many things! Think of all the different things you can do: Custom mobs, traps, structure placements... Use these, so many don't consider this amazing item!.


Downsides.


Instantly consumed.


Must be pointed at a block to "drink".


Doesn't actually look like a potion.


Death sounds - Squeak! Moo!.


Answer from user Penguin at gaming.stackexchange.com.


[BACK]

Is a horse actually faster than running? Is a horse actually faster than running?

Posted On: May 30, 2018
I'm pretty disappointed with my horse. He wasn't cheap -- 1000g -- but he just doesn't seem that fast. To make things worse, he's a bit of a wolf magnet and every time I get attacked I...[More]


In MoH Allied Assault, can you save Jack Grillo? In MoH Allied Assault, can you save Jack Grillo?

Posted On: March 13, 2023
has anyone confirmed whether it's possible to prevent the death of Maj. Jack Grillo at the start of Mission 2, Scuttling the U-529, Level 1, Secret Documents of the Kriegsmarine? I recently mad...[More]


Where in Skellige is this shipwreck located? Where in Skellige is this shipwreck located?

Posted On: October 5, 2023
I wanted to find a shipwreck in Witcher 3's Skellige for purposes of a Witcher Tabletop RPG campaign I'm playing, and I found these images of one:. While these images are nice, what they do...[More]


Defeating the helicopter in Split Second Defeating the helicopter in Split Second

Posted On: January 24, 2023
I'm having some trouble in the episode where you're supposed to defeat the helicopter. I do pretty well in the episodes where you're supposed to avoid the helicopter fire. I must be missing a power ...[More]


Can I have more than one of the same trading card? Can I have more than one of the same trading card?

Posted On: January 22, 2023
Steam now has trading cards. In order to get them, you're supposed to play specific games (currently there are only 6 games supported, but they've said more will come).However, it's only possible to ...[More]


USB Loader GX keeps on crashing to the Homebrew Channel USB Loader GX keeps on crashing to the Homebrew Channel

Posted On: March 24, 2023
I have a Wii on version 4.3U. One of my games used to work, but now all of them just crash to the Homebrew Channel. I already know there is another post about this, but I didn't perform a system u...[More]


Yenna doesn't get enough love. Yenna doesn't get enough love.

Posted On: March 6, 2026
I was going through a few reddit threads to get an idea of whether or not to accept the deals of Orin and Gortash, and whenever someone mentioned the kidnapping, they showed the least care for poor Ye...[More]


Broom races vs. type of broom Broom races vs. type of broom

Posted On: September 7, 2023
I got annoyed in previous playthroughs that I would miss the winning time by 10+ seconds or multiple hoops. This playthrough I picked a different broom from Albie Weeks, the one that mentions 'sta...[More]


What do the numbers next to the achievements mean in Overwatch? What do the numbers next to the achievements mean in Overwatch?

Posted On: May 18, 2023
Next to each achievement in Overwatch there's a little number in a circle, what does that mean? Question from user Wrigglenite at gaming.stackexchange.com. Answer: The number signifies th...[More]


How to unlock all tracks and cars? How to unlock all tracks and cars?

Posted On: April 23, 2024
The majority of cars (practically only 4WD vehicles are available) and more than half of the tracks are locked when starting a new game. Sadly unlocking content (campaign modes are "championship" and...[More]