

Barricade
The Barricade modification expands barrier creation capabilities, originally developed for Mod Garden events but available to all map creators.
The mod's main function is changing the visual display of barrier blocks and light blocks, making them more convenient for use with directional barriers. If needed, these rendering changes can be disabled by removing the Barricade Rendering resource pack.
Client-side Only Operation
The mod can function exclusively on the client without requiring server installation. In this mode, it applies rendering functions only to blocks containing the barricade:operator
JSON loader. To create custom barrier models in a resource pack, you can use samples from the mod's source code.
Configuration of items that activate rendering is done by editing JSON files in the assets/<namespace>/barricade/operator_blocks
directory.
Barrier Types
The mod adds three categories of barrier blocks: directional, predicate, and advanced barriers.
- Directional barriers — block movement from specific directions
- Predicate barriers — block entities matching specified conditions
- Advanced barriers — block entity-based blocks with combined functionality
All items are accessible via the /give command or in the Operator Utilities creative tab.
Standard Directional Barriers
barricade:down_barrier
— blocks movement from belowbarricade:up_barrier
— blocks movement from abovebarricade:east_barrier
— blocks movement from the eastbarricade:west_barrier
— blocks movement from the westbarricade:north_barrier
— blocks movement from the northbarricade:south_barrier
— blocks movement from the southbarricade:horizontal_barrier
— blocks movement from all horizontal directionsbarricade:vertical_barrier
— blocks movement from all vertical directions
Standard Predicate Barriers
barricade:hostile_barrier
— blocks hostile and aggressive neutral mobsbarricade:mob_barrier
— blocks all non-player entitiesbarricade:passive_barrier
— blocks peaceful and passive neutral mobsbarricade:player_barrier
— blocks exclusively playersbarricade:creative_only_barrier
— blocks players not in creative mode
Advanced Barrier
The Advanced Barrier is a block entity capable of combining directional and predicate functions simultaneously. Its behavior is configured through JSON files in the /data/<namespace>/barricade/advanced_barrier/<path>.json
directory. To add such a barrier, use the barricade:advanced_barrier
component with the corresponding identifier.