command /data

Mobs and data

Reads and changes data of entities, blocks and storages: health, chest contents, mob fields.

  • rights - game master
  • Minecraft 26.3
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.

On page 6 sections

Briefly

Examples are verified by the game - copy

  • My health
    /data get entity @s Health
  • What's in the block under your feet
    /data get block ~ ~-1 ~
  • Turn off AI for nearby zombies
    /data merge entity @e[type=minecraft:zombie,limit=1,sort=nearest] {NoAI:1b}

Rights - game master.

Syntax

This is how the game itself shows it /help data: in angle brackets - what to substitute, in square brackets - optional, through a line - one of.

  • /data merge (entity|block|storage)
  • /data get (entity|block|storage)
  • /data remove (entity|block|storage)
  • /data modify (entity|block|storage)

Rights

We need a game master level: Level 2 for the command unit, for the data pack functions and for the guests of the world open to the network with authorized commands. It's written in server consoles without a cross-section.

Numbers

WhatMeaning
command/data
RightsPlaymaster (2)
Where ison the server and in single player with cheats
Subcommandsget, merge, modify, remove

Frequently asked questions

How to use the command /data?

Syntax: /data merge. For example, /data get entity @s Health is my health.

What rights are needed for /data?

We need a game master level: Level 2 for the command unit, for the data pack functions and for the guests of the world open to the network with authorized commands.

Does /data work in the command unit?

Yeah, the command unit's doing right-level 2 commands, and this one doesn't need any more. You don't have to write a line in the block.

Also: mice and data

According to Minecraft 26.3, the syntax is a clue to /help from the game itself, right from her command report, each example is checked by a review of the game's commands.