options:
prefix: &8Prefix »
on place:
else if player's tool is diamond ore of unbreaking 10 named "{@prefix} &7Stoniarka":
wait 1 tick
if event-block is diamond ore:
add location of event-block to {stoniarki::*}
set event-block to stone
on break of stone:
loop {stoniarki::*}:
if loop-value is location at event-block:
if player's tool is golden pickaxe:
remove location at event-block from {stoniarki::*}
set action bar of player to "{@prefix} &7Zniszczyłeś stoniarkę!"
drop diamond ore of unbreaking 10 named "{@prefix} &7Stoniarka" at event-block
else:
wait 2 second
set event-block to stone
on script load:
register new shaped recipe for diamond ore of unbreaking 10 named "%{prefix}% &7Stoniarka" using stone, stone, stone, diamond, emerald, diamond, stone, stone, stone
Podobny do tego wyżej, napisałem go po jakimś roku bo wszystkie starsze skrypty straciłem.