介绍
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!
常见问题
Custom Barrier 支持哪些 Minecraft 版本?
Custom Barrier 支持 Minecraft Java 版 1.19.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Custom Barrier 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
ArgoSeven 的其他作品
查看全部 →Throwable Dice
This fabric mod add throwable dice to minecraft
KastriaMobs
KastriaMobs expands your world with a variety of new creatures. Designed to stay simple and easy to integrate into any modpack
ShadersEffects
This mod add a server side command to apply post processing shader to a player
Expire
Expire is a Fabric mod meant to be lightweight for usage on servers that want items to expire.
评论
登录后评论和评分