Minecraft Data Packs / Extensive

Quarry datapack [1.14+]

    • 27,603 views, 11 today
    • 1,873 downloads, 1 today
    • 18
    • 22
    • 18
    TFguy avatar TFguy
    Level 34 : Artisan Dragonborn
    3
    Quarry datapack [1.14+]

    This datapack introduces a quarry system that can be built with pure vanilla gameplay. It is intended for lategame, when looking for ores becomes tedious and you don't want to spend hours of your time digging through the various types of stone blocks.

    The datapack contains:
    • 6 advancements
    • 1 custom recipe
    • 17 functions
    Disclaimer 1: This datapack has been developed for single player and has NOT been tested in multiplayer. It might work but I can't promise anything.
    Disclaimer 2:
    I'm aware there are a couple bugs with the datapack. Please report any bugs or suggestions in the comments :)

    Features
    • Automatically dig down to y = 6 over time.
    • Defaults to 5x5 quarry size, 10 seconds per layer. Can be upgraded to 11x11 quarry size, 2.5 seconds per layer.
    • Loot collection.
    • Multiple quarries simultaneously. Creating quarries that are too close together might lead to unexpected behaviour (Hopefully will be fixed soon, when I have the time).
    • Handy functions for the lazy players!

    How to get started

    1. Collect the materials to craft a Fox Spawn Egg (See recipe below).
    2. Place a coal block on the ground. This will act as the fuel and the center of the quarry.
    3. Drop the Fox egg on top of the coal block. The coal block will turn into stone and the quarry will start.
    4. A stone slab should appear on top of the former coal block. This will be where all the mined blocks will appear. It is possible to fit a hopper and a chest/barrel to collect the blocks - up to you!
    5. Pick up your spawn egg! We don't want to craft another one :)

    Crafting recipe
    In order to start a quarry, you will need a Fox Spawn egg. Since they can not be obtained naturally, this datapack introduces a late-game recipe for it. Keep in mind that ANY Fox Spawn egg will work for the datapack, but the first time crafting this custom recipe will unlock the advancements and give you an item with flavor text :)

    The recipe is shapeless, and it uses the following vanilla ingredients.

    Diamond blockEmerald blockGold block
    Iron blockLapis blockEnd stone
    Nether wart blockObsidianGlowstone


    Fox Spawn egg recipe


    Upgrading your quarries

    It is possible to unlock permanent upgrades for future quarries. The process to upgrade the quarries is exactly the same as the process to start a quarry, but the block used as "fuel" determines the type of upgrade. By default, the quarries start mining a 5x5 area, at a speed of 1 layer every 10 seconds.

    • In order to increase the speed of the quarry, you must drop the egg on top of an emerald block. Each upgrade halves the time needed to mine one layer, up to 2.5 seconds per layer (2 upgrades).
    • In order to increase the size of the quarry, you must drop the egg on top of a diamond block. Each upgrade increases the size of the quarry by 2 blocks, up to 11x11 blocks (3 upgrades).
    • In order to delete all the common blocks (stone, dirt, gravel, ...) you can drop the egg on top of a chorus fruit.
    • In order to automatically add cobblestone walls to the quarry, you can drop the egg on top of a magma block.
    Summary of upgrades
    Block
    Default
    Upgraded (1x)
    Upgraded (2x)
    Upgraded (3x)
    Concept
    Diamond block
    5x5
    7x7
    9x9
    11x11
    Increases quarry size
    Emerald block
    10s
    x2 speed (5s)
    x4 speed (2.5s)

    Increases quarry speed
    Chorus flower
    cancel
    done_outline


    Deletes common blocks
    Magma block
    cancel
    done_outline


    Adds cobblestone walls



    Handy commands and functions
    /function qdp:give_quarry
    Gives the player an enchanted Fox Spawn Egg with some lore that hints to its usage. Can be used if you don't want to gather the materials to craft the egg, or if you lost the previous egg.

    Egg lore

    /function qdp:upgrade_to_max
    Unlocks all the possible quarry upgrades.

    /function qdp:delete_all_quarries
    Deletes all existing quarries. Should be used if the mod is having an abnormal behaviour or you just want to clean up.

    Installing the datapack

    1. Download the data pack from the links provided.
    2. Open Minecraft.
    3. Select the world you want to install the data pack for, click on “Edit”, then “Open world folder”.
    4. Open the folder named datapacks and put the data pack into it.
    5. Type /reload if you are in the world during the installation.
    6. If the data pack has a correct format, it would be enabled in the world.
    If the datapack is not working
    1. Make sure the datapack is installed correctly. The command /datapack list should output something along the lines of [file/Quarry_Datapack_vX.X].
    2. Verify the required armor stand is present with /execute as @e[tag=Quarry_anchor] run say "Anchor exists". If there is no output in chat, run the command /function qdp:load and the previous command again.
    3. After trying the previous 2 steps, post a comment asking for help.
    CompatibilityMinecraft 1.14
    Tags

    Create an account or sign in to comment.

    1
    07/21/2019 2:18 pm
    Level 8 : Apprentice Miner
    Eltodofull
    Eltodofull avatar
    1.14.3
    The datapack seems to not be working.
    The datapack list shows it installed, the execute command has no autput so I loaded the function.
    There is still no output.
    I loaded before and after placing the quarry.
    When I go to spectator I can see the armor stands moving down but there is no output or blocks being destroyed.
    1
    06/12/2019 5:42 pm
    Level 1 : New Miner
    FuzziRabitt
    FuzziRabitt avatar
    So I've done everything right, the block appears, the quarry timer runs, I've put in the commands, and nothing is working. It worked once but I haven't been able to replicate it. Please help
    1
    06/15/2019 12:22 pm
    Level 34 : Artisan Dragonborn
    TFguy
    TFguy avatar
    Could you try to jump into spectator mode and see if both armor stands are spawning?
    1
    08/26/2019 2:17 pm
    Level 1 : New Miner
    Zapatoo37
    Zapatoo37 avatar
    Hey !
    I have the same problem. The block appears with the slab, but nothing past. I can see one armor stand. DO you know how I can fix it ? Ty
    1
    06/06/2019 2:48 am
    Level 1 : New Miner
    sarcap
    sarcap avatar
    is it possible to make the quarry bigger than 11x11 with simple code editing?
    1
    06/15/2019 12:21 pm
    Level 34 : Artisan Dragonborn
    TFguy
    TFguy avatar
    Of course! Just open the mcfunction files and copy/paste the necessary lines. Everything should be pretty intuitive as there are multiple lines, one for each size, where needed.
    1
    06/06/2019 2:54 pm
    Level 1 : New Miner
    sarcap
    sarcap avatar
    also how do you reset the quarry upgrades, like if i dont want cobble walls anymore or if i want it to collect dirt and stuff
    1
    06/15/2019 12:20 pm
    Level 34 : Artisan Dragonborn
    TFguy
    TFguy avatar
    Reset the scoreboard scores for the quarry anchor manually
    1
    05/15/2019 12:49 am
    Level 1 : New Miner
    iBnjm
    iBnjm avatar
    can i edit it so it can pick up stone?
    1
    05/15/2019 3:37 am
    Level 34 : Artisan Dragonborn
    TFguy
    TFguy avatar
    Of course! Open the file data/qdp/functions/quarry/item_filter.mcfunction and delete the lines you need.
    1
    05/06/2019 7:56 pm
    Level 1 : New Miner
    CFson
    CFson avatar
    After dropping the egg the coal transformed but the quarry didnt start even after runing both of the commands. After running /execute as @e[tag=Quarry_anchor] run say "Anchor exists" for the second time there still was no output.
    1
    05/31/2019 12:19 pm
    Level 1 : New Miner
    Brack
    Brack avatar
    and also this.
    1
    05/08/2019 2:47 pm
    Level 34 : Artisan Dragonborn
    TFguy
    TFguy avatar
    Could you try to execute /function qdp:load close to 0, 0? I suspect the chunk being unloaded might be preventing the anchor armor stand from spawning.
    1
    05/06/2019 12:14 am
    Level 1 : New Miner
    JSUM1086
    JSUM1086 avatar
    Hello, I've dropped the egg on top of the coal block and the stone block and stone slab have appeared but the quarry isnt starting up?
    1
    05/08/2019 2:33 pm
    Level 34 : Artisan Dragonborn
    TFguy
    TFguy avatar
    Unfortunately I haven't been able to replicate the situation. Are you above y=6? If the slab appears my quarries start consistently even on new worlds. If the problem still persists, try running the command /scoreboard objectives setdisplay sidebar quarry_timer. Please report if there are at least two timers counting upwards; Otherwise send me a private message with your world save (if possible).
    1
    05/31/2019 12:14 pm
    Level 1 : New Miner
    Brack
    Brack avatar
    The same problem but in my server.
    1
    05/02/2019 10:29 am
    Level 20 : Expert Procrastinator
    Energy Master
    Energy Master avatar
    Cool gave a diamond
    1
    05/03/2019 4:07 pm
    Level 34 : Artisan Dragonborn
    TFguy
    TFguy avatar
    Thank you! :)
    Planet Minecraft

    Website

    © 2010 - 2021
    www.planetminecraft.com

    Welcome