Cave Expansion 添加了多种新方块:陶罐、石罐和宝箱。每个方块在被破坏时都会掉落有价值的物品。陶罐会掉落各种实用物品,如火把、食物、箭矢等。宝箱则会掉落更珍贵的物品,例如钻石、铁锭,甚至工具和盔甲。本模组的主要目标是丰富单调且空旷的 Minecraft 地下世界。该模组添加了超过一百种不同的随机生成结构。所有结构均为手工制作,可能是陷阱、地牢,也可能是普通的隧道或空房间。部分结构的生成受到特定生物群系的限制,例如沙漠地表下会有砂岩地牢、金字塔和陵墓;丛林中则分布着长满苔藓的结构以及带有绊线的有毒陷阱。本模组完全兼容原版,不添加任何自定义物品,因此可以添加到任何整合包中。请注意,某些结构包含爆炸性元素!
建议将此模组与任何洞穴生成器模组搭配使用,例如 Worley's Caves 或 YUNG's Better Caves。
如果您想调整世界中结构生成的频率,可以使用命令 /caveexpansionfrequency(或者输入 "/cave" 并按 [Tab] 键)并输入概率乘数。例如,输入 "/caveexpansionfrequency 0.5" 将使结构数量减半,而输入 "/caveexpansionfrequency 2" 将使结构数量翻倍。此设置仅影响新生成的区块,并且乘数仅对当前世界有效。如果将值设置得过高(超过 5),在生成新区块时可能会导致卡顿。
所有结构均使用 Minecraft 的结构方块和结构虚空方块创建。如果您有关于结构的绝佳创意,我可以轻松添加更多。如果您愿意发送您的结构给我,我将不胜感激,因为制作这些结构需要花费相当多的时间(结构虚空方块令人头疼,我真的很讨厌它们)。请确保您的结构不包含来自其他模组的方块。对于每一位帮助我的玩家,我都会保留署名。
我会定期更新模组并添加更多结构,敬请期待!
这里还有一些剧透内容:
出于显而易见的原因,我不会在截图中展示任何陷阱。
本模组使用 MCreator 创建。
如果您了解 Java 和 Minecraft 模组开发,我可以寻求一些帮助:
简而言之,我正尝试为本模组实现战利品表功能。
以下是一些代码,如果您发现任何错误,请联系我。
这是战利品表的注册代码:
每次破坏宝箱时都会调用以下代码:
我遇到的第一个问题是 MCreator 会从 assets 文件夹中删除 loot_tables 文件及其内部的 treasure_chest_lvl1.json 文件,但我试图在 Minecraft 启动前快速将其重新放置回去。我认为这并非应有的工作方式,但这却是我想到的唯一修复方法。
当我加入世界时,控制台会出现以下提示:
正如预期那样,当我破坏宝箱时 Minecraft 直接崩溃了。
因此,如果您是资深模组开发者并希望帮助改进此模组,请联系我。
Cave Expansion adds several new blocks: clay and stone pots, treasure chests. Each block drops valuables when destroyed. Pots drop various useful items such as torches and food, arrows, etc. Chests drop more valuable things such as diamonds, iron ingots or even tools and armor. The main goal of this mod is to diversify the boring and empty Minecraft underground. The mod adds more than a hundred different randomly generated structures. All of them are handmade and can be traps, dungeons or just tunnels or empty rooms. Some structures are restricted to spawn in set biomes, for example, deserts have sandstone dungeons, pyramids, and tombs underneath the surface, jungles have mossy structures and poisonous traps with tripwires. Mod is 100% vanilla-friendly and doesn't add any custom items, so you can add it to any mod pack. Be careful, some structures have explosive elements!
I recommend installing this mod with any cave generator mod, for example, Worley's Caves or YUNG's Better Caves.
If you want to adjust the frequency of structure generation in the world, you can use the command /caveexpansionfrequency (or just enter "/cave" and hit [Tab]) and enter the chance multiplier. For example, "/caveexpansionfrequency 0.5" will set half as many structures or "/caveexpansionfrequency 2" - twice as many. This would only affect newly generated chunks and the multiplier will be set only for the current world. Setting the value too high (more than 5) may cause lag when generating new chunks.
All structures created with Minecraft structure blocks and structure void blocks. If you have a good idea for a structure, I can easily add more. I will be glad if you send me your structures, as their creation takes quite a lot of time (structure void blocks are evil and I hate them). Just make sure they don't have blocks from other mods. I will leave credits for everyone who will help me.
Periodically, I will update the mod and add more structures, so stay tuned!
Here are some more spoilers:
I won't show any traps in the screenshots for obvious reasons.
Mod created with MCreator.
If you know java and Minecraft modding, I could use some help:
In short, I'm trying to implement loot tables to this mod.
Here is some code, contact me if you see any mistakes.
Here is loot table registration:
This is called every time the chest is destroyed:
The first problem I'm having is that MCreator deletes the loot_tables file and treasure_chest_lvl1.json inside it from the assets folder, but I'm trying to quickly place it back before Minecraft starts. I don't think that it is how it should work like that, but this is the only way I found to fix it.
When I join the world this pops up in the console:
And as expected Minecraft just crashes when I break the chest.
So, if you a veteran modder and want to help to improve this mod, please contact me.
下载 Cave Expansion Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cave Expansion Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cave Expansion Mod
下载 Cave Expansion Mod
下载 Cave Expansion Mod
下载 Cave Expansion Mod
为花盆和箱子添加了重力效果(如果在空中生成,它们现在会掉落)。
新增了 40 个结构。
优化了生成算法。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
评论 0
登录后参与评分
还没有评论,来抢沙发吧