Custom Barrier
Modby ArgoSeven
A small mod that add configurable barrier
Description
CustomBarrier
CustomBarrier is designed for map makers, server administrators, and creators. It introduces a highly configurable barrier block featuring selective player pass-through, custom particle effects, and optional opaque rendering.
Whether you are building a VIP area, a progression-locked dungeon, or complex adventure maps, CustomBarrier gives you total control over who gets to pass.
🌟 Features
- Three Pass-Through Modes: Control access dynamically using an easy-to-use in-game GUI.
- Ethereal Effect: A status effect granted on that allows temporary passthrough.
- Custom Particles: Assign any particle type ID per block to match your build's aesthetic.
- Opaque Toggle: Toggle visibility! Choose between standard invisible barriers or render them as an End Gateway block.
- Waterloggable: Seamlessly integrates into underwater builds.
- Intuitive Configuration GUI: Easily configure settings in-game (requires Creative Mode & OP Level 2).
Effect Block
A block that applies a status effect to any living entity touching it. Usage
Place the Effect Block
Right-click it as a creative op (offhand empty, not holding the effect block item)
Enter the effect string: <effect_id> <duration_ticks> <amplifier> (e.g. minecraft:speed 100 2)
Press Save — any entity that walks through the block receives the effect
🛠️ Access & Mode Reference
To configure a block, simply right-click it with an empty offhand while in Creative mode (and holding any item other than the barrier itself).
| Mode | Check Field Value | Behavior |
|---|---|---|
TAG |
Scoreboard tag (or comma-separated list) | Player must have all listed tags to pass. |
PLAYER |
Display name (or comma-separated list) | Player's display name must match to pass. |
PREDICATE |
Loot predicate ID | Evaluated via vanilla PredicateManager. (Great for use with Misode's Predicate Generator) |
MAINHAND |
Item ID | Player must have the item in the main hand to pass. |
📋 Requirements & Quick Start
- Place the Custom Barrier block.
- Configure your restrictions and aesthetics via the right-click GUI.
- Save your settings. The block will automatically allow or deny collision based on the player's credentials!
Dependencies:
- Minecraft:
1.19.2 - Fabric Loader:
≥0.16.0 - Fabric API:
≥0.77.0+1.19.2
📄 License
This project is licensed under the MIT License. Feel free to include it in your modpacks!
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Feder's Dungeon Armors
The armors straight from Minecraft: Dugeons!
Hexcassettes
A Hexcasting addon for all your delaying, async, and daemon needs!
Keepers of the Stones II
Keepers of the Stones II is a mod created as a continuation of the original version of the Keepers of the Stones mod. It...
LegendControl-Defender [Pixelmon]
Addon changes spawn system for legendary pokemon.
PokeLeague Enhanced
A mod to enhance the gameplay of the PokeLeague server
Variant-Decoration
This Mod is all about Blocks and they're different Varinats, including new and old blocks up to 1,984 Blocks Added.