本模组受其他地牢模组以及各种 roguelike 游戏启发。
简要说明。
制作一张地牢通行证,搭建平台,激活传送门,然后进入地牢!在那里你会遭遇各种威胁,考验你的实力,并获得对你努力的奖励!
![]()

(上方展示包含来自 Better-Combat 的攻击动画。所有第三方内容仍归其原始创作者所有)
建议搭配 LR's Blockollection 使用,以获得更多生物群系!
稍长一点的说明。
-探索了所有附近的结构,现在厌倦了只为了一点刺激而花费数小时搜索?
-想在一个必定存在威胁的地方测试你的装备?
-想试试运气,看看能否获得那诱人的战利品?
-想在随机生成的地牢中迷失自我?
我不能保证这能解决所有这些问题,但值得一试!
本模组引入了一个新的地牢维度,专注于重复的地牢挑战,具备以下特性:
-手工打造的结构。
-随机敌人选择。
-随机生物群系选择。
-宝藏房间。
你还可以使用挑战者通行证门票来提高地牢挑战的难度,这将提升敌人属性以换取更多的战利品!
这些门票可以叠加,如果你想对抗拥有1000点生命值和每次攻击造成100颗心伤害的僵尸,那就没有任何东西能阻止你!
物品与机制。
-地牢通行证。
(由 3 张纸和任意原版怪物掉落物合成)

用凿制石砖搭建一个平坦的平台,并用任意方块搭建天花板,然后对平台使用地牢通行证以激活地牢传送门!

对已激活的传送门使用地牢通行证可重置地牢,使其回到第 1 阶段,并将地牢难度重置为等级 1!
-挑战者通行证。
(由3张纸和4个原版怪物部件合成)

在激活的传送门上使用该物品,可增加当前地牢挑战的难度,通过提升敌人生命值与伤害来换取更多战利品!此效果会随当次地牢挑战一同重置。
-The Stage Refill。
(使用地下城通行证和 4 个圆石合成)

在激活的传送门上使用该物品以重新生成当前阶段的迷宫。适用于地牢生成不完整的情况,例如仅遇到死胡同。
-The Dungeon Refill。
(使用地下城通行证和 8 块圆石合成)

类似于阶段补充,在激活的传送门上使用时,这将恢复所有阶段。
(与仅恢复当前阶段的阶段补充相比)
内容添加。
以下内容仅面向模组开发者或具备相关知识的用户,因为不当的修改可能导致意外结果,包括游戏崩溃。
通过遵循正确的结构,可以使用数据包或模组在地下城添加更多的生物群系、实体和战利品!
要添加实体:
要添加生物,你可以在 data/lrdynamicdungeon/enemy_pool/compatibility/ 目录下创建一个目录(例如 data/lrdynamicdungeon/enemy_pool/compatibility/my_mod_id/),并为每个阶段包含一个 JSON 文件(stage_1.json、stage_3.json 等,并非必须为每个阶段都创建一个文件)。在这些文件中,你可以按照以下格式将生物(或生物组)添加到你希望它们出现的阶段:
{
>敌人类别<: [
[
[>敌人 ID<, >X 轴偏移量<, >Y 轴偏移量<, >Z 轴偏移量<, >可选 NBT 数据<]
]
]
}
例如,向"ground"(地面)池中添加一只大型史莱姆:
{
"ground": [
[
["minecraft:slime", 0, 0, 0, { "Size": 2 } ]
],
>其他组<
],
>其他类别<
}
或者一组敌人,例如 3 只蜘蛛 且 1 只僵尸:
{
"ground": [
[
["minecraft:spider", 0, 0, 0],
["minecraft:spider", 0, 0, 0],
["minecraft:spider", 0, 0, 0],
["minecraft:zombie", 0, 0, 0]
],
>其他组<
],
>其他类别<
}
请参考位于 data/lrdynamicdungeon/enemy_pool/stage/ 的阶段文件。
所有添加的敌人都会经过过滤器检查,以确保它们存在于整合包中。如果某组包含无效条目,则跳过该组;否则接受其余部分!
要添加宝箱战利品:
要添加战利品,你可以在 data/lrdynamicdungeon/dungeon_loot/compatibility/ 目录下创建一个目录(例如 data/lrdynamicdungeon/dungeon_loot/compatibility/my_mod_id/),并为每个阶段包含一个 JSON 文件(stage_1.json、stage_3.json 等,并非必须为每个阶段都提供文件)。在这些文件中,你可以按照以下格式将战利品(或战利品组)添加到你想让其出现的阶段:
{
>category, can make a new one too<: {
"weight": >OPTIONAL, overwrites the weight for the category<,
"weightAdd": >OPTIONAL, adds to the weight for the category<,
"loot": [
[
[ >item id<, >quantity< ]
],
>loot group 2<,
>loot group 3<,
>etc...<
]
}
}
例如,要找到2 x stacks of potatoes,OR half a stack of bread:
{
"consumable": {
"weightAdd": 1,
"loot": [
[
[ "minecraft:potato", 64 ],
[ "minecraft:potato", 64 ]
],
[
[ "minecraft:bread", 32 ]
]
]
},
>other categories<
}
请注意,如果该分类已存在,它将合并到现有分类中(在此示例中,它会与"consumable"合并)
如果该分类不存在:它将直接创建一个新的分类;如果未设置"weight",则默认值为 3。
分类的“权重”越高,战利品被分配至该分类的概率就越大,大多数分类的权重约为 3。
可参考 data/lrdynamicdungeon/dungeon_loot/ 中的阶段文件。
所有新增的战利品都会经过过滤,以确保它们存在于整合包中(包括附魔),任何包含无效条目的分组将被跳过,其余则会被接受!
添加 地牢 生物群系与房间:
Dungeon Biomes 依赖两个部分:用于生成房间的结构文件,以及指示这些房间应在何处生成的json 文件。
结构及其位置。
结构文件应放置在 data/lrdynamicdungeon/structures/,你可以随后创建一个以你选择的生物群系命名的目录,例如 data/lrdynamicdungeon/structures/swamp/
每个生物群系都需要一个起始房间、至少一个首领房间以及至少一个标准房间,其结构如下:
data/lrdynamicdungeon/structures/your_biome/
├-start.nbt
├-start.meta
├-boss/
| ┕->your boss room nbt + meta files<
┕-standard/
┕->your standard room nbt + meta files<
请注意,起始房间必须命名为"start",否则将无法被识别!
你可以添加任意数量的首领房间和标准房间,它们将在进入该生物群系时被随机选择,并且你可以为这些房间指定任何你喜欢的名称!
房间制作。
每个房间由一个结构 .NBT 文件和一个 .META 文件组成,两者名称相同,例如 crossing.nbt 和 crossing.meta。其中 NBT 文件包含结构信息(方块、方块状态等),而 Meta 文件则保存房间放置时的定位信息。
你可以使用任何你偏好的方法来制作结构 NBT 文件!(例如游戏内的结构方块、软件,或者自行编码等),一般规则如下:
-不要在地牢维度内部建造房间,否则会导致逻辑方块被激活。
门(房间连接方块):

-由 3x3 的垂直墙面制作而成,必须放置在房间的边缘才能生效。
-右键点击中央方块可以调整生成宝藏房间的概率(修改周围方块的概率无效)。
-建议让所有门朝向房间的不同边缘。如果将门放置得过于靠近,可能会导致其中一个门无法成功生成房间。
敌人生成方块:

-这些方块负责从相应的敌人组别(地面、飞行、Boss 等)中随机选择一名敌人进行生成。
-右键点击该方块可循环切换敌人类型。
锁块:

-制作一个常规的 3x3 门(使用房间连接方块),并将中心替换为锁块。这将添加逻辑:在继续前进之前,必须先清除房间内的敌人。
-你也可以右键点击这些锁来更改解锁后的宝藏生成概率。
起始房间:

-包含一个地牢传送门,允许玩家返回。
-至少包含一扇门。
标准房间:

-包含一个面向南方的开放 3x3 入口(这样当你进入房间时,你正面向北)。
-建议至少包含一个敌人生成方块。
-至少包含一扇门。
Boss房间:

-包含一个面向南的开放入口(因此当你进入房间时,你正对着北)。
-包含一个敌人生成Boss方块。
-在地板某处包含一个下一阶段传送门方块,只需一个方块,击败Boss后将转换其周围的方块。
每个房间对应的 meta 文件:
-这些文件的结构如下:
{
"doors": [
{
"facing": "south",
"leftshift": >value<,
"verticalshift": >value<,
"backshift": >value<
}
]
}
这些值用作放置时移动房间的锚点。最简单的计算方法是面向北 并进行测量;
-leftshift:从入口中心到左侧墙壁的距离,然后减 1。
-verticalshift:从入口中心到最低方块的高度,然后减 1。
-backshift:房间从北到南的长度(包括墙壁)。

兼容性 JSON 文件。
当你准备好基础结构文件(用于起始房间的 nbt 和 meta 文件,至少一个标准房间,以及至少一个首领房间)并将它们放置在正确的路径下(位于data/lrdynamicdungeon/structures/your_biome/内)后,你现在可以创建兼容性 JSON 文件。该文件将位于data/lrdynamicdungeon/dungeon/compatibility/,例如data/lrdynamicdungeon/dungeon/compatibility/your_mod_id.json。在该文件中,你需要添加以下内容:
{
"requires": [ >required mods array< ],
"stages": {
>stage number<: [ >biomes to add array< ],
>repeat for other stages<
}
}
例如;
如果你创建了 3 个生物群系,并希望将一个添加到第 3 阶段,另外两个添加到第 5 阶段,同时确保存在 "mod_1" 和 "mod_2",内容将如下所示:
{
"requires": ["mod_1", "mod_2"],
"stages": {
"3": ["biome_1"],
"5": ["biome_2", "biome_3"]
}
}
参考 data/lrdynamicdungeon/dungeon/ 下的文件。
如果正确执行了上述步骤,你的生物群系和自定义房间将会出现在地牢中!你可以在启动世界并查看日志时确认你的生物群系是否已注册,查找"[Dungeon Compat] Compatibility attempted, current stages:",它将显示当前加载的生物群系。如果成功,你的生物群系将在列表中!
兼容性。
本模组内置了我另一个模组的兼容性:LR's Blockollection,它向地牢中添加了额外的生物群系。
我鼓励模组制作者为本模组添加兼容性!你可以按照上面的文档将你的内容添加到地牢中,希望这很简单易懂!(生物 和物品 非常简单,制作生物群系 则需要制作结构)
此外,该模组还内置了部分与以下模组的兼容性:
怪物 会自动添加到地牢生成中:
-Aether
-Ancient Legends by TDO
-Ars Nouveau
-Box of Horrors
-Deeper and Darker
-L_Ender's Cataclysm
-Legendary Armory
-Legendary Monsters
-Mowzie's Mobs
-Strongy
-Thermal
-Twilight Forest
物品/附魔 会自动添加到宝库房间中:
-Apotheosis
-Apotheotic Additions
-Applied Energistics 2
-Better Weaponry
-Cobblemon
-Create
-Cyclic
-Draconic Evolution
-Homebound
-L2 Complements
-Legendary Armory
-Mekanism
-Powah
-Primal Magick
-Solar Craft
-Strongy
-Thermal
-Twilight Forest
This mod is inspired by other dungeon mods and various roguelike games.
Short description.
Craft yourself a dungeon pass, build a platform, activate the portal, and enter the dungeon! In there you will encounter various threats, test your strength, and be rewarded for your efforts!
![]()

(The showcase above includes attack animations from Better-Combat. All third-party content remains the property of its original creators)
I suggest pairing this with LR's Blockollection to have more biomes!
Not-so-short description.
-Explored all nearby structures and now tired of searching for hours just for a bit of action?
-Want to test your equipment in a location where threats are guaranteed to be there?
-Trying out your luck to see if you can get that sweet loot?
-Want to be lost in randomly-generated dungeons?
I cannot guarantee this will be the fix to all of that but might be worth a try!
This mod introduces a new dungeon dimension which focuses on repeated dungeon runs, with features such as;
-Hand-crafted structures.
-Random enemy selection.
-Random biome selection.
-Treasure rooms.
You can also use Challenger Pass tickets to increase the difficulty of a dungeon run, which raises enemy stats in exchange of more loot!
These tickets also stack, if you want to fight a zombie with 1000 HP and 100 hearts of damage per hit, then there isn't anything stopping you!
Items and mechanics.
-The Dungeon Pass.
(Crafted with 3 paper and any vanilla monster part)

Build a flat platform out of Chiseled Stone Bricks and a ceiling out of any block of your choice, then use the Dungeon Pass on the platform to activate the dungeon portal!

Use the Dungeon Pass on an active portal to reset the dungeon, reverting back to stage 1 and the dungeon difficulty back to level 1!
-The Challenger Pass.
(Crafted with 3 paper and 4 vanilla monster parts)

Use on an active portal to increase the difficulty of the current dungeon run, by increasing enemy HP and enemy damage in exchange of more loot! This resets together with the dungeon run.
-The Stage Refill.
(Crafted with a Dungeon Pass and 4 cobblestone)

Use on an active portal to remake the current stage, this is to be used in scenarios such as incomplete dungeon generation, such as encountering only dead-ends.
-The Dungeon Refill.
(Crafted with a Dungeon Pass and 8 cobblestone)

Similar to the Stage Refill, use on an active portal, but this will refill all stages.
(In comparison to the Stage Refill, which only refills the current stage)
Content addition.
The following is for mod makers or anyone that really knows what they're doing, as modifying things incorrectly can cause unexpected results, including possible game crashing.
More biomes, mobs, and loot can be added into the dungeon through datapacks or mods by following the correct structure!
To add mobs:
To add mobs you can create a directory at data/lrdynamicdungeon/enemy_pool/compatibility/ (for example data/lrdynamicdungeon/enemy_pool/compatibility/my_mod_id/) and include a json file per stage (stage_1.json, stage_3.json, etc, it is not mandatory to have one for every stage), in there you can add mobs (or mob groups) into any of those files for the stage you want it to show up at, following the formula of:
{
>enemy type<: [
[
[>enemy id<, >x offset<, >y offset<, >z offset<, >optional NBT data<]
]
]
}
For example, to add a big slime into the "ground" pool:
{
"ground": [
[
["minecraft:slime", 0, 0, 0, { "Size": 2 } ]
],
>other groups<
],
>other types<
}
Or a group of enemies, such as 3 x spiders AND 1 x zombie:
{
"ground": [
[
["minecraft:spider", 0, 0, 0],
["minecraft:spider", 0, 0, 0],
["minecraft:spider", 0, 0, 0],
["minecraft:zombie", 0, 0, 0]
],
>other groups<
],
>other types<
}
Look at the stage files at data/lrdynamicdungeon/enemy_pool/stage/ for reference.
All enemies added will go through a filter to ensure they exist in the modpack, skipping any group that contains invalid entries, while accepting the rest!
To add treasure loot:
To add loot you can create a directory at data/lrdynamicdungeon/dungeon_loot/compatibility/ (for example data/lrdynamicdungeon/dungeon_loot/compatibility/my_mod_id/) and include a json file per stage (stage_1.json, stage_3.json, etc, it is not mandatory to have one for every stage), in there you can add loot (or loot groups) into any of those files for the stage you want it to show up at, following the formula of:
{
>category, can make a new one too<: {
"weight": >OPTIONAL, overwrites the weight for the category<,
"weightAdd": >OPTIONAL, adds to the weight for the category<,
"loot": [
[
[ >item id<, >quantity< ]
],
>loot group 2<,
>loot group 3<,
>etc...<
]
}
}
For example, to either find 2 x stacks of potatoes, OR half a stack of bread:
{
"consumable": {
"weightAdd": 1,
"loot": [
[
[ "minecraft:potato", 64 ],
[ "minecraft:potato", 64 ]
],
[
[ "minecraft:bread", 32 ]
]
]
},
>other categories<
}
Keeping in mind that if the category exists, it will merge with it (in this example, it will merge with "consumable")
If the category doesn't exist: it will simply create a new category, if "weight" is not set, then it will default it to 3.
The higher the category's "weight", the bigger the chances the loot will roll into it, most categories are at around the weight of 3.
Look at the stage files at data/lrdynamicdungeon/dungeon_loot/ for reference.
All loot added will go through a filter to ensure they exist in the modpack (this includes enchantments), skipping any group that contains invalid entries, while accepting the rest!
To add dungeon biomes and rooms:
Dungeon Biomes rely on two parts: structure files for the rooms to spawn, and a json file to indicate where these rooms should spawn.
Structures and their location.
Structures are to be placed at data/lrdynamicdungeon/structures/, you can then make a directory with a biome name of your choice, for example data/lrdynamicdungeon/structures/swamp/
Each biome requires a start room, at least one boss room, and at least one standard room, structured as:
data/lrdynamicdungeon/structures/your_biome/
├-start.nbt
├-start.meta
├-boss/
| ┕->your boss room nbt + meta files<
┕-standard/
┕->your standard room nbt + meta files<
Keep in mind that the start room has to be named "start" otherwise it will not be recognised!
You can add as many boss rooms and standard rooms as you want, these will get picked at random when in the biome, and you can give the rooms any names of your choice!
Room making.
Every room is made of one structural .NBT file and a .META file, both with matching names, for example crossing.nbt and crossing.meta, where the nbt holds the structural information (blocks, blockstates, etc), and the meta file holds positioning information for when the room is to be placed.
You can make the structure nbt file in any preferred method! (The in-game structure blocks, or a software, or coding it yourself, etc), the general rules are:
-Do not build the rooms inside the dungeon dimension, as it will cause logic blocks to activate.
Doors (Room Connection Block):

-Made in a 3x3 vertical wall, these have to be placed at the edge of a room for it to work.
-You can change the chance for a treasure room by right-clicking the central block (Changing the chance on surrounding blocks will be do nothing).
-I suggest making all doors face different edges of the room, if you place doors too close to each other, chances are one door will fail to generate a room.
Enemy Spawn Blocks:

-These will deal with picking a random enemy from the corresponding group (ground, flying, boss, etc).
-You can cycle through the types by right-clicking the block.
Lock Blocks:

-Make a regular 3x3 door (out of Room Connection Blocks), and replace the centre with a lock block, this will add the logic of needing to clear the enemies in the room before proceeding.
-You can also right-click these locks to change the treasure chance when it becomes unlocked.
Start rooms:

-Include a dungeon portal, this lets players traverse back.
-Include at least one door.
Standard rooms:

-Include an open 3x3 entrance that faces South (So when you enter the room, you are facing North).
-Recommended to include at least one enemy spawn block.
-Include at least one door.
Boss rooms:

-Include an open entrance that faces South (So when you enter the room, you are facing North).
-Include an Enemy Spawn Boss Block.
-Include a Next Stage Portal Block somewhere in the floor, only need one block, this will transform the blocks around it once the boss is defeated.
The meta file for each room:
-These files are structured like this:
{
"doors": [
{
"facing": "south",
"leftshift": >value<,
"verticalshift": >value<,
"backshift": >value<
}
]
}
these values are used as an anchor to shift the room during placement, easiest way to calculate this is to face North and measure;
-leftshift: from the centre of the entrance to the left wall, and remove 1.
-verticalshift: from the centre of the entrance to the lowest block, and remove 1.
-backshift: the length of the room from north to south (including walls).

The compatibility json file.
Once you have your base structure files (nbt and meta for the start room, at least one standard room, and at least one boss room) and placed them at the correct path (inside data/lrdynamicdungeon/structures/your_biome/), you can now make the compatibility json file that will be located at data/lrdynamicdungeon/dungeon/compatibility/, for example data/lrdynamicdungeon/dungeon/compatibility/your_mod_id.json, in that file you want to add the following content:
{
"requires": [ >array of required mods< ],
"stages": {
>stage number<: [ >array of biomes to add< ],
>repeat for other stages<
}
}
For example;
If you made 3 biomes, and you want to add one to stage 3, and the other two to stage 5, while ensuring "mod_1" and "mod_2" are present, the content will look like this:
{
"requires": ["mod_1", "mod_2"],
"stages": {
"3": ["biome_1"],
"5": ["biome_2", "biome_3"]
}
}
Look at the files at data/lrdynamicdungeon/dungeon/ for reference.
If followed these steps correctly, your biomes and custom rooms will show up in the dungeon! You can confirm if your biome has been registered when launching a world and looking into the logs for "[Dungeon Compat] Compatibility attempted, current stages:" which will display the currently loaded biomes, if successful, your biome will be in the list!
Compatibility.
This mod includes built-in compatibility with my other mod: LR's Blockollection, which adds additional biomes into the dungeon.
I encourage mod-makers to add compatibility with this mod! You can add your content into the dungeon by following the documents above, should hopefully be simple to follow! (Mobs and Items are pretty straight forward, making a biome requires the making of structures)
In addition, this mod also includes some in-built compatibility with the following mods:
Mobs that are automatically added to the dungeon generation:
-Aether
-Ancient Legends by TDO
-Ars Nouveau
-Box of Horrors
-Deeper and Darker
-L_Ender's Cataclysm
-Legendary Armory
-Legendary Monsters
-Mowzie's Mobs
-Strongy
-Thermal
-Twilight Forest
Items/enchantments that are automatically added to the treasure rooms:
-Apotheosis
-Apotheotic Additions
-Applied Energistics 2
-Better Weaponry
-Cobblemon
-Create
-Cyclic
-Draconic Evolution
-Homebound
-L2 Complements
-Legendary Armory
-Mekanism
-Powah
-Primal Magick
-Solar Craft
-Strongy
-Thermal
-Twilight Forest
评论 0
登录后参与评分
还没有评论,来抢沙发吧