Java Commands ↔ Bedrock

Commands

Java command to and from phoneLearn more

The Java Hyde command doesn't work on the phone, but Bedrock does on the PC. Put in the commands -- you get their recording for another version: selections, effects, experience, text and game rules.

My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

Commands

For Bedrock

Example: 6 out of 6

Bedrock commands

/give @p diamond_sword 1
/effect @a[r=10] speed 30 1
/xp 5L @s
/tellraw @a {"rawtext":[{"text":"§6Привет!"}]}
/execute as @e[type=zombie,c=3] run kill @s
/gamerule keepinventory true

How do the commands differ?

  1. Selectors

    distance=..5 in Bedrock - r=5, limit — c, gamemode — m, level — l and lm.

  2. Effects and Experience

    Java: effect give @p speed, Bedrock: effect @p speed. Experience levels in Bedrock - with letter: xp 5L @p.

  3. Text

    Java writes a JSON component, Bedrock writes rawtext and §-color codes. Click and hover don't work in Bedrock.

What you need to know

  • Not everything is translated. The components of items, NBT mobs and block states in Bedrock cannot be set with a command - the converter says it has been removed.
  • Check. Each line for Bedrock is parsed according to the official data of the Mojang commands - “verified” means that the game will accept it.
  • Sounds and particles are called differently in the versions - it's worth checking their names in the game.

All Bedrock commands with parameters - wiki «Bedrock», the old /give will translate to the new Java entry converter /give.

Frequently asked questions

Why doesn't the command from the guide work on the phone?

The guide is written for Java, but on a Bedrock phone: selectors, effects and experience are written differently there. Paste the command and the page will translate it.

How to write effect in Bedrock?

Without the word give: /effect @p speed 30 1. Remove all effects - /effect @p clear.

How is distance different from r?

This is the same condition: Java writes distance=..5, Bedrock writes r=5, and the lower bound is rm.