Minecraft Data Packs / Mini-game

Build Your Own Decked Out

  • check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • check_circle Structures
  • 5,361 views, 4 today
  • 99 downloads, 1 today
  • 40
  • 29
  • 16
Required Resource Pack
Shockwave13
Level 18 : Journeyman Engineer
2

Build Your Own Decked Out (BYODO)

This is a datapack which allows you to create and play your own version of TangoTek's Decked Out 2
Watch TangoTek's How To Play video if you're new to Decked Out 2

Requires Minecraft 1.20.4 (Will not work on 1.20.5+ or 1.21+)


Nearly every feature from Decked Out 2 is implemented in this datapack.
You can build your own dungeon using the included items.
Very little redstone is required.
Multiplayer friendly.
Very Customizable.

Changes/Improvements compared to Tango’s Decked Out 2:
  • No delays and reduced lag due to redstone
  • Artifact locations filter items and only accept the correct compass
  • Cards show their names in a title when played
  • Reckless charge shows a countdown timer
  • Beast Sense affects all monsters summoned from Monster Locations
  • Hazards can be grouped, allowing all paths to have hazards, forcing the player to take a different path every time
  • Players can go between levels in any order without messing up treasure spawns
  • Shriekers are randomly enabled/disabled only at the start of a run
  • All Legendary cards are implemented (but not obtainable by default. See Extras at bottom of page.)
  • Shop Items can have more levels of rarity. Existing "Common" cards and Victory Tomes have a rarity of Always Available. Common and Legendary rarities exist, but are unused by default. (Legendary = 0%, Rare = 33%, Uncommon = 67%, Common = 0%)

Getting Started

  1. Back up your world before using this datapack!
  2. Install the resourcepack and datapack into your world (requires Minecraft version 1.20.4 due to new datapack features)
  3. Give yourself Build Permission by running the command:/function byodo:build/register_builder
  4. Get the BYODO Handbook by clicking the welcome message or running the command:/trigger byodo_trigger_book
  5. Read the BYODO Handbook > Instructions and use BYODO Handbook > Functions and BYODO Handbook > Build Items pages to Build Your Own Decked Out!
  6. Follow the Required Locations section below in order to have a playable dungeon

World Settings

Required
keepInventory = false
commandBlockOutput = false

Recommended
difficulty = Hard (Ravagers deal 9 hearts of damage)
doMobSpawning = false

Building the Dungeon

Build Permission

In order to build, edit, or configure any part of the dungeon, a player must have Build Permission.
Any player who does not have build permission (and is not allowed to use commands) can not add, edit, or remove dungeon locations.

Command permissions are not required to have build permission.
Build permission is not required to play the dungeon (but the player must be registered, see Playing the Game below).

Warning: there are many exploits possible with build permission that would imbalance a survival world.
Do not give build permission to anyone you don't trust!
Make backups before, during, and after building your dungeon!


A player with command permissions may run the following command to give build permission to a player:
/execute as <playername> run function byodo:build/register_builder

Location Entities

Each element of Decked Out 2 exists as Location Entities, which a builder can place using custom spawn eggs.

Right click a Location Entity to select it and see its menu.
Left click a Location Entity to destroy it, turning it back into an item.
If it has a structure, the structure must be deleted before the Location Entity can be destroyed.

Location Entities can do the following things:
  • load structures
  • summon items
  • summon monsters
  • activate redstone
  • run commands when powered by redstone
Get the spawn eggs for each Location type using BYODO Handbook > Build Items pages.
Click one of the categories:
  • Dungeon Exterior
  • Dungeon Boons
  • Dungeon Banes
  • Extra Structures
  • Utility
  • Redstone Interface
Then click Get Items at the bottom of the page.
Hover over each location type to see a description.


Location entities will be hidden when a run starts. Use BYODO Handbook > Functions > Show Locations to show them again.

Properties

Right click a location entity to select it and see it's properties in a menu in chat.
Hover over each property for a description.

Most properties are saved on the Location Entity itself. Properties will be saved onto the spawn egg item if the location is destroyed, and can be seen in the spawn egg's tooltip.

Some properties are saved globally, applying to all locations of the same type with matching Level and Zone properties.

Numeric Properties
(example from an Artifact Location: Level, Difficulty, Artifact Value Max/Min)
Click the -/+ buttons to change the value
Numeric Properites from an Artifact Location

Enum Properties
(example from a Shop Location: Rarity)
The selected option appears colored and in bold.
Click one of the other [​Options] to select it.
Enum Properties from a Shop Location

Inventory Properties
(example from a Treasure Location: Treasure Pool)
Click [​Edit] to load a chest containing the inventory.
change the items, then click [​Confirm] or [​Cancel]
Inventory Property from a Treasure Location

Structure Property
Right click the Location to see a preview of where the structure will be placed.
Click to [​Place] or [​Delete] the structure
Warning: Make sure there's nothing important in the way of the structure being placed as it will be permanently deleted!
Clank Location's structure can be moved. Click the arrows to move it based on the location's local ^X ^Y ^Z coordinates.
Structure Property from a Clank Location


Required Locations

In order to have a playable dungeon, You must place all of the Dungeon Exterior structures, make a Start Run button, have at least 1 Artifact Location, and place Reward and Shop Output locations.

Dungeon Exterior

These structures must be placed outside the dungeon in order to play.
(See Structure Property above for how to place structures)
Get them from the BYODO Handbook > Build Items > Dungeon Exterior page.
  1. Register Player - A command block input that will register a player and give them a starter deck.
  2. Shard Receptacle - The player must drop a Frozen Shard into this structure in order to enter the dungeon.
  3. Dungeon Entrance - The door that opens when a player pays a Frozen Shard.
  4. Difficulty Selector - Allows a player to select the difficulty level for their run.
  5. Deck Loader - Allows a player to load their shulker box deck into the system. (only if the lamp is on).
  6. Artifact Collector - Allows the player to cash in their artifact for Frost Embers after they've escaped the dungeon.
  7. Frost Shop - Where the player buys cards and Victory Tomes with Frost Embers after they've escaped the dungeon. (This location is included in the Artifact Cash In structure. Right click the middle of the door)
  8. Crown Shop - Outside the dungeon, any player can buy items with Crowns. The shop resets periodically.
Example of placing the required Dungeon Exterior structures

    Start Run

    To start a run, power a Set Game State command block with the Game State property set to Mid-Run (this is the default value).
    Activate it with redstone after a player has submitted a shard, selected a difficulty, and loaded their deck.
    Get the Set Game State input from BYODO Handbook > Build Items > Redstone

    Artifact Location

    In order to play, there must be at least 1 Artifact Location whose difficulty matches the difficulty selected by the player, and it must have its structure placed. At the start of a run, the player will be given a compass pointing to a random Artifact Location of the selected difficulty.
    Get Artifact Location from BYODO Handbook > Build Items > Dungeon Boons

    Reward Location

    This is where the player's deck, artifake, and crowns acquired by the player will appear after a run.
    Place this somewhere only the player can access after they've completed a run (whether they survive or not).
    Place this over a hopper so the items don't despawn.
    Get Reward Location from BYODO Handbook > Build Items > Utility

    Shop Output

    This is where the items purchased from the corresponding shop will appear.
    Place a Shop Output with Shop Id = 1 (default) near the Reward Location so the player can retrieve items bought from the Frost Shop.
    Place this over a hopper so the items don't despawn.
    Get Shop Output from BYODO Handbook > Build Items > Utility

    Playing the Game

    In order to play, each player must be registered. Power the Register Player Command block or run the following command to register and give the starter deck:
    /execute as <playername> run function byodo:engine/register_player
    The sequence of a full "run" through the dungeon:
    1. A player throws a Frozen Shard into the Shard Receptacle to become the active player. (Only works if the dungeon is in the Available state).
    2. The Dungeon Entrance opens, allowing access to a Pre-Run area.
    3. The player selects a difficulty from the Difficulty Selector.
    4. The player places their shulker box deck into the Deck Loader (placed as a block against the lamp).
    5. The player activates redstone to start the run (powering the Set Game State Mid-Run input).
    6. Once in the dungeon, cards will play, the scoreboard will update, and the Dungeon Boons and Dungeon Banes locations placed in the dungeon will activate accordingly.
    7. The player must follow their compass and drop it on the ground (to be picked up by the hopper minecart in the Artifact Location's structure hidden under the floor). An Artifact item will appear in its place.
    8. The player must take their Artifact to the Artifact Collector structure to get Frost Embers and gain access to the Frost Shop.
    9. The player may purchase items with their Frost Embers in the Frost Shop. (unspent Frost Embers are lost).
    10. The player exits the Frost Shop and is killed in a tragic and ironic betrayal.
    11. The player respawns and their deck and any items they gained are summoned at the Reward Location and Shop Output.

    Customize

    Inventory

    Artifacts, Treasure Pools, and Monsters can be customized using the related location's inventory properties. Treasure and Monster pools are shared between locations with the same Level and Zone properties

    Settings

    The game can be further customized through settings (scoreboard values). See the BYODO Handbook > Settings page.
    Hover over each setting to see a description.
    Click the 🔍 to run a command to see the setting's current value.
    Click the 🔧 to copy a command to change the value.

    Each setting's default value is based on how it's implemented in Tango's Decked Out 2.


    Extras

    How to obtain Legendary cards.
    1. Load a deck of cards into the system. (Warning: its contents will be deleted)
    2. run /function byodo:debug_discard_all_cards_2
    3. Unload the deck with /function byodo:engine/deck/unload, or by playing the game and finishing a run

        CreditOriginal Concept: TangoTek, Card Art: MoselBop, Sound: Del Chupenebray and Joel Bickford, Resource Pack: MukiTanuki
        CompatibilityMinecraft 1.20
        Tags

        3 Update Logs

        Version 1.3.3 : by Shockwave13 08/19/2024 9:28:17 pmAug 19th

        Fixed bug with Active Level redstone outputs not working.

        No changes are required for anything built in Version 1.3.2.
        See previous update logs if you're updating from Version 1.3.1 or older.
        LOAD MORE LOGS

        Create an account or sign in to comment.

        PenguinBob12
        04/30/2024 4:23 am
        Level 34 : Artisan Sus
        Heres an Idea for your next Datapack: Build your Own Among us. Since you did Decked Out why dont you do his Among us Game?
        2
        Shockwave13
        04/30/2024 10:28 am
        Level 18 : Journeyman Engineer
        That'd be neat. One thing I'd like to do, if people are interested, is pull out the "BYO" part into its own datapack that anyone could build on top of. It's already pretty modular, there's a few big tables that define the different types of locations and their properties. All you'd have to do is fill those tables for Among us or whatever you want and write the functions to make them work.
        1
        Logan_Allen
        03/17/2024 8:34 pm
        Level 18 : Journeyman Artist
        How do I remove location entities??
        1
        Shockwave13
        03/18/2024 8:25 pm
        Level 18 : Journeyman Engineer
        If you have build permission you can punch them to break them and they'll drop as an item. Unless they have a structure loaded, then you have to delete the structure first.
        1
        Logan_Allen
        04/14/2024 12:51 am
        Level 18 : Journeyman Artist
        I punched them and it did nothing and there's no structure loaded, and I'm pretty sure I gave myself build permission or else I wouldn't have been able to get the spawn eggs in the first place.
        2
        Shockwave13
        04/14/2024 10:59 am
        Level 18 : Journeyman Engineer
        history
        I think the most likely cause is that you became the active player by dropping in a shard. The active player is not allowed to edit anything.

        To fix this run:
        /function byodo:engine/run/quit

        If that doesn't work please let me know.

        I've also found some bugs related to this which I've fixed in version 1.3.2
        1
        Craylow
        03/02/2024 7:22 pm
        Level 45 : Master Bunny
        i love decked out :)))
        2
        Whurp
        02/05/2024 11:41 am
        Level 66 : High Grandmaster Mountaineer
        Outstanding!
        2
        PenguinBob12
        02/05/2024 2:43 am
        Level 34 : Artisan Sus
        Version?
        2
        Shockwave13
        02/05/2024 7:57 am
        Level 18 : Journeyman Engineer
        1.20.4 is required due to new datapack features
        1

        Welcome