How do I make a toggle gui for this?
So that if staff want to build they can called /buildmode
on place of planks:0:
add location of event-block to {locations::*}
on place of oak log:
add location of event-block to {locations::*}
on place of water:
add location of event-block to {locations::*}
on place of fire:
add location of event-block to {locations::*}
command /regen:
trigger:
wait 1 tick
loop {locations::*}:
set block at loop-value to air
every 5 seconds:
make console execute command "regen"
stop
Second question, how do i make the blocks disappear only 5 seconds AFTER the player has placed them instead of every 5 secs.
So that if staff want to build they can called /buildmode
on place of planks:0:
add location of event-block to {locations::*}
on place of oak log:
add location of event-block to {locations::*}
on place of water:
add location of event-block to {locations::*}
on place of fire:
add location of event-block to {locations::*}
command /regen:
trigger:
wait 1 tick
loop {locations::*}:
set block at loop-value to air
every 5 seconds:
make console execute command "regen"
stop
Second question, how do i make the blocks disappear only 5 seconds AFTER the player has placed them instead of every 5 secs.