Bonjour, ma demande est: Casser un arbre entièrement (avec les feuilles) et le replacer au bout de 300 seconds
J'ai essayé cela mais sa ne fonctionne pas.
on mine of wood:
loop blocks upwards:
if loop-block is wood:
drop the loop-block-1 at event-block
set the loop-block-1 to air
wait 10 seconds
set the loop-block-1 to wood
loop blocks downwards :
if loop-block is wood:
drop the loop-block-1 at event-block
set the loop-block-1 to air
wait 10 seconds
set the loop-block-1 to wood
loop blocks in radius 5 around loop-block:
if loop-block-2 is leaves:
set the loop-block-2 to air
wait 10 seconds
set the loop-block-2 to leaves
chance of 75%:
drop 1 apple at event-block
chance of 50%:
drop 2 apples
chance of 25%:
drop 3 apples
Merci