跳到正文

DimLib

Provides dynamic dimensions functionality.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

DimLib

This is a Fabric mod that can:

  • Add and remove dimensions when the server is running or when the server is initializing.
  • Synchronize dimension info to client when dimension changes if the client has the mod.
  • Allow suppressing the “Worlds using Experimental Settings are not supported” warning, through config or code.

For the dynamic dimension functionality, this mod is required on server but not required on client. If the client does not have the mod, the command completion of dimension id will not update if dimension changes.

If you only want the functionality of disabling the warning, this mod is only required on client.

All APIs are in DimensionAPI class. You can refer to the javadoc.

Commands

/dims add_dimension <newDimensionId> <preset>

Dynamically add a new dimension based on a preset.

Example: /dims add_dimension "aaa:ccc" void

/dims clone_dimension <templateDimension> <newDimensionID>

Dynamically add a new dimension. That new dimension’s dimension type and chunk generator will be the same as the templateDimension.

This command only clones the dimension type and world generator. It will not clone the things in world (blocks, entities, …).

Example: /dims clone_dimension minecraft:overworld "aaa:bbb" will dynamically add dimension aaa:bbb whose world generation is the same as the overworld.

/dims remove_dimension <dimension>

Dynamically remove a dimension.

This command will not delete the world saving of that dimension.

/dims view_dim_config <dimension>

Show the dimension config of a dimension. It includes the dimension type id and chunk generator config.

常见问题

DimLib 支持哪些 Minecraft 版本?

DimLib 支持 Minecraft Java 版 1.20.4–1.21.1,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

DimLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

qouteall 的其他作品

查看全部 →