Hello, I'm trying to do like when lava and water create stone or cobblestone. like a chance to generate ores but I don't know the event or the addon I need for this. This Is what I have so far.
Code:
on break of stone or cobblestone:
chance of 1%:
wait 2 seconds
if event-block is stone or cobblestone:
set event-block to diamond ore
stop trigger
chance of 1%:
wait 2 seconds
if event-block is stone or cobblestone:
set event-block to emerald ore
stop trigger
chance of 1%:
wait 2 seconds
if event-block is stone or cobblestone:
set event-block to lapis ore
stop trigger
chance of 5%:
wait 2 seconds
if event-block is stone or cobblestone:
set event-block to coal ore
stop trigger
chance of 3%:
wait 2 seconds
if event-block is stone or cobblestone:
set event-block to iron ore
stop trigger
chance of 1%:
wait 2 seconds
if event-block is stone or cobblestone:
set event-block to gold ore
stop trigger
chance of 2%:
wait 2 seconds
if event-block is stone or cobblestone:
set event-block to redstone ore
stop trigger
set event-block to diamond ore
Last edited: