-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
enhancementNew feature or request.New feature or request.
Description
Describe the feature
public static Dimension getDimension() {
if (mc.world == null) return Dimension.Overworld;
return switch (mc.world.getRegistryKey().getValue().getPath()) {
case "the_nether" -> Dimension.Nether;
case "the_end" -> Dimension.End;
default -> Dimension.Overworld;
};
The PlayerUtils.getDimension() method returns dimension based on the world name, which means that if nether world's name is different than "the_nether", then it would return overworld
Before submitting a suggestion
-
This feature doesn't already exist in the client. (I have checked every module and their settings on the latest dev build)
-
This wasn't already suggested. (I have searched suggestions on GitHub and read the FAQ)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request.New feature or request.