
Что это
A Fabric mod for Minecraft that allows players to pass through barrier blocks based on configurable rules or external conditions via an API.
- Тип: мод
- Загрузчик: fabric
- Версии Minecraft: 1.21.1
- Скачиваний на Modrinth: 1 430
Подробно
ConditionalBarriers is a Fabric mod for Minecraft that allows players to pass through barrier blocks based on configurable rules or external conditions via an API.
By default, barrier blocks are impassable for everyone. This mod changes that by allowing fine-grained control over who can walk through them, making it ideal for map makers, server administrators, and developers.
- Configurable Pass Rules: Define who can pass through barriers using various criteria (Game Mode, Permission Level, Player Name, UUID, Scoreboard Tags). - Developer API: Easily register custom conditions to control barrier accessibility from other mods. - In-game Commands: Manage the mod's state and reload configuration without restarting the server. - No More Suffocation: Automatically prevents players from suffocating inside barriers if they are allowed to pass through them. - High Performance: Implemented using optimized Mixins to ensure minimal impact on server performance.
The mod provides the following commands (requires permission level 2 or higher):
- /conditionalbarriers on: Enables rule evaluation. - /conditionalbarriers off: Disables the mod's logic (making all barriers passable for everyone). - /conditionalbarriers status: Displays whether the mod is currently active. - /conditionalbarriers reload: Reloads the configuration from the disk. - /cb: A shorter alias for /conditionalbarriers.
The configuration file is located at config/conditionalbarriers.json. It allows you to define a list of rules that are evaluated in order.
json { "defaultPassable": false, "rules": [ { "type": "SPECTATOR", "action": "ALLOW" }, { "type": "CREATIVE", "action": "ALLOW" }, { "type": "SCOREBOARDTAG", "action": "ALLOW", "value": "canpassbarriers" }, { "type": "OPERATORLEVEL", "action": "ALLOW", "operatorLevel": 4 } ] }
Rule Types - CREATIVE: Matches players in Creative mode. - SPECTATOR: Matches players in Spectator mode. - OPERATORLEVEL: Matches players with a specific permission level. - PLAYERNAME: Matches a specific player name (case-sensitive option available). - PLAYERUUID: Matches a specific player UUID. - SCOREBOARDTAG: Matches players with a specific scoreboard tag.
ConditionalBarriers is required on both the client and the server to function correctly. This is because the client's physics engine needs to know when a barrier block should be non-solid to allow for smooth move
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
MSW Compat
Spell Power x Marium's Soulslike Weaponry 05.12.2026
TradeShop
A simple, no-nonsense item trade chest shop plugin. 05.12.2026
Backport Gamerules
Backporting new gamerules to the older versions 05.12.2026
MusicPlayerMod
A sleek, modern music player overlay for Minecraft that displays your currently playing media from Spotify, YouTube Music, and other… 05.12.2026
Deferred Registries
Register things in ease 05.12.2026
EnemyIndicator
EnemyIndicator makes your crosshair display differently when it is possible to hit an enemy. 05.12.2026