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]

How do I unlock Floaro Gardens in Pokémon Legends: Arceus How do I unlock Floaro Gardens in Pokémon Legends: Arceus

Posted On: July 12, 2023
I want to unlock Floaro Gardens in Pokémon Legends: Arceus, but I didn't play Pokémon Sword or Shield. Is there any way to unlock it? Question from user Maria Zapata at stackexcha...[More]


Fortnite Screen Wont Resize PC Fortnite Screen Wont Resize PC

Posted On: February 24, 2023
This might be a bug, but I really can't be sure. I'm probably doing something wrong, so I'm here to ask you guys!. So I have been playing Fortnite Battle Royale recently, and this is ne...[More]


What happened to Elizabeth Peralez last messages? What happened to Elizabeth Peralez last messages?

Posted On: February 12, 2023
WARNING: This question and any answers will almost certainly contain spoilers for the Peralez' quest chain. Proceed at your own risk.I completed the quest Dream On by telling Jefferson about the spy r...[More]


Elder Scrolls V: Is there a reliable, continuous source for dragon locations? Elder Scrolls V: Is there a reliable, continuous source for dragon locations?

Posted On: August 26, 2023
I'm trying to gather bones and scales to make armor for one character, and I've come to realize that there's never really any dragons around when you want them to be. Is there a reliabl...[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]


What happens if I defeat an enemy and run out of HP at the same time? What happens if I defeat an enemy and run out of HP at the same time?

Posted On: January 18, 2023
What happens if I defeat an enemy and run out of HP at the same time? For example, if you use a self damaging attack like Boomerang or if you take damage form attacking an enemy with Thorns. Questi...[More]


What does saying X mean in the faction chat in Albion Online? What does saying X mean in the faction chat in Albion Online?

Posted On: May 16, 2023
I see many people "x" in the chat, but I cannot find a clear answer to what it means. Asking in the chat also does not give me any answers. Question from user TheBird956 at gaming.stackex...[More]


How to test if The Digital Deluxe Edition is active in Baldurs Gate 3? How to test if The Digital Deluxe Edition is active in Baldurs Gate 3?

Posted On: September 29, 2023
I bought The Digital Deluxe Edition with the game. Then, I refunded the game, but not The Digital Deluxe Edition - it was my silent protest against it not working properly on SteamDeck despite its &qu...[More]


Does XBox gamepad emulator software exist for the PC? Does XBox gamepad emulator software exist for the PC?

Posted On: March 21, 2023
What I'm hoping to do is use a second keyboard and/or mouse in the place of a gamepad for games that require a gamepad to enable multiplayer gaming. I've noticed a few games that are XBox port...[More]


I don't understand why people think what happens to gale... I don't understand why people think what happens to gale...

Posted On: December 3, 2023
. Is a bad thing. He ascend to being a god, and he was as nice as he ever was. I'm really happy he achieved what he wanted, and now I have a god best friend. So what's the deal? Question fr...[More]