Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /scoreboard objectives add RSMine dummy
- ====================================================================
- /scoreboard players add @e[type=ArmorStand,team=!NotMining] RSMine 1 {Small:1}
- /scoreboard players reset @a[score_RSMine_min=101] RSMine
- /scoreboard players add @a RSMine 1 {SelectedItem:{id:minecraft:stone_pickaxe}}
- /scoreboard players add @a RSMine 2 {SelectedItem:{id:minecraft:iron_pickaxe}}
- /scoreboard players add @a RSMine 5 {SelectedItem:{id:minecraft:diamond_pickaxe}}
- ====================================================================
- [DUPLICATE PER ORE/ITEM] - ITEM SCORE
- /scoreboard players set @e[type=Item] RSMine 1 {Item:{id:minecraft:iron_ore}}
- [DPO/I] - SUMMON ARMOR STAND
- /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"}
- [DPO/I] - RESET SPECIFIC BLOCK
- /execute @e[type=Item,score_RSMine=1,score_RSMine_min=1] ~ ~ ~ /setblock ~ ~ ~ iron_ore 0 replace
- CLEAN UP COMMANDS
- /execute @e[type=Item,score_RSMine_min=0] ~ ~ ~ /kill @e[type=XPOrb,r=0]
- /kill @e[type=Item,score_RSMine_min=0]
- [DPO/I] - CUSTOM RESOURCE
- /execute @e[type=ArmorStand,name=Iron] ~ ~ ~ detect ~ ~ ~ iron_ore 0 /give @p dye 1 7 {display:{Name:"Test Iron"}}
- SETBLOCK ROCKY OUTCROP
- /execute @e[type=ArmorStand,team=!NotMining] ~ ~ ~ /setblock ~ ~ ~ stone_slab 3 replace
- [DPO/I] - RESET SPECIFIC BLOCK (AGAIN)
- /execute @e[type=ArmorStand,name=Iron,score_RSMine_min=100] ~ ~ ~ /setblock ~ ~ ~ iron_ore 0 replace
- [DPO/I] - REMOVE ARMOR STAND
- /kill @e[type=ArmorStand,name=Iron,score_RSMine_min=100]
- OTHER COMMANDS:
- ===============================
- /scoreboard teams add NotMining
- /scoreboard teams join NotMining @e[type=ArmorStand,r=3]
- /scoreboard players reset @e[type=ArmorStand,team=NotMining] RSMine
- ===================================================================
- /give @p stone_pickaxe 1 0 {Unbreakable:1,display:{Name:"Iron Pickaxe",Lore:[]},CanDestroy:[iron_ore,coal_ore]}
- /give @p iron_pickaxe 1 0 {Unbreakable:1,display:{Name:"Steel Pickaxe",Lore:[]},CanDestroy:[iron_ore,coal_ore,lapis_ore]}
- /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