当前状态:对于 DH-2.3.5DH-2.4.5,请使用 0.6a;对于 DH-3.0.2DH-3.0.3,请使用 0.7.2a;对于 DH-3.1.0 及以上版本,请使用 0.7.3a
BeLodCompat
此模组改善了 Distant Horizons 渲染来自特定模组的方块的方式。如果没有它,这些方块在远处可能会显示错误甚至完全消失。
功能
在没有此模组的情况下,LittleTiles 的方块会被 Distant Horizons 视为应避免渲染的方块(类似于花朵),导致它们大多不可见或在可见时呈现为灰色。Immersive Railroading 的铁轨会显示为纯白色。
- LittleTiles – 从 LittleTiles 方块中提取单个图块的方块状态和颜色。要实现稳定的渲染效果,需要启用数据库缓存并将 Distant Horizons 配置选项
common.lodBuilding.worldCompression设置为"MERGE_SAME_BLOCKS"。 - Immersive Railroading – 从父方块的 NBT 中读取铁床填充材料的 ID。如果未启用固定方块覆盖,则必须激活数据库缓存以确保可靠的远距离显示。
- 数据库支持 – 每个维度都维护自己的 SQLite 数据库,存储在以下不同位置:
- 单人游戏:
<save_folder>/belodcompat/<dimension>.db - 多人游戏客户端:
.minecraft/belodcompat_servers/<server_ip>/<dimension>.db - 专用服务器:
<world_root>/belodcompat/<dimension>.db这种按维度隔离的方式可防止数据混合,并确保在所有维度中正确渲染 LOD。
- 单人游戏:
要求
- Minecraft:1.20.1 (Forge) 或 1.21.1 (NeoForge)
- Distant Horizons 2.3.5/3.0.2 或更高版本
- LittleTiles(可选)
- Immersive Railroading(可选)
配置
配置文件生成于 config/belodcompat.cfg。更改文件后会自动重新加载(enableDatabase 除外,该选项需要重启)。以下是可用的选项:
| 选项 | 描述 | 默认值 |
|---|---|---|
debugLogging |
启用调试日志记录(在某些情况下,部分调试消息可能不会写入日志) | false |
overrideIrRailBlock |
强制所有 IR 铁轨使用自定义方块而非其床填充材料 | false |
overrideIrRailBlockId |
启用覆盖时使用的方块 ID(如果无效则回退到 minecraft:soul_sand) |
minecraft:soul_sand |
getIrDataFromParentDirectly |
直接从父铁轨获取床填充颜色(速度更快,但可能会导致轻微延迟) | false |
replaceIrIfAir |
如果原始颜色为空气,则用回退颜色替换床填充颜色 | false |
enableDatabase |
启用 SQLite 数据库缓存(需要重启) | true |
useAsyncDbWrite |
使用异步数据库写入(性能更好,但在崩溃时可能会丢失数据) | true |
命令
该模组添加了 /belodcompat 命令,包含以下子命令:
| 命令 | 描述 |
|---|---|
/belodcompat dumpIR [dimension] |
转储指定维度(如果省略则为当前维度)的所有缓存 IR 方块状态 |
/belodcompat dumpLT [dimension] |
转储所有带有颜色的缓存 LT 方块状态 |
/belodcompat showConfig |
显示当前配置值 |
/belodcompat getLtColor <x> <y> <z> [dimension] |
显示给定位置的缓存 LT 颜色 |
/belodcompat getBlockStateOfLT <x> <y> <z> [dimension] |
显示缓存的 LT 方块状态 |
/belodcompat getBlockStateOfIR <x> <y> <z> [dimension] |
显示缓存的 IR 方块状态 |
许可证
LGPL 3.0
项目链接
GitHub:
Current status: Please use 0.6a for DH-2.3.5DH-2.4.5, 0.7.2a for DH-3.0.2DH-3.0.3, 0.7.3a for DH-3.1.0 and above
BeLodCompat
This mod improves how Distant Horizons renders blocks from certain mods. Without it, those blocks may look wrong or disappear entirely in the distance.
Features
Without this mod, LittleTiles blocks are treated as avoided blocks by Distant Horizons (similar to flowers), making them mostly invisible or appearing as gray when visible. Immersive Railroading rails appear as pure white.
- LittleTiles – Extracts one tile's block state and color from LittleTiles blocks. Color blending requires database caching to be enabled and the Distant Horizons config option
common.lodBuilding.worldCompressionset to"MERGE_SAME_BLOCKS"for stable rendering. - Immersive Railroading – Reads the rail bed fill material ID from the parent block's NBT. If the fixed block override is not enabled, database caching must be active to ensure reliable long‑distance display.
- Database support – Each dimension maintains its own SQLite database, stored in separate locations:
- Singleplayer:
<save_folder>/belodcompat/<dimension>.db - Multiplayer client:
.minecraft/belodcompat_servers/<server_ip>/<dimension>.db - Dedicated server:
<world_root>/belodcompat/<dimension>.dbThis per‑dimension isolation prevents data mixing and ensures correct LOD rendering across all dimensions.
- Singleplayer:
Requirements
- Minecraft: 1.20.1 (Forge) or 1.21.1 (NeoForge)
- Distant Horizons 2.3.5/3.0.2 or later
- LittleTiles (optional)
- Immersive Railroading (optional)
Configuration
A config file is generated at config/belodcompat.cfg. The file is automatically reloaded when changed (except for enableDatabase, which requires a restart). The following options are available:
| Option | Description | Default |
|---|---|---|
debugLogging |
Enable debug logging (some debug messages may not be written to the log in certain situations) | false |
overrideIrRailBlock |
Force all IR rails to use a custom block instead of their bed fill material | false |
overrideIrRailBlockId |
Block ID used when override is enabled (falls back to minecraft:soul_sand if invalid) |
minecraft:soul_sand |
getIrDataFromParentDirectly |
Retrieve bed fill color directly from parent rail (faster but may slow down slightly) | false |
replaceIrIfAir |
Replace the bed fill color with a fallback if the original is air | false |
enableDatabase |
Enable SQLite database caching (requires restart) | true |
useAsyncDbWrite |
Use asynchronous database writes (better performance but may lose data on crash) | true |
Commands
The mod adds the /belodcompat command with the following subcommands:
| Command | Description |
|---|---|
/belodcompat dumpIR [dimension] |
Dump all cached IR block states for the specified dimension (or current dimension if omitted) |
/belodcompat dumpLT [dimension] |
Dump all cached LT block states with colors |
/belodcompat showConfig |
Display current configuration values |
/belodcompat getLtColor <x> <y> <z> [dimension] |
Show the cached LT color at the given position |
/belodcompat getBlockStateOfLT <x> <y> <z> [dimension] |
Show the cached LT block state |
/belodcompat getBlockStateOfIR <x> <y> <z> [dimension] |
Show the cached IR block state |
License
LGPL 3.0
Project Links
GitHub:
下载 be_lod-compat
下载 be_lod-compat
下载 be_lod-compat
下载 be_lod-compat
下载 be_lod-compat
下载 be_lod-compat
下载 be_lod-compat
下载 be_lod-compat
下载 be_lod-compat
下载 be_lod-compat
适配 dh-3.1.0
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧