command /drop []: trigger: open chest with 3 rows named "Drop stone" to player set {_i} to 0 loop 10 times: format slot {_i} of player with gray glass pane named " " to be unstealable add 1 to {_i} set {_i} to 17 loop 9 times: format slot {_i} of player with gray glass pane named " " to be unstealable add 1 to {_i} format slot 26 of player with red glass pane named "&cZamknij" to close #10-16 format slot 10 of player with diamond named "&1DIAMENT" with lore "Włączony" to run "/komenda3" format slot 11 of player with gold ore named "&6ZLOTO" to run "/komenda2" format slot 12 of player with iron ore named "&FZELAZO" to run "/komenda1" format slot 13 of player with emerald named "&8SZMARAGD" to run "/komenda4" format slot 14 of player with coal named "&8WEGIEL" to run "/komenda5" format slot 15 of player with redstone named "&8REDSTONE" to run "/komenda6" format slot 16 of player with lapis lazuli named "&8LAPIS" to run "/komenda7" variables: {drop1.%player%.drop} = true {drop2.%player%.drop} = true {drop3.%player%.drop} = true {drop4.%player%.drop} = true {drop5.%player%.drop} = true {drop6.%player%.drop} = true {drop7.%player%.drop} = true command /komenda1: trigger: if {drop1.%player%.drop} is true set {drop1.%player%.drop} to false else: set {drop1.%player.drop} to true command /komenda2: trigger: if {drop2.%player%.drop} is true set {drop2.%player%.drop} to false else: set {drop2.%player.drop} to true command /komenda3: trigger: if {drop3.%player%.drop} is true set {drop3.%player%.drop} to false else: set {drop3.%player.drop} to true command /komenda4: trigger: if {drop4.%player%.drop} is true set {drop4.%player%.drop} to false else: set {drop4.%player.drop} to true command /komenda5: trigger: if {drop5.%player%.drop} is true set {drop5.%player%.drop} to false else: set {drop5.%player.drop} to true command /komenda6: trigger: if {drop6.%player%.drop} is true set {drop6.%player%.drop} to false else: set {drop6.%player.drop} to true command /komenda7: trigger: if {drop7.%player%.drop} is true set {drop7.%player.drop} to false else: set {drop7.%player%.drop} to true options: tag: &b[Drop] zelazo: 4.5% zloto: 3.5% diament: 2.0% szmaragd: 1.0% wegiel: 4.0% redstone: 2.5% lapis: 2.5% zelazo1: 5.0% zloto1: 4.0% diament1: 2.5% szmaragd1: 1.5% wegiel1: 4.5% redstone1: 3.0% lapis1: 3.0% zelazo2: 5.5% zloto2: 4.5% diament2: 3.0%+ szmaragd2: 2.0% wegiel2: 5.0% redstone2: 3.5% lapis2: 3.5% zelazo3: 6.0% zloto3: 5.0% diament3: 3.5% szmaragd3: 2.5% wegiel3: 5.5% redstone3: 4.0% lapis3: 4.0% on mine of any ore: cancel event delete block send "{@tag}&7 Ten surowiec wypada tylko ze stone." on mine of stone: if player's tool is pickaxe of fortune 0: chance of {@zelazo}: {drop1.%player%.drop} = true give a random number between 3 and 1 of iron ore to the player send "{@tag}&7 Znalazles rude zelaza!" stop else: if player's tool is pickaxe of fortune 1: chance of {@zelazo1}: {drop1.%player%.drop} = true give a random number between 3 and 1 of iron ore to the player send "{@tag}&7 Znalazles rude zelaza!" stop else: if player's tool is pickaxe of fortune 2: chance of {@zelazo2}: {drop1.%player%.drop} = true give a random number between 3 and 1 of iron ore to the player send "{@tag}&7 Znalazles rude zelaza!" stop else: if player's tool is pickaxe of fortune 3: chance of {@zelazo3}: {drop1.%player%.drop} = true give a random number between 3 and 1 of iron ore to the player send "{@tag}&7 Znalazles rude zelaza!" stop if player's tool is pickaxe of fortune 0: chance of {@zloto}: {drop2.%player%.drop} = true give a random number between 3 and 1 of gold ore to the player send "{@tag}&7 Znalazles rude zlota!" stop else: if player's tool is pickaxe of fortune 1: chance of {@zloto1}: {drop2.%player%.drop} = true give a random number between 3 and 1 of gold ore to the player send "{@tag}&7 Znalazles rude zlota!" stop else: if player's tool is pickaxe of fortune 2: chance of {@zloto2}: {drop2.%player%.drop} = true give a random number between 3 and 1 of gold ore to the player send "{@tag}&7 Znalazles rude zlota!" stop else: if player's tool is pickaxe of fortune 3: chance of {@zloto3}: {drop2.%player%.drop} = true give a random number between 3 and 1 of gold ore to the player send "{@tag}&7 Znalazles rude zlota!" stop if player's tool is pickaxe of fortune 0: chance of {@diament}: {drop3.%player%.drop} = true give a random number between 3 and 1 of diamond to the player send "{@tag}&7 Znalazles diament!" stop else: if player's tool is pickaxe of fortune 1: chance of {@diament1}: {drop3.%player%.drop} = true give a random number between 3 and 1 of diamond to the player send "{@tag}&7 Znalazles diament!" stop else: if player's tool is pickaxe of fortune 2: chance of {@diament2}: {drop3.%player%.drop} = true give a random number between 3 and 1 of diamond to the player send "{@tag}&7 Znalazles diament!" stop else: if player's tool is pickaxe of fortune 3: chance of {@diament3}: {drop3.%player%.drop} = true give a random number between 3 and 1 of diamond to the player send "{@tag}&7 Znalazles diament!" stop if player's tool is pickaxe of fortune 0: chance of {@szmaragd}: {drop4.%player%.drop} = true give a random number between 3 and 1 of emerald to the player send "{@tag}&7 Znalazles szmaragd!" stop else: if player's tool is pickaxe of fortune 1: chance of {@szmaragd1}: {drop4.%player%.drop} = true give a random number between 3 and 1 of emerald to the player send "{@tag}&7 Znalazles szmaragd!" stop else: if player's tool is pickaxe of fortune 2: chance of {@szmaragd2}: {drop4.%player%.drop} = true give a random number between 3 and 1 of emerald to the player send "{@tag}&7 Znalazles szmaragd!" stop else: if player's tool is pickaxe of fortune 3: chance of {@szmaragd3}: {drop4.%player%.drop} = true give a random number between 3 and 1 of emerald to the player send "{@tag}&7 Znalazles szmaragd!" stop if player's tool is pickaxe of fortune 0: chance of {@wegiel}: {drop5.%player%.drop} = true give a random number between 3 and 1 of coal to the player send "{@tag}&7 Znalazles wegiel!" stop else: if player's tool is pickaxe of fortune 1: chance of {@wegiel1}: {drop5.%player%.drop} = true give a random number between 3 and 1 of coal to the player send "{@tag}&7 Znalazles wegiel!" stop else: if player's tool is pickaxe of fortune 2: chance of {@wegiel2}: {drop5.%player%.drop} = true give a random number between 3 and 1 of coal to the player send "{@tag}&7 Znalazles wegiel!" stop else: if player's tool is pickaxe of fortune 3: chance of {@wegiel3}: {drop5.%player%.drop} = true give a random number between 3 and 1 of coal to the player send "{@tag}&7 Znalazles wegiel!" stop if player's tool is pickaxe of fortune 0: chance of {@redstone}: {drop6.%player%.drop} = true give a random number between 3 and 1 of redstone to the player send "{@tag}&7 Znalazles redstone!" stop else: if player's tool is pickaxe of fortune 1: chance of {@redstone1}: {drop6.%player%.drop} = true give a random number between 3 and 1 of redstone to the player send "{@tag}&7 Znalazles redstone!" stop else: if player's tool is pickaxe of fortune 2: chance of {@redstone2}: {drop6.%player%.drop} = true give a random number between 3 and 1 of redstone to the player send "{@tag}&7 Znalazles redstone!" stop else: if player's tool is pickaxe of fortune 3: chance of {@redstone3}: {drop6.%player%.drop} = true give a random number between 3 and 1 of redstone to the player send "{@tag}&7 Znalazles redstone!" stop if player's tool is pickaxe of fortune 0: chance of {@lapis}: {drop7.%player%.drop} = true give a random number between 3 and 1 of lapis lazuli to the player send "{@tag}&7 Znalazles lapis!" stop else: if player's tool is pickaxe of fortune 1: chance of {@lapis1}: {drop7.%player%.drop} = true give a random number between 3 and 1 of lapis lazuli to the player send "{@tag}&7 Znalazles lapis!" stop else: if player's tool is pickaxe of fortune 2: chance of {@lapis2}: {drop7.%player%.drop} = true give a random number between 3 and 1 of lapis lazuli to the player send "{@tag}&7 Znalazles lapis!" stop else: if player's tool is pickaxe of fortune 3: chance of {@lapis3}: {drop7.%player%.drop} = true give a random number between 3 and 1 of lapis lazuli to the player send "{@tag}&7 Znalazles lapis!" stop