ModsFinder

Twilight inventory lock

by Cromwell

Twilight inventory lock stops players from carrying Twilight Forest prohibited modded items into the dimension, checking the whole inventory on entry.

NeoForgeServer-side onlyMIT License1.21.1

What it does

On entry to the Twilight Forest, the mod checks the player's inventory against a list of prohibited items and blocks entry while any are present. Its scan is recursive, so prohibited items stored inside containers such as Useful Backpacks bags, and the sub-inventories of portal detection blocks, are found too. Players are told which items caused the block through a clear list in the chat.

The lock is server-side only, so only the server needs the mod and players join without installing it. It runs on NeoForge for 1.21.1, and the 1.2.1 build, dated 2026-01-11, is the latest file. The code is released under the MIT License, and the mod is not open source in the sense of a public repository listing. Its author is Cromwell.

Key features

  1. Deep container scanning

    The scan goes into backpacks and bags, using advanced NBT and component search to find prohibited items hidden inside them.

  2. Entity protection

    Prohibited items cannot be carried in through a portal by throwing them, so the lock is not bypassed that way.

  3. Detailed feedback

    A player who is blocked receives a list of the exact items that caused the block.

  4. Config whitelist

    A config file lets the server owner whitelist favorite mods so their items are allowed through the lock.

Compatibility

Latest build for each game version and loader.

1.21.11.2.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Keeping the dimension fair

Server owners can hold the Twilight Forest to its intended progression by removing items from other mods before players enter.

Running with Useful Backpacks

The mod checks Useful Backpacks containers, so bags cannot be used to smuggle prohibited items past the portal.

Who it’s for: Server owners who run the Twilight Forest on NeoForge 1.21.1 and want a fair progression. Single-player players need nothing from this mod.

How it compares

Full comparison

Twilight Crossbow adds a weapon to the same Twilight theme and is open source under the MIT License, running on both client and server. Reliquified Twilight Forest is not open source and has All rights reserved licensing, so it is not a substitute for an inventory lock.

ModLoadersGame versionsEnvironmentUpdated
Twilight inventory lockNeoForge1.21.1Server-side only2026-01-11
Twilight CrossbowNeoForge1.21.1Client and server2026-01-07
Reliquified Twilight ForestNeoForge1.21.1Client and server2026-02-26

Questions

Does Twilight inventory lock need to be installed on the client?

No. Players join without it, since only the server has to run the mod.

How does a server owner allow a mod's items through?

The config file has a whitelist where favorite mods can be listed, so their items pass the lock.

What the author says

Unlike simple filters, this mod performs a deep recursive scan of your inventory. Even if you hide prohibited items inside containers like Useful Backpacks, the portal will detect them and block entry. 🔍 Deep Container Scanning: Advanced NBT/Component search that "looks inside" backpacks and bags. No more hiding…
Cromwell, on the Modrinth page

Official listing

Owner
Cromwell
Published
2026-01-10
Updated on Modrinth
2026-01-11
Facts verified
2026-10-15