Minecraft : Attribute Command Generator
Try the Commands Troubleshooting and Help page if you get stuff with server errors.
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
addedSummon villager, chickens and copper golems now use Mob Generator v2
patchBug in food components
addedSummon axolotl, and summon cow pages now use Mob Generator v2
patchText editor formatting not grouping like with like
addedSummon Generators moved to the Mob Generator v2
addedMinecraft 26.2 content
addedWIP Beta Mob Generator v2
patchGive item armor patch item detection
addedpre-release 26.2 content
addedWIP Beta Mob Generator v2
Read version history »
(120 More Updates)