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]

Which is the original L’Abbaye des morts game? Which is the original L’Abbaye des morts game?

Posted On: March 20, 2024
The game L’Abbaye des morts can be found implemented for many retro and modern systems. For example:.Commodore 64.Sega.ZX Spectrum.It is visible that the game is implemented by different people or c...[More]


What game is this character on Nintendos eShop from? What game is this character on Nintendos eShop from?

Posted On: April 19, 2024
I've been planning to buy a 3DS and was exploring Nintendo's eShop online and I ran across one of the buttons advertising games with DLC and it has a character that I have never seen before?Does anyon...[More]


How do I settle a companion in my Serenitea Pot? How do I settle a companion in my Serenitea Pot?

Posted On: October 24, 2023
After finding out I can use extra Realm Layouts without disadvantages I have setup one with some of the companion sets in to earn the primogems from the reward. However after adding the sets and pu...[More]


How can I recognize wanted criminals in Godlike Burger? How can I recognize wanted criminals in Godlike Burger?

Posted On: October 17, 2023
There's this event in Godlike Burger where your restaurant may sometimes be visited by wanted criminals that you can kill for a money reward. Problem is, I don't see any distinguishable marks ...[More]


Is there any way I can give myself 360° vision in game? Is there any way I can give myself 360° vision in game?

Posted On: March 15, 2024
A key gameplay mechanic in Project Zomboid is that your character can only see what's in front of them, even though the game has an isometric perspective. Anything behind becomes shrouded. That's fine...[More]


Arachnophobia Mode useless? Arachnophobia Mode useless?

Posted On: July 18, 2023
Hi, I am a huge fan of HL and I have always been really scared of spiders (I even have to tell myself to stay calm when I hover over them in the menu). I bought the deluxe version so that I could play...[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]


What is the hidden trophy below Lore Master? What is the hidden trophy below Lore Master?

Posted On: August 25, 2023
In Lucky Luna's trophy list there is a hidden Story Mode trophy marked ??? near the bottom of the list. It sits between the trophies for Lore master and Taking flight. What are the requirements fo...[More]


What do the stars under can produce mean in against the storm What do the stars under can produce mean in against the storm

Posted On: February 7, 2023
Does it mean it can produce those goods faster, higher quality or what? Is it worth it to replace buildings with higher starred versions or prioritize going for buildings with new stuff?So for example...[More]


How do you gauge the Near Pin Percent of a transaction? How do you gauge the Near Pin Percent of a transaction?

Posted On: January 23, 2023
In Recettear, when you're buying/selling, the tutorial gives you the base "range" of acceptable percents to offer to the customers. It seems that there's a magic number to put down in order to get the...[More]