Advertisement
Lmeagno

(2014, Nov 7) Updated RuneScape Mining

Nov 7th, 2014
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. /scoreboard objectives add RSMine dummy
  2. ====================================================================
  3. /scoreboard players add @e[type=ArmorStand,team=!NotMining] RSMine 1 {Small:1}
  4.  
  5. /scoreboard players reset @a[score_RSMine_min=101] RSMine
  6. /scoreboard players add @a RSMine 1 {SelectedItem:{id:minecraft:stone_pickaxe}}
  7. /scoreboard players add @a RSMine 2 {SelectedItem:{id:minecraft:iron_pickaxe}}
  8. /scoreboard players add @a RSMine 5 {SelectedItem:{id:minecraft:diamond_pickaxe}}
  9. ====================================================================
  10. [DUPLICATE PER ORE/ITEM] - ITEM SCORE
  11. /scoreboard players set @e[type=Item] RSMine 1 {Item:{id:minecraft:iron_ore}}
  12.  
  13. [DPO/I] - SUMMON ARMOR STAND
  14. /execute @a[score_RSMine_min=80] ~ ~ ~ /execute @e[c=1,r=5,type=Item,score_RSMine=1,score_RSMine_min=1] ~ ~ ~ /summon ArmorStand ~ ~ ~ {Invulnerable:1,Invisible:1,NoGravity:1,Small:1,DisabledSlots:1,CustomName:"Iron"}
  15.  
  16. [DPO/I] - RESET SPECIFIC BLOCK
  17. /execute @e[type=Item,score_RSMine=1,score_RSMine_min=1] ~ ~ ~ /setblock ~ ~ ~ iron_ore 0 replace
  18.  
  19. CLEAN UP COMMANDS
  20. /execute @e[type=Item,score_RSMine_min=0] ~ ~ ~ /kill @e[type=XPOrb,r=0]
  21. /kill @e[type=Item,score_RSMine_min=0]
  22.  
  23. [DPO/I] - CUSTOM RESOURCE
  24. /execute @e[type=ArmorStand,name=Iron] ~ ~ ~ detect ~ ~ ~ iron_ore 0 /give @p dye 1 7 {display:{Name:"Test Iron"}}
  25.  
  26. SETBLOCK ROCKY OUTCROP
  27. /execute @e[type=ArmorStand,team=!NotMining] ~ ~ ~ /setblock ~ ~ ~ stone_slab 3 replace
  28.  
  29. [DPO/I] - RESET SPECIFIC BLOCK (AGAIN)
  30. /execute @e[type=ArmorStand,name=Iron,score_RSMine_min=100] ~ ~ ~ /setblock ~ ~ ~ iron_ore 0 replace
  31.  
  32. [DPO/I] - REMOVE ARMOR STAND
  33. /kill @e[type=ArmorStand,name=Iron,score_RSMine_min=100]
  34.  
  35.  
  36.  
  37.  
  38.  
  39. OTHER COMMANDS:
  40. ===============================
  41. /scoreboard teams add NotMining
  42. /scoreboard teams join NotMining @e[type=ArmorStand,r=3]
  43. /scoreboard players reset @e[type=ArmorStand,team=NotMining] RSMine
  44. ===================================================================
  45. /give @p stone_pickaxe 1 0 {Unbreakable:1,display:{Name:"Iron Pickaxe",Lore:[]},CanDestroy:[iron_ore,coal_ore]}
  46. /give @p iron_pickaxe 1 0 {Unbreakable:1,display:{Name:"Steel Pickaxe",Lore:[]},CanDestroy:[iron_ore,coal_ore,lapis_ore]}
  47. /give @p diamond_pickaxe 1 0 {Unbreakable:1,display:{Name:"Rune Pickaxe",Lore:[]},CanDestroy:[iron_ore,coal_ore,lapis_ore]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement