Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
554 B
4
Indexable
Never
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%}
Leave a Comment