Download Barricade — Minecraft Mods — MetaMods
Barricade

Barricade

Active

Downloads

0

Last update

1 month ago

Versions

1.21.1 — 1.21.5
Server
Fabric
Neoforge
Utils

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 below
  • barricade:up_barrier — blocks movement from above
  • barricade:east_barrier — blocks movement from the east
  • barricade:west_barrier — blocks movement from the west
  • barricade:north_barrier — blocks movement from the north
  • barricade:south_barrier — blocks movement from the south
  • barricade:horizontal_barrier — blocks movement from all horizontal directions
  • barricade:vertical_barrier — blocks movement from all vertical directions

Standard Predicate Barriers

  • barricade:hostile_barrier — blocks hostile and aggressive neutral mobs
  • barricade:mob_barrier — blocks all non-player entities
  • barricade:passive_barrier — blocks peaceful and passive neutral mobs
  • barricade:player_barrier — blocks exclusively players
  • barricade: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.