Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
Chunky Dungeons!!!
Chunky Dungeons is a plugin designed to easily create infinitely generating dungeons. It works by filling in Minecraft's subchunks in an orderly way using user-saved rooms.
Features:
- Room saving
- Container saving
- Randomized loot tables
- Infinte Dungeon generation
- Finite* Dungeon generation
- Room rotation
- Connector logic
*Finite is broken
Usage
Room saving:
After building a room as desired in a subchunk (the area between the blue and pink lines when using F3+G)
You can use the command /chunkydungeons saveroom <folder> <roomid> <rarityweight> <connectingdirections>
- Folder: The place for the file to save. Also determines where dungeons generate from.
- Room ID: The file name for the room.
- Rarity Weight: A number that determines how likely it is to generate in respect to other rooms.
- Connecting Directions: A line of binary 0/1 that defines if a side is a connector or not (connectors must connect to connectors when generating). Corresponds to NESW compass directions. For example, if the room you are saving opens to the North and East, you would put 1100. Exaple of command usage: /chunkydungeons saveroom TestDungeon Test 1 1010
Dungeon Generating:
After saving rooms, to generate a dungeon, you can run /chunkydungeons createdungeon <infinite|#numberofrooms> <sourcefolder> [dungeonID]
- Infinite / Number of Rooms: either put infinite, where it will continue expanding as loaded in, or designate a number of rooms. Finite dungeons will not behave as expected. If you set it to 1, it will generate 1 room. If you set it to more, it will fill your entire render distance before checking to see if it hit the number of rooms and then stop when it does.
- Source Folder: Where to pull rooms from for generating.
- Dungeon ID: only for infite, gives the dungeon file a specific name.
Loot Tables
To use a loot table, you first must define one using /chunkydungeons loottable create <id> <filledSlotChancePercent>
- ID: Name of the loot table
- Filled Slot Chance Percent: A number 0-100 that determines how many slots will be filled Then you can save rooms with containers in them that are named the loot table ID, and they will generate with the loot table. To add an item to a loot table you must hold it in your hand (single item, as it detects stack size) and use /chunkydungeons loottable addto <ID> <rarityWeight> <maxStack?>
- ID: the loot table to add to.
- Rarity Weight: A number that determines how likely it is to generate in respect to other items.
- Max Stack: It chooses randomly (1 - this number) each time it is chosen, for the stack size. To check a loot table you can run /chunkydungeons lootcheck <ID> which places a chest with the loot for ID at your location. Note: Loot tables only generate in empty chest slots, allowing you to have specific items in chests along with the randomized loot.
Files
Each room, dungeon, and loot table is saved to a file that should all be easy to modify and delete. To stop an infinite dungeon you can either use /chunkydungeon stopsession <dungeonID> or simply delete the file yourself.
Have fun!


