options: diamondblock40: glass block named "&3&lDIAMONDBLOCK40" with lore "&8&lGenerator blokow diamentu 40" on place: if player's tool is {@diamondblock40}: add location of block to {generatordiamondblock40::*} set block above event-block to diamond block #wysokosc 1 set block 2 above event-block to diamond block #wysokosc 2 set block 3 above event-block to diamond block #wysokosc 3 usun linijke jezeli chcesz lub dodaj # przed nia on break iron block: if "%{generatordiamondblock40::*}%" contains "%location of block below event-block%" or "%location of block 2 below event-block%" or "%location of block 3 below event-block%": #tu musi byc tyle ile w wysokosci cancel event chance of 40%: drop diamond block else: drop cobble_stone command /generator []: permission: * trigger: if arg 1 is "diamondblock40": give player 1 {@diamondblock40}