I try to make a OneBlock like Game in the nether, where you mine one specific block and it's replacing itself over and over.
I don't get any errors but it just won't work. Did I do something wrong?
Addons:
-Skellett
-SKBee
Code:
Thanks for every answer <3
I don't get any errors but it just won't work. Did I do something wrong?
Addons:
-Skellett
-SKBee
Code:
Code:
on load:
set {_blocklist::*} to netherrack and nether_quartz_ore and nether_gold_ore and nether_wart_block and ancient_debris and soul_sand and soul_soil
set {_oneblock} to a random element out of {_blocklist::*}
set block at location 0, 64, 0 in world "world_nether" to {_oneblock}
broadcast "Block in list is %{_oneblock}%"
on mine:
if event-block is {_oneblock}:
if block at location 0.5, 64.5, 0.5 in world "world_nether" is air:
broadcast "SUCCESFULLY LOCATED"
set {_oneblock} to a random element out of {_blocklist::*}
set block at location 0.5, 64.5, 0.5 in world "world_nether" to {_oneblock}
Thanks for every answer <3