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]

I have become death the destroyer of worlds I have become death the destroyer of worlds

Posted On: April 11, 2024
Got all the rune powder barrels and got the bomb as well (not using it for gondians lol). Any suggestions on what to nuke?Question from user migue_sonic at BaldursGate3 at reddit.com.Answer:Looks like...[More]


When being killed by an object or non-player, does that entity gain the XP I had in diep.io? When being killed by an object or non-player, does that entity gain the XP I had in diep.io?

Posted On: April 16, 2024
If you are killed by a Sentry/Boss/Shape in arras.io, it appears on the leaderboard and Sentries and Crashers get visibly bigger.I would like to know if this is the same in diep.io even though these t...[More]


Is it possible to prevent being ambushed by a FOE? Is it possible to prevent being ambushed by a FOE?

Posted On: April 30, 2024
FOEs, unlike regular encounters, appear on the map. They always face a direction, and if you walk into them from behind, you always get a preemptive strike. Conversely, if they want into you from behi...[More]


Mass Effect 3, Is there nothing to scan for in the Ninmah Cluster? Mass Effect 3, Is there nothing to scan for in the Ninmah Cluster?

Posted On: May 21, 2023
I have had access to the Ninmah Cluster for a while now after doing some mission there. I have been around scanning a couple of times now between mission with out any luck. For all other areas where I...[More]


Does dying in Richter Mode end my run in Dead Cells? Does dying in Richter Mode end my run in Dead Cells?

Posted On: April 8, 2023
I unintentionally started Richter Mode by freeing Richter then later examining his cage. Now I'm playing as Richter in a different area without any of my items or upgrades. If I die as Richter ...[More]


Should I turn in sebastion in Hogwarts Legacy? Should I turn in sebastion in Hogwarts Legacy?

Posted On: March 16, 2023
I already learned Avada Kedavra so there's no point for me to keep him around just wondering if there are any underlining consequences to doing so, plus he does say whatever happens he's glad ...[More]


How much stardust do I need to trade my Charcadet in Pokemon Go? How much stardust do I need to trade my Charcadet in Pokemon Go?

Posted On: March 9, 2024
This is my Charcadet. I tried to trade it with my other account but it said I don't have enough stardust.Question from user Kaito at gaming.stackexchange.com.Answer:It depends on if the other account ...[More]


Can you cast Avada Kedavra on students and teachers? Can you cast Avada Kedavra on students and teachers?

Posted On: July 22, 2023
I haven't unlocked the killing curse (Avada Kedevra) yet, but I have seen and used it in one of the battle arenas. But now I am wondering: When you eventually unlock it later in the game as a n...[More]


Why do I need at least 30 Splatoon3 wins to earn the relative special weapon badge? Why do I need at least 30 Splatoon3 wins to earn the relative special weapon badge?

Posted On: April 16, 2023
According to Splatoon wiki:. If a player wins a match with a special weapon a certain number of times, they obtain normal, silver and gold badges. The number of required wins are 30, 180 and 120...[More]


Today I learned Today I learned

Posted On: August 29, 2023
That you can simply kill a dugbog by slicing its tongue. Question from user BoosterSeat3 at HogwartsLegacyGaming at reddit. Answer: Yeah! If you keep your eye on the dueling feats, they usual...[More]