![[RogueCraft] Example Pack](https://cdn.metamods.net/images/resourcepacks/roguecraft-example-pack/logo.png)
[RogueCraft] Example Pack
This resource pack serves as a demonstration kit that illustrates the principles of creating and designing dungeons for RogueCraft.
Dungeon Construction Basics
Dungeons in RogueCraft are built using configuration files and datapacks containing structures. Each dungeon is divided into a grid of rooms measuring 19×19 blocks, where the edge blocks of adjacent rooms are shared.
Room generation is accomplished through Minecraft functions, allowing you to create any constructions available through the game's functional capabilities. To understand the working mechanism, study the examples from this pack.
Technical Features
At the center of each grid at level Y:118, after room generation, a "room_active" block is placed, which serves as an indicator of room activity. When the dungeon operation ends, this block turns into "room_deactive".
If necessary, rooms can exceed the standard size of one grid. In such cases, you should maintain the grid format (for example, 19×38) and manually place the "room_active" block in the center of the expanded area.
Creating Your Own Pack
The provided template uses the namespace "testpack". Basic rooms and boss rooms are named as "level_1_room" and "level_1_boss_room" respectively (excluding room number and direction).
Keystone generates 4 different rooms for each direction (north, south, west, and east). This requires proper placement configuration in functions for each direction.
Function names should follow the pattern: "testpack:level1room
The image shows the grid layout and placement of "room_active" and "room_deactive" blocks