Arqade Asked on January 14, 2021
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
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:
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)
Correct answer by pppery on January 14, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP