#BOMBS #Seting Score For Inventory scoreboard players set @s bombCraft 1 {Inventory:[{Slot:17b,id:"minecraft:fire_charge",Count:1b},{Slot:26b,id:"minecraft:gunpowder",Count:1b}]} scoreboard players set @s bombCraft 2 {Inventory:[{Slot:17b,id:"minecraft:fire_charge",Count:1b},{Slot:26b,id:"minecraft:gunpowder",Count:2b}]} scoreboard players set @s bombCraft 3 {Inventory:[{Slot:17b,id:"minecraft:fire_charge",Count:1b},{Slot:26b,id:"minecraft:gunpowder",Count:3b}]} scoreboard players set @s bombCraft 4 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 3s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 5 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 5s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 6 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 10s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 7 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 3s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 8 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 3s","§7Explode On Impact: Yes"]}}}]} scoreboard players set @s bombCraft 9 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 5s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 10 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]}}}]} scoreboard players set @s bombCraft 11 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 3s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 12 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 5s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 13 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 10s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 14 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 3s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 15 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 3s","§7Explode On Impact: Yes"]}}}]} scoreboard players set @s bombCraft 16 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 5s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 17 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]}}}]} scoreboard players set @s bombCraft 18 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 3s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 19 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 5s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 20 {Inventory:[{Slot:26b,id:"minecraft:tripwire_hook",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 10s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 21 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 3s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 22 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 3s","§7Explode On Impact: Yes"]}}}]} scoreboard players set @s bombCraft 23 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 5s","§7Explode On Impact: No"]}}}]} scoreboard players set @s bombCraft 24 {Inventory:[{Slot:26b,id:"minecraft:redstone",Count:1b},{Slot:17b,id:"minecraft:firework_charge",Count:1b,tag:{display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]}}}]} #Replacing Inventory replaceitem entity @s[score_bombCraft_min=1,score_bombCraft=1] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 3s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=2,score_bombCraft=2] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 3s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=3,score_bombCraft=3] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 3s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=4,score_bombCraft=4] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 3s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=5,score_bombCraft=5] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=6,score_bombCraft=6] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 10s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=7,score_bombCraft=7] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 5s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=8,score_bombCraft=8] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=9,score_bombCraft=9] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 10s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=10,score_bombCraft=10] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lSmall Grenade §7(Throw)",Lore:["§7Explosion Radius: 3","§7Detonation Timer: 10s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=11,score_bombCraft=11] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 3s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=12,score_bombCraft=12] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=13,score_bombCraft=13] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 10s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=14,score_bombCraft=14] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 5s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=15,score_bombCraft=15] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=16,score_bombCraft=16] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 10s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=17,score_bombCraft=17] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lMedium Grenade §7(Throw)",Lore:["§7Explosion Radius: 5","§7Detonation Timer: 10s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=18,score_bombCraft=18] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 3s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=19,score_bombCraft=19] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=20,score_bombCraft=20] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 10s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=21,score_bombCraft=21] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 5s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=22,score_bombCraft=22] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 5s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=23,score_bombCraft=23] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 10s","§7Explode On Impact: No"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=24,score_bombCraft=24] slot.inventory.8 firework_charge 1 0 {display:{Name:"§2§lBig Grenade §7(Throw)",Lore:["§7Explosion Radius: 7","§7Detonation Timer: 10s","§7Explode On Impact: Yes"]},HideFlags:32} replaceitem entity @s[score_bombCraft_min=1] slot.inventory.17 air 1 0 #Particles/Sounds execute @s[score_bombCraft_min=1] ~ ~ ~ /particle largesmoke ~ ~1 ~ 0.01 0.01 0.01 0.1 20 force @s execute @s[score_bombCraft_min=1,score_bombCraft=3] ~ ~ ~ playsound minecraft:block.anvil.fall master @s ~ ~ ~ 1 1 execute @s[score_bombCraft_min=4,score_bombCraft=10] ~ ~ ~ playsound minecraft:block.anvil.land master @s ~ ~ ~ 1 1 execute @s[score_bombCraft_min=11,score_bombCraft=17] ~ ~ ~ playsound minecraft:block.anvil.land master @s ~ ~ ~ 1 0.75 execute @s[score_bombCraft_min=18,score_bombCraft=24] ~ ~ ~ playsound minecraft:block.anvil.land master @s ~ ~ ~ 1 0.5 #Reseting Score scoreboard players set @s bombCraft 0 advancement revoke @s only bomb:bombcraft/bombcraft say ok