on death of zombie or skeleton or creeper or slime or spider or enderman or cave spider:
chance of 100%:
drop 1 ender chest named "&6Skrzynia Potwora" at victim
on rightclick holding a ender chest:
if name of player's tool is "&6Skrzynia Potwora":
remove 1 ender chest named "&6Skrzynia Potwora" from player
cancel event
chance of 40%:
add 10 cobblestone to player's inventory
cancel event
stop
chance of 50%:
add 5 cobblestone to player's inventory
cancel event
stop
chance of 15%:
add 5 iron ore to player's inventory
cancel event
stop
chance of 15%:
add 3 gold ore to player's inventory
cancel event
stop
chance of 20%:
add 1 paper named "&aLos &8/kolofortuny" to player's inventory
cancel event
stop
chance of 7%:
add 1 diamond to player's inventory
cancel event
stop
chance of 0.75%:
add 1 book named "&6Epicka Ksiega &8/EKsiega" to player's inventory
cancel event
stop
chance of 100%:
add 1 ender pearl to player's inventory
cancel event
stop