3

In Java Edition, I can give myself a potion with effect with an NBT tag:

give @s potion 1 0 {Potion:"minecraft:regeneration"}

However, I cannot do this in Bedrock Edition, as there is no access to NBT tags from commands.

How can I give myself a status effect potion with the /give command?


Browse more workarounds for getting/setting NBT in Bedrock Edition

4

Bedrock Edition uses data values to store the potion effect used by a potion or Tipped Arrow. To give a potion of tipped arrow with the specified effect, you use the command:

/give <player> potion <data value>

where the data value is looked up from this table:

Table for potions

Tipped arrows use a similar syntax:

/give <player> arrow <data value>

(note: it's just arrow, not tipped_arrow, unlike in Java Edition, and the data values are off by one)

Table for Tipped Arrows

| improve this answer | |
1

In fact, there is no need for an NBT here to give a potion.

You just need the data value for the item:

/give @a potion 1 7

Here is a table of data values for the potions.

Potion Table

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.