Minecraft : Attribute Command Generator

Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors. Found a bug or want a feature, let us know on reddit.

Attribute Command Maker Tool

Create and manage attribute commands, select a target player or entity, set attribute and get attribute. For Minecraft Java Edition. Players and mobs can be modified with the attribute command. The command is fairly simple, but this tool helps you set up the target selectors and options.

See our list of attributes

Basic Usage

These example commands are set for the latest version of Java.

Get the current speed value of the target random player, it should be approximately 0.1.
/attribute @p movement_speed base get

Set the current speed value of the target random player, to twice as fast.
/attribute @p movement_speed base set 0.2

Reset the current speed value of the target random player.
/attribute @p movement_speed base reset

Only a maximum of one target can be set at a time.
/attribute @a[limit=1] movement_speed base set 0.2

Advanced Usage

So far we've looked at base value usage. With the modify command the base value can be adjusted in more complex ways. These modifiers don't affect the base value, but they do affect the total value of the attribute. This allows you to create temporary buffs and debuffs that can be easily removed without affecting the base value.

Get the total value of the target random player, it should be approximately 0.1 as above.
/attribute @p movement_speed get

We can then set a modifier that adds to the base value.
/attribute @p movement_speed modifier add custom_id 2 add_multiplied_base

These can be stacked.
/attribute @p movement_speed modifier add custom_id2 2 add_multiplied_base

Reset an individual modifier.
/attribute @p movement_speed modifier remove custom_id

Version History

20 Aug 2026
minecraft/command-generator 2.41.1

patchsummon blocks fixes and improvements
patchsome autocomplete quirky issues during typing

13 Aug 2026
minecraft/command-generator 2.41

addedUUID converter
patchFix for issue with items not re-encoding correctly for items, trades and containers
patchTrades for 1.20.4 and earlier now auto add Count if missing

6 Aug 2026
minecraft/command-generator 2.40

addedRefactored code base internally
patchSlime and Magma cubes, added isBaby tag
patchSulfur cubes added Size, and isBaby tags


Read version history »
(130 More Updates)