This is my first time skripting so I need a little help. I'm trying to create a skript that allows certain blocks to generate items. I need help creating a skript that only enables certain blocks, for example stone to generate an item instead of ALL stone blocks generating items.
Here is what I have so far:
on place of stone:
send action bar "&a&lSuccess! &7You have placed a &cStone Generator&7!" to player
every 6 seconds:
loop all players:
loop all blocks in radius 10 around loop-player:
if loop-block is stone:
drop a gunpowder named "&e&lStone Powder" at loop-block's position
I appreciate it if you're able to help!
Here is what I have so far:
on place of stone:
send action bar "&a&lSuccess! &7You have placed a &cStone Generator&7!" to player
every 6 seconds:
loop all players:
loop all blocks in radius 10 around loop-player:
if loop-block is stone:
drop a gunpowder named "&e&lStone Powder" at loop-block's position
I appreciate it if you're able to help!