Damage Block Swap
每次受到伤害时,两种随机类型的方块会互换位置。石头变成沙子,水变成岩浆,橡木原木变成玻璃——而且规则会不断叠加。存活得足够久,你熟悉的世界就会扭曲成一种令人惊叹的陌生模样。
工作原理
受到攻击——无论是来自怪物、坠落、岩浆、仙人掌还是其他任何伤害——都会诞生一条新的互换规则:两种方块类型会在全球范围内交换位置。每条规则都会保留下来,因此随着游戏时间的推移,混乱程度会不断加剧。在你探索的过程中,世界围绕着你重塑,并且无论你走到哪里,这种变化都是一致的。
第 1 次击中: 石头 ↔️ 沙子
第 2 次击中: 水 ↔️ 岩浆
第 3 次击中: 橡木原木 ↔️ 玻璃
……你能坚持多久?
特性
🎲 每次受击都有全新的随机互换 —— 没有两次运行是相同的
🌍 世界随你的漫游而改变 —— 变化跟随你,当你到达新区域时,它们也会随之变形
🗺 互换地图 —— /dbs 命令(以及游戏内界面)让你可以查看哪些方块变成了什么,这样你仍然可以找到钻石矿
🛡 你的建筑是安全的 —— 箱子、熔炉、告示牌和其他容器永远不会被互换。基岩、传送门、屏障、火、门、床和高植物也永远不会被互换,默认情况下黑曜石也被排除在外,这样你就不会在返回下界时迷路
⚙️ 高度可配置 —— 每次受击的互换次数、受影响区域的大小、冷却时间、液体和掉落方块是否参与互换、方块黑名单(ID 和标签)、哪些类型的伤害会导致互换,等等
👥 支持多人游戏 —— 可在专用服务器上运行,原版客户端也可以加入并游玩。安装了该模组的客户端还可以获得互换地图和翻译后的消息
💥 流畅,不卡顿 —— 世界逐渐变形,而不是冻结游戏,即使是大范围的互换也是如此。一个区块永远不会被互换两次,即使崩溃后也是如此
命令
所有玩家可用:
/dbs list — 查看所有已经发生的变化
/dbs lookup <block> — 查看某个方块变成了什么,以及现在看起来像它的方块是什么
管理员可用:
/dbs status — 规则、冷却时间、日志信息
/dbs pause / /dbs resume — 停止或开始添加新规则
/dbs add <block> <block> — 手动添加规则
/dbs undo — 取消最后一条规则
/dbs reload — 重新加载配置文件,无需重启服务器
可选依赖
Mod Menu + Cloth Config API — 添加游戏内设置界面(每种伤害类型都有一个开关)和互换地图查看器。完全可选;所有内容也可以在配置文件中设置。
注意事项
这是一个混沌模组。“影响范围”设置越大,同时改变的世界部分就越多——默认值经过调整以保持流畅,所以请自行承担调高这些设置可能带来的帧率风险。😄
⚠️ 从 1.0.x 版本更新? 请先备份你的世界。世界会自动转换,但不支持降级回 1.0.x 版本。
源代码和问题反馈:
Damage Block Swap
Every time you take damage, two random block types swap places. Stone becomes sand, water becomes lava, oak logs become glass — and the rules keep stacking up. Survive long enough and your familiar world twists into something gloriously unrecognizable.
How it works
Take a hit — from a mob, a fall, lava, a cactus, anything — and a new swap rule is born: two block types trade places everywhere. Every rule sticks around, so the chaos compounds the longer you play. The world reshapes around you as you explore, and stays consistent wherever you go.
Hit #1: Stone ↔️ Sand
Hit #2: Water ↔️ Lava
Hit #3: Oak Log ↔️ Glass
…how long can you last?
Features
🎲 A fresh random swap on every hit — no two runs are ever the same
🌍 The world transforms as you roam — changes follow you, and new areas morph as you reach them
🗺 Swap map — the /dbs command (and an in-game screen) lets you look up what turned into what, so you can still hunt down that diamond ore
🛡 Your builds are safe — chests, furnaces, signs and other containers are never swapped. Bedrock, portals, barriers, fire, doors, beds and tall plants are never swapped either, and obsidian is excluded by default so you can't lose your way back from the Nether
⚙️ Highly configurable — swaps per hit, size of the affected area, cooldown, whether liquids and falling blocks join in, a block blacklist (ids and tags), which kinds of damage cause swaps, and more
👥 Multiplayer ready — works on a dedicated server, vanilla clients can join and play. Clients with the mod also get the swap map and translated messages
💥 Smooth, not stuttery — the world morphs gradually instead of freezing your game, even with massive swaps. A chunk is never swapped twice, even after a crash
Commands
For everyone:
/dbs list — everything that has changed so far
/dbs lookup <block> — what a block turned into, and what now looks like it
For operators:
/dbs status — rules, cooldown, journal info
/dbs pause / /dbs resume — stop or start adding new rules
/dbs add <block> <block> — add a rule by hand
/dbs undo — cancel the last rule
/dbs reload — reload the config without restarting
Optional
Mod Menu + Cloth Config API — add an in-game settings screen (with a switch per damage type) and a swap-map viewer. Completely optional; everything can also be set in the config file.
Good to know
This is a chaos mod. Bigger "area of effect" settings change more of the world at once — the defaults are tuned to stay smooth, so crank them up at your own (frame) risk. 😄
⚠️ Updating from 1.0.x? Back up your world first. Worlds are converted automatically, but downgrading back to 1.0.x is not supported.
Source code and issues:
评论 0
登录后参与评分
还没有评论,来抢沙发吧