Started by
samharris
on
Topic category: Troubleshooting, bugs, and solutions
it looks a bit like this
Event trigger - triggered by external call
or when (global trigger): A block is broken
if
Is
Get block at x:
y:
y z:
the same block as
AND
Item in main-hand of
Source entity
= stone pickaxe
Remove block at x:
x y:
y z:
z and spawn break particles
Spawn dropped item
at x:
xy: y z: z pickup delay:
10 despawn:
AND
Has
Event/target entity in inventory
= Iron Pickaxe
(match item and data components)
else if
Is
Get block at x:
xy: y z:
the same block as
do Remove block at x:
xy:
y z:
z and spawn break particles
Spawn dropped item
at x:
x y: y z: z pickup delay:
10 despawn:
repeat 3 times
do
Spawn dropped item
at x:
xy: y z: z pickup delay:
10 despawn:
Please show screenshot and explain what doesn't work
We can't guess out of this what is wrong