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).
🛠️ 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) |
📋 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!