%player:dimension% Placeholder

Quick rating

Community listing page, reviews may not be monitored by the author.

%player:dimension% Placeholder

By unilockOwner

No reviews yet

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

Mod Loaders
Minecraft

About

Description

%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