Back to mods
Dimension Locker project artwork

Modrinth · Minecraft mod

Dimension Locker

lets you disable any dimension (Compatible with other mods, Nether & End by default). Exceptions can be granted through custom items.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Dimension Locker release matches 1.21.3 Forge?

Updated 1 year ago
Best match for your filters forge-1.21.3-1.1.0
Game version 1.21.3, 1.21.4
Loader Forge

Dimension Locker forge-1.21.3-1.1.0 targets 1.21.3, 1.21.4 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Dimension Locker required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Dimension Locker forge-1.21.3-1.1.0 need?

forge-1.21.3-1.1.0 on 1.21.3 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Dimension Locker without breaking your instance.

Built for Dimension Locker forge-1.21.3-1.1.0 on 1.21.3 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use forge-1.21.3-1.1.0. It targets 1.21.3, 1.21.4 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside forge-1.21.3-1.1.0. It opens that exact file at the source.

About this project

What does Dimension Locker add?

Dimension Locker


Description

This mod lets you disable any dimension (Compatible with other mods). Exceptions can be granted through custom items to let players enter locked dimension. It introduces new commands, a gamerule, and custom data components to enhance the player interactions with the permits.

Features

  1. Locked portals

    Whenever any entity is about to be teleported (by a portal) to a locked dimension, it would being pushed instead, also get a feedback message with the dimension's name.

    player-getting-rejected-nether

    player-getting-rejected-end-pov


  2. Compatibility

    This mod is available in

    • Forge
    • NeoForge
    • Fabric
    • Quilt

    Works out of the box with any other mod that adds dimensions, however you still need some language compatibility.
    you will need a resource pack to add a language key,
    dimension.<mod_id>.<dimension_name>

    in the case of the nether dimension the mod has "dimension.minecraft.the_nether": "The Nether",


  3. Data Components

    Here are a couple of Data Components added by the mod that are recommended to use all together, but can be used separately if desired.

    • dimension:
      whenever an entity has a item with the dimension data component, no matter if the dimension is trying to enter is locked, it will enter as long as the component's dimension matches the one trying to enter.

      Example:
      /give @s minecraft:ender_eye[dimension_locker:dimension="minecraft:the_end"]

    • cant_enter_ender_chest:

      Doesn't let the item inside the ender chest, nor any item containing it (shulker boxes, bundles, etc).
      cant-enter-ender-chest-feedback

      Example: /give @s minecraft:ender_eye[dimension_locker:cant_enter_ender_chest={}]

    • un_despawnable:

      Quite simple, prevents the item from despawning after the standard 5 minutes, can be paired with the damage_resistant data component to make undestructible items.

      Example: /give @s minecraft:ender_eye[dimension_locker:un_despawnable={}]


  4. Commands

    You don't have to reboot your server to lock a dimension, an admin can use one of these commands, and it the dimension would be locked/unlocked right away.

    • Lock Command: /dimension lock <dimension>
    • Unlock Command: /dimension unlock <dimension>
    • Check Command: /dimension isLocked <dimension>
      Operators can check the locked status of a dimension.

  5. New Gamerule

    operatorCanEnterLockedDimension: A gamerule that determines whether operators can bypass locked dimensions. Set to true by default.


Project description from Modrinth.

Pick your setup

Dimension Locker by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

7 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Dimension Locker versions and loaders

1 of 4 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.