This mod allows you to see Barrier Block. This feature is toggleable by using an option in "Video Settings" or a keybind (default key is M)

Note:
You can change the texture of the visible barrier block with a texturepack. The texture file is located in "assets\visiblebarrierblocks\textures\block\barrier.png"
How to Install Visible Barrier Blocks (Mod)
Visible Barrier Blocks by RealHaiech is verified for Fabric across Minecraft versions 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4 (latest release: 1.0+1.21.4, file size: 27 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Visible Barrier Blocks file into your Minecraft
.minecraft/modsfolder and launch the game.