So as the title says I basically want to store a broken block into a list then placing them back again in the same location after a specific time has gone.
I didn't manage to do it, so here's my code:
So if anyone can help me I would really appreciate it.
[doublepost=1578166849,1578148030][/doublepost]I fixed it. I will post a new reply later saying what I did
I didn't manage to do it, so here's my code:
Code:
on enable:
set block at {cave::cobble} to cobble
on disable:
set block at {cave::cobble} to cobble
every 2 minutes:
set block at {cave::cobble} to cobble
on block break:
if player is in world "Some world":
if event-block is cobble:
cancel event
set event-block to stone or andesite or cobble
add location of event-block to {cave::cobble}
command /test:
trigger:
set block at {cave::cobble} to cobble
So if anyone can help me I would really appreciate it.
[doublepost=1578166849,1578148030][/doublepost]I fixed it. I will post a new reply later saying what I did