Custom Barrier

A small mod that add configurable barrier

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

  1. Place the Custom Barrier block.
  2. Configure your restrictions and aesthetics via the right-click GUI.
  3. 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!

The Custom Barrier Team

profile avatar
  • 4
    Projects
  • 13.3K
    Downloads

More from ArgoSevenView all

  • EverLoad project image

    EverLoad

    • 1.9K
    • Mods

    A simple mod that allows modpacks creator to perform hot changes to kubejs assets/scripts and various configs without having to update the client

    • 1.9K
    • April 21, 2026
    • Mods
    • +1
  • ShadersEffects project image

    ShadersEffects

    • 1.7K
    • Mods

    This mod add a server side command to apply post processing shader to a player

    • 1.7K
    • April 4, 2026
    • Mods
  • KastriaMobs project image

    KastriaMobs

    • 3.0K
    • Mods

    KastriaMobs expands your world with a variety of new creatures. Designed to stay simple and easy to integrate into any modpack

    • 3.0K
    • January 5, 2026
    • Mods
    • +2
  • Throwable Dice project image

    Throwable Dice

    • 8.2K
    • Mods

    This fabric mod add throwable dice to minecraft

    • 8.2K
    • May 12, 2025
    • Mods
  • EverLoad project image

    EverLoad

    • 1.9K
    • Mods

    A simple mod that allows modpacks creator to perform hot changes to kubejs assets/scripts and various configs without having to update the client

    • 1.9K
    • April 21, 2026
    • Mods
    • +1
  • ShadersEffects project image

    ShadersEffects

    • 1.7K
    • Mods

    This mod add a server side command to apply post processing shader to a player

    • 1.7K
    • April 4, 2026
    • Mods
  • KastriaMobs project image

    KastriaMobs

    • 3.0K
    • Mods

    KastriaMobs expands your world with a variety of new creatures. Designed to stay simple and easy to integrate into any modpack

    • 3.0K
    • January 5, 2026
    • Mods
    • +2
  • Throwable Dice project image

    Throwable Dice

    • 8.2K
    • Mods

    This fabric mod add throwable dice to minecraft

    • 8.2K
    • May 12, 2025
    • Mods