Advertisement
Brianthecoo

Minecraft Custom Weapons

May 14th, 2016
10,243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1. Video Link Explaining These Commands:https://youtu.be/FLT6pyk6VtI
  2.  
  3. Names and Lores
  4. /give @p minecraft:iron_sword 1 0 {display:{Name:"Knife",Lore:["Backstab"]}}
  5.  
  6. Enchantments
  7. /give @p minecraft:diamond_sword 1 0 {ench:[{id:16,lvl:5},{id:17,lvl:3},{id:18,lvl:3},{id:19,lvl:2},{id:20,lvl:3}]}
  8.  
  9. Attribute Modifiers
  10. /give @p minecraft:stone_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.5,operation:1,UUIDMost:3,UUIDLeast:2,Slot:"mainhand"}]}
  11.  
  12. All in One
  13. /give @p minecraft:golden_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:20,operation:1,UUIDLeast:1,UUIDMost:2,Slot:"mainhand"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:5,operation:1,UUIDLeast:3,UUIDMost:4,Slot:"offhand"}],display:{Name:"Golden Dagger",Lore:["The Dagger of Kings"]},ench:[{id:16,lvl:10},{id:34,lvl:10},{id:34,lvl:10}]}
  14.  
  15. All in One (Including HideFlags and Unbreakable)
  16. /give @p minecraft:golden_sword 1 0 {HideFlags:1,Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:20,operation:1,UUIDLeast:1,UUIDMost:2,Slot:"mainhand"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:5,operation:1,UUIDLeast:3,UUIDMost:4,Slot:"offhand"}],display:{Name:"Golden Dagger",Lore:["The Dagger of Kings"]},ench:[{id:16,lvl:10},{id:34,lvl:10},{id:34,lvl:10}]}
  17.  
  18. Dragon Sword
  19. /summon Item ~ ~1.2 ~ {CustomName:"Dragon Sword",CustomNameVisible:1,Item:{id:stone_sword,Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:40,Operation:0,UUIDLeast:502528,UUIDMost:839202,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.4,Operation:1,UUIDLeast:989880,UUIDMost:23168,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.6,Operation:1,UUIDLeast:551737,UUIDMost:431744,Slot:"mainhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:105,Operation:0,UUIDLeast:15281,UUIDMost:685584,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.3,Operation:0,UUIDLeast:23791,UUIDMost:360678,Slot:"mainhand"}],display:{Name:"Dragon Sword"},ench:[{id:16,lvl:3},{id:17,lvl:3},{id:18,lvl:3},{id:19,lvl:3},{id:20,lvl:3},{id:21,lvl:3}]}}}
  20.  
  21. Mooshroom Sword
  22. /give @p minecraft:diamond_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.5,Operation:0,UUIDLeast:968173,UUIDMost:814877,Slot:"mainhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:50,Operation:0,UUIDLeast:262062,UUIDMost:187384,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:1.4,Operation:0,UUIDLeast:725095,UUIDMost:676749,Slot:"mainhand"}],display:{Name:"Mooshroom Sword",Lore:[Moo]},ench:[{id:16,lvl:10},{id:16,lvl:10},{id:34,lvl:10},{id:19,lvl:5},{id:20,lvl:5}]}
  23.  
  24. Mooshroom Sword Special Effects (This was created using MrGarretto's Command Combiner, http://mrgarretto.com/cmdcombiner)
  25.  
  26. /summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:"/scoreboard objectives add moo dummy"},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 4 replace {auto:1,Command:"/scoreboard players reset @a[score_moo_min=1] moo"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 4 replace {auto:1,Command:"/replaceitem entity @a[score_moo_min=1] slot.armor.head minecraft:skull 1 3 {SkullOwner:Brainthecoo}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/effect @a[score_moo_min=1] minecraft:regeneration 1 1"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/effect @a[score_moo_min=1] minecraft:jump_boost 1 3"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_moo_min=1] ~ ~ ~ summon Item ~ ~ ~ {Motion:[0.0,0.2,0.0],Item:{id:red_mushroom_block},Age:5980,PickUpDelay:32767}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_moo_min=1] ~ ~ ~ summon Item ~ ~2 ~ {Motion:[0.0,0.2,0.0],Item:{id:red_mushroom},Age:5980,PickUpDelay:32767}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5 replace {auto:1,Command:"/scoreboard players set @a moo 1 {SelectedItem:{id:minecraft:diamond_sword,tag:{display:{Name:\\\"Mooshroom Sword\\\"}}}}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
  27.  
  28. Enchantment IDs
  29.  
  30. Protection 0
  31. Fire Protection 1
  32. Feather Falling 2
  33. Blast Protection 3
  34. Projectile Protection 4
  35. Respiration 5
  36. Aqua Affinity 6
  37. Thorns 7
  38. Depth Strider 8
  39. Frost Walker 9
  40. Sharpness 16
  41. Smite 17
  42. Bane of Arthropods 18
  43. Fire Aspect 19
  44. Knockback 20
  45. Looting 21
  46. Efficiency 32
  47. Silk Touch 33
  48. Unbreaking 34
  49. Fortune 35
  50. Power 48
  51. Punch 49
  52. Flame 50
  53. Infinity 51
  54. Luck of the Sea 61
  55. Lure 62
  56. Mending 70
  57.  
  58. Attribute Names
  59.  
  60. generic.maxHealth
  61. generic.movementSpeed
  62. generic.knockbackResistance
  63. generic.attackDamage
  64. generic.attackSpeed
  65. generic.armor
  66. generic.armorToughness
  67. generic.luck
  68. generic.followRange
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement