Untitled

 avatar
unknown
plain_text
a year ago
554 B
7
Indexable
on block break:
    if {currentEvent::eventRaw} = "mining":
        if event-block is stone, any ore, any deepslate ore or deepslate:
            add 2 to {mined::%uuid of player%}
            cancel drops
            drop 2 of drops of event-block at event-location

    else if {currentEvent::eventRaw} = "foraging":
        if event-block is any log:
            add 3 to {mined::%uuid of player%}
            cancel drops
            drop 3 of drops of event-block at event-location

    else:
        add 1 to {mined::%uuid of player%}
Editor is loading...
Leave a Comment