HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

/attribute Command Tutorial Minecraft 1.16+ Snapshot 20w17a Change Player Data with Commands

86,696 views April 26, 2020 10:38

Watch on YouTube
ChannelCode_Zealot - Java Edition

Description from the creator

In this video we learn how to use /attribute in Minecraft 1.16+ Snapshot 20w17a. For the first time ever, we can change player data with commands! This is going to make it possible to do so many amazing things in Java Edition. I will be using this command in my Minecraft RPG Datapacks, which will be released slowly beginning May 2020! Here are some example commands you can use to play around with /attribute and learn how to use UUID modifiers as well!

/attribute @s minecraft:generic.max_health base set 1000.0
/attribute @s minecraft:generic.max_health base set 1.0
/attribute @s minecraft:generic.max_health base set 10.0
/attribute @s minecraft:generic.armor base set 90.0
/attribute @s minecraft:generic.armor base set 0.0
/attribute @s minecraft:generic.attack_damage base set 1.0
/attribute @s minecraft:generic.attack_damage base set 10000.0
/attribute @a[scores={lvl=1}] minecraft:generic.max_health base set 10.0
/attribute @a[scores={lvl=2}] minecraft:generic.max_health base set 20.0
/attribute @a[scores={lvl=3}] minecraft:generic.max_health base set 30.0
/attribute @s minecraft:armor modifier add 4fd539a4-fb89-45d9-8c6a-d07da532a501 cz_armor 3.0 add
/attribute @s minecraft:armor modifier remove 4fd539a4-fb89-45d9-8c6a-d07da532a501

Join my Discord!
discord.gg/tPpsTDh


Check out the other videos on how to use commands in Minecraft to learn more!

Documentation for /attribute:
minecraft.gamepedia.com/Commands#attribute

---------------------------------------------------------------------------------
Social Media
--
Twitter:
twitter.com/CodeZealotTuts

Facebook:
facebook.com/Code-Zealot-1836969809884269/

Reddit:
reddit.com/user/CodeZealotTutorials/
---------------------------------------------------------------------------------

About this tutorial

Code_Zealot - Java Edition published this 10:38 video tutorial on April 26, 2020. It has been watched 86,696 times on YouTube.

Category
Gaming
Duration
10:38
Published
April 26, 2020
Views
86,696
Likes
1,521

Tags

Share

Further reading

  • Attribute – Official Minecraft Wiki minecraft.gamepedia.com

    As of 1.16, the player can also use the /attribute command to apply attributes. This command example makes the Luck attribute high enough to fish treasures nearly every time: /attribute @p minecraft:generic.luck base se…

  • Java Edition 20w17a – Official Minecraft Wiki minecraft.gamepedia.com

    20w17a is the thirteenth snapshot for Java Edition 1.16, released on April 22, 2020,1 which added the /attribute command, tweaked bastion remnant loot, and lowered the spawn rate of ruined portals, along with bug fixes.…

  • More Nether Tweaks Incoming - Snapshot 20w17a is out! : Minecraft reddit.com

    Snapshots are available for Minecraft Java Edition. To install the snapshot, open up the Minecraft Launcher and enable snapshots in the "Installations" tab. Testing versions can corrupt your world, please backup and/or…

This tutorial in other languages