跳到正文

%player:dimension% Placeholder

作者:unilock

Adds placeholders that return the (mod that adds the) dimension a player is in

收藏

介绍

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

%player:dimension% Placeholder

This mod will no longer be updated because I just noticed TextPlaceholderAPI already does this. 🙁

Adds placeholders that return the (mod that adds the) dimension a player is in.
To be used with mods that implement Placeholders API.

Placeholders:

  • %player:dimension% – returns the dimension a player is in
  • %player:dimension_mod% – returns the name of the “mod” that adds the dimension a player is in
  • %player:dimension_raw% – returns dimension path
  • %player:dimension_mod_raw% – returns dimension namespace

Examples:

Minecraft’s “The Nether”:

  • dimension = The Nether
  • dimension_mod = Minecraft
  • dimension_raw = the_nether
  • dimension_mod_raw = minecraft

Ad Astra’s “Moon”

  • dimension = Moon
  • dimension_mod = Ad Astra
  • dimension_raw = moon
  • dimension_mod_raw = ad_astra

etc.

Planned features:

  • Configurable colors for dimensions (green for overworld, red for the_nether, purple for the_end, …)

Original inspiration + most of the “makeTitleCase” code: https://modrinth.com/mod/dimension-viewer

常见问题

%player:dimension% Placeholder 支持哪些 Minecraft 版本?

%player:dimension% Placeholder 支持 Minecraft Java 版 1.19.2–1.20.1,共 2 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

%player:dimension% Placeholder 怎么安装?

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

评论

登录后评论和评分

unilock 的其他作品

查看全部 →