Paste #118595: script

Date: 2023/12/15 12:04:38 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Mining_Drill :
    type: item
    debug: false
    material: netherite_pickaxe
    display name: "<yellow>Mining Drill"
        mechanisms:
            hides: all
            - inventory adjust mining_drill custom_model_data:1
    recipes:
        1:
            type: shaped
            input:
                - air|redstone_block|air
                - potato|netherite_sword|potato
                - air|redstone_block|air
    lore:
    - "<blue>Combat"
    - ""
    - "<dark_blue><bold>MINING MULTIPLIES DIG SPEED!!!"
Mining_Drill_Script:
  type: world
  events:
    after player breaks block with:mining_drill:
        - flag player drillSpeed:++
        - cast fast_digging duration:10s amplifier:<player.flag[drillSpeed]> <player>