How To Add The NEW Attributes to ITEMS (Minecraft 1.21)

Sdílet
Vložit
  • čas přidán 8. 06. 2024
  • This update is HUGE for mapmakers! I'm excited to see what everyone does with this!
    Join my discord! / discord
    Commands:
    Scaling Size Up
    /give @a diamond_boots[attribute_modifiers={modifiers:[{type:"generic.scale",amount:2,slot:feet,id:"generic.scale",operation:add_multiplied_base}]}]
    Longer attack range
    /give @a diamond_shovel[attribute_modifiers={modifiers:[{type:"player.entity_interaction_range",amount:2,slot:mainhand,id:"player.entity_interaction_range",operation:add_value}]}]
    Low Gravity Boots
    /give @a diamond_boots[attribute_modifiers={modifiers:[{type:"generic.gravity",amount:-0.9,slot:feet,id:"generic.gravity",operation:add_multiplied_base}]}]
    High Gravity Boots
    /give @a diamond_boots[attribute_modifiers={modifiers:[{type:"generic.gravity",amount:1,slot:feet,id:"generic.gravity",operation:add_multiplied_base}]}]
    Higher Step Height
    /give @a diamond_boots[attribute_modifiers={modifiers:[{type:"generic.step_height",amount:4,slot:feet,id:"generic.step_height",operation:add_value}]}]
  • Hry

Komentáře • 37

  • @LookOut3D
    @LookOut3D Před 15 dny +5

    Pretty neat

    • @BurntOutGamer
      @BurntOutGamer  Před 15 dny +1

      Yes! I love what they're doing with the game!

  • @thisisnotkj
    @thisisnotkj Před 15 dny +5

    actually really useful and informative vid, ty sir

  • @islimeguy
    @islimeguy Před 13 dny +2

    Thanks for being on top of this ahead of the update!

    • @BurntOutGamer
      @BurntOutGamer  Před 13 dny

      No problem! Had to do it to fix my mini game anyways haha :)

  • @jamesmcgraw9770
    @jamesmcgraw9770 Před dnem +1

    Man you need more subscribers

  • @batcat3660
    @batcat3660 Před 17 dny +3

    So excited for the full update!

  • @raheelyahyamalik8103
    @raheelyahyamalik8103 Před 4 dny +2

    are you able to do it with op commands? This video has been very useful!

    • @BurntOutGamer
      @BurntOutGamer  Před 4 dny +1

      Some of them you can, it just depends on how long the command is because in game commands have a character limit, while command blocks have almost no limit.

    • @raheelyahyamalik8103
      @raheelyahyamalik8103 Před 4 dny

      @@BurntOutGamer Thank you!

    • @BurntOutGamer
      @BurntOutGamer  Před 4 dny +1

      @@raheelyahyamalik8103 of course! Make sure you subscribe if you haven’t already. I’m gonna be exploring the 1.21 changes a lot more in future videos :)

  • @orthodoxclam8588
    @orthodoxclam8588 Před 16 dny +1

    Hey what kinda mic do you use? That is some clean audio

  • @graham7964
    @graham7964 Před dnem

    Besides offhand, mainhand, and armor slot can you have it just check if its in your inventory?

    • @BurntOutGamer
      @BurntOutGamer  Před dnem

      the attribute feature can't apply attributes other than in those slots. But you can test for an item in a players inventory using /execute if entity and applying the correct nbt selectors.

  • @cadenmc3961
    @cadenmc3961 Před 15 dny +2

    how would i go about adding multiple attributes to the same item? for example, while changing scale i would like the step height to match the size.

    • @mankosan6737
      @mankosan6737 Před 15 dny

      8:09 idk if this is what you mean, but figure it won't hurt

    • @BurntOutGamer
      @BurntOutGamer  Před 15 dny +1

      You can simply add another entry in curly brackets with a comma separating the two. An example: /give @a diamond_boots[attribute_modifiers={modifiers:[{type:"generic.scale",amount:2,slot:feet,id:"generic.scale",operation:add_multiplied_base},{type:"generic.step_height",amount:2,slot:feet,id:"generic.step_height",operation:add_value}]}]

    • @cadenmc3961
      @cadenmc3961 Před 15 dny +1

      @@BurntOutGamer thank you! i thought i had the format right but i forgot the comma lol

    • @BurntOutGamer
      @BurntOutGamer  Před 15 dny

      @@cadenmc3961 yeah, I’ve been working on re writing a ton of code for my pvp map and there have been so many small mistakes like that that destroy my entire data pack haha

  • @jaredeyler5810
    @jaredeyler5810 Před 16 dny +2

    is there anyway i can have the command for the gravity boots? im new to modifying attributes on items and it helps to see the command for me.

    • @BurntOutGamer
      @BurntOutGamer  Před 16 dny

      I totally meant to add commands in the description, I’ll do that in a few hours as I’m away right now

    • @BurntOutGamer
      @BurntOutGamer  Před 16 dny

      Okay I just updated the video description with all the commands. Here is the command you asked for: Low Gravity Boots
      /give @a diamond_boots[attribute_modifiers={modifiers:[{type:"generic.gravity",amount:-0.9,slot:feet,id:"generic.gravity",operation:add_multiplied_base}]}]

    • @jaredeyler5810
      @jaredeyler5810 Před 15 dny +1

      @@BurntOutGamer ty so much this was really helpful for me definitely earned a sub!

  • @Someone-lq6ep
    @Someone-lq6ep Před 14 hodinami

    I'm trying to make an armor set where every piece adds 1 speed but when I use the full set it's still only 1 speed above base and when I take one piece off the other ones don't give their bonus until I take them off and put them back on, does anybody know how to fix this?

    • @BurntOutGamer
      @BurntOutGamer  Před 7 hodinami

      You need to make sure the id section is different for each piece of armor. In the old attribute system there was separate UUID values for each attribute. The ID field works the same way in the new update. Let me know if you have any more issues/questions from there

  • @jKaiser_
    @jKaiser_ Před 15 dny

    Minecraft bedrock?

  • @joostvanassenbergh180
    @joostvanassenbergh180 Před 14 dny +1

    Hadn't seen @n before but it's a great shorthand, I always used to do @e[sort=nearest,limit=1]

    • @BurntOutGamer
      @BurntOutGamer  Před 14 dny

      I agree! I did the same thing before it came out