command /attribute

Player: mode, items, effects

Reads and changes the attributes of the essence: maximum health, size, speed, range of interaction. The reference value is set through "base set".

  • 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

  • Forty health - twenty hearts
    /attribute @s minecraft:max_health base set 40
  • Become half the size
    /attribute @s minecraft:scale base set 0.5
  • Find out your speed
    /attribute @s minecraft:movement_speed get

Rights - game master.

Syntax

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

  • /attribute <target> <attribute> (get|base|modifier)

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/attribute
RightsPlaymaster (2)
Where ison the server and in single player with cheats

Frequently asked questions

How to use the command /attribute?

Syntax: /attribute <target> <attribute> (get\base\modifier). For example, /attribute @s minor:max_health base set 40–40 - 20 hearts.

What rights are needed for /attribute?

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 the command block work?

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, player: mode, objects, effects

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.