Paste #106215: Unnamed Denizen Script Paste

Date: 2023/02/13 11:05:04 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


amethyst_pickaxe:
    type: item
    material: netherite_pickaxe
    display name: <&d>Pioche en améthyste
    lore:
    - <&d>-====================-
    - <&5>Permet de récolter les
    - <&5>druses d'améthystes
    - <&d>-====================-
    - <&6>Sneak + clic droit
    - <&5>Transforme un bloc d'améthyste
    - <&5>en druse d'améthyste
    - <&4>-====================-
    - <&4>CONSOMME 10 NIVEAU D'XP
    - <&4>-====================-
    mechanisms:
        custom_model_data: 106
    recipes:
        1:
            type: shaped
            input:
            - amethyst_cluster|diamond|amethyst_cluster
            - air|blaze_rod|air
            - air|blaze_rod|air

breakam:
    type: world
    Debug: false
    events:
        after player breaks budding_amethyst with:amethyst_pickaxe:
        - drop <context.location> budding_amethyst

        after player right clicks amethyst_block with:amethyst_pickaxe:
        - if <player.xp_level> >= 10:
            - if <player.is_sneaking>:
                - experience take level 10
                - modifyblock <player.cursor_on> budding_amethyst
                - playsound <context.location> sound:BLOCK_AMETHYST_BLOCK_BREAK pitch:10

sell_wand:
    type: item
    material: paper
    display name: <&6><&l>Sell Wand
    mechanisms:
        custom_model_data: 800
        hides: ENCHANTS
    enchantments:
    - efficiency:1


drawer1:
    type: item
    material: obsidian
    display name: <&6><&l>Partie supérieur gauche du Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - obsidian|obsidian|obsidian
            - obsidian|obsidian|obsidian
            - obsidian|obsidian|nether_star

drawer2:
    type: item
    material: obsidian
    display name: <&6><&l>Partie supérieur millieu du Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - obsidian|obsidian|obsidian
            - obsidian|obsidian|obsidian
            - obsidian|nether_star|obsidian

drawer3:
    type: item
    material: obsidian
    display name: <&6><&l>Partie supérieur droite du Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - obsidian|obsidian|obsidian
            - obsidian|obsidian|obsidian
            - nether_star|obsidian|obsidian

drawer4:
    type: item
    material: obsidian
    display name: <&6><&l>Partie intermédiaire gauche du Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - obsidian|obsidian|obsidian
            - obsidian|obsidian|nether_star
            - obsidian|obsidian|obsidian

drawer5:
    type: item
    material: nether_star
    display name: <&6><&l>Coeur de Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - nether_star|nether_star|nether_star
            - nether_star|nether_star|nether_star
            - nether_star|nether_star|nether_star

drawer6:
    type: item
    material: obsidian
    display name: <&6><&l>Partie intermédiaire droite du Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - obsidian|obsidian|obsidian
            - nether_star|obsidian|obsidian
            - obsidian|obsidian|obsidian

drawer7:
    type: item
    material: obsidian
    display name: <&6><&l>Partie inférieure gauche du Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - obsidian|obsidian|nether_star
            - obsidian|obsidian|obsidian
            - obsidian|obsidian|obsidian

drawer8:
    type: item
    material: obsidian
    display name: <&6><&l>Partie inférieure millieu du Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - obsidian|nether_star|obsidian
            - obsidian|obsidian|obsidian
            - obsidian|obsidian|obsidian

drawer9:
    type: item
    material: obsidian
    display name: <&6><&l>Partie inférieure droite du Drawer
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - nether_star|obsidian|obsidian
            - obsidian|obsidian|obsidian
            - obsidian|obsidian|obsidian

drawer:
    type: item
    material: paper
    display name: <&6><&l>Bon pour un Drawer
    lore:
    - <&7>Clic droit pour recevoir un drawer tout neuf !
    mechanisms:
        hides: ENCHANTS
    enchantments:
    - efficiency:1
    recipes:
        1:
            type: shaped
            input:
            - drawer1|drawer2|drawer3
            - drawer4|drawer5|drawer6
            - drawer7|drawer8|drawer9

givedrawer:
    type: world
    Debug: false
    events:
        on player right clicks air with:drawer:
        - take item:drawer
        - execute as_server "wildchests:chests give <player.name> storage_unit 1"
        - narrate "<&2>Vous avez reçu un drawer."