Attributes - MSWS/SuperGive GitHub Wiki
Attributes are what SuperGive uses to modify items. There are many attributes that you can use. Attributes are denoted with id:value.
Attribute | Description | Example |
---|---|---|
Command | Will change the command in a command block | command:/give @all stone |
Contents | Will fill the contents of the item (if it's a chest, dropper, etc) with the specified loadout | contents:#fullloadout |
Damage | Will change the durability of the item | damage:2 |
Enchantments | Will enchant the item | sharpness:4, soulspeed:3 |
Entity | Will set the mob that gets spawned by a mob spawner | entity:creeper |
Firework | Will add custom firework effects to the firework | firework:[Base Colors separated by space],,[effects],,,<power#> |
ItemFlag | Will add the specified itemflag to the item | flag:hideattributes, flag:hideenchants |
Lore | Will add a lore to the item | lore:First line, Second Line, Isn't this cool?! |
Name | Will set the display name of the item | name:Cool display name guys! |
Owner | Will set the owner of a player head, resulting in the skin being shown on it | owner:Notch |
Pattern | Will set a custom banner pattern | [pattern]:[color], base:black, curly_border:green, creeper:red |
Potion | Will add a custom potion effect to the potion | [potion]:[duration (in ticks)]:, speed:20000:2, jump:400 |
Stored | Will store an enchantment into an enchanted book | stored:sharpness:2, stored:protection |
Unbreakable | Will make the item unbreakable | unbreakable:true |
Vanilla | Will set the vanilla attributes of the item | attribute:armortoughness:5, attribute:attackspeed:500 |