Paste #122788: Unnamed Denizen Script Paste

Date: 2024/05/17 06:33:07 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


mineur_event:
    type: world
    Debug: true
    enabled: true
    events:
        on player breaks block with:pioche_mineur_*:
        - determine passively cancelled
        - ratelimit <player> 10t
        - if <placeholder[superior_island_location_is_member]> matches yes:

            - if <player.item_in_hand.advanced_matches[pioche_mineur_1]>:
                - define range <context.location.to_cuboid[<context.location.forward_flat[4]>]>

            - foreach <[range].blocks> as:range:
                    - modifyblock <[range]> air naturally:<player.item_in_hand>