
Diagonal Fences
Fences connecting diagonally? Wait. That's illegal.
Screenshots

About this Mod

![]()
![]()
![]()
Diagonal Fences makes all kinds of fences able to connect diagonally. Works just like you would expect it to, so not much more to say really.
Blocks added by other mods are dynamically supported whenever possible. Blocks that are affected unintentionally can be prevented from being so by adding them to the diagonalfences:non_diagonal_fences block tag.
Check out the two other projects from the diagonal blocks mod family: Diagonal Windows and Diagonal Walls.
Works great in combination with mods such as MrCrayfish's Furniture Mod by MrCrayfish and Macaw's Fences and Walls by Sketch_Macaw.
![]()
![]()



![]()
![]()
⏩ INSTALLATION REQUIRED ON CLIENT & REQUIRED ON SERVER
⏩ REQUIRES PUZZLES LIB TO BE INSTALLED (FABRIC & NEOFORGE)
⏩ REQUIRES FABRIC API TO BE INSTALLED (FABRIC)
⏩ REQUIRES FORGE CONFIG API PORT TO BE INSTALLED (FABRIC)
![]()
![]()
If available for a mod, configuration is possible directly from in-game using the mod menu (requires Mod Menu by Prospector to be installed on Fabric). Please note that on older Minecraft versions installing Forge Config Screens is also a requirement.
For manual configuration using an external text editor all files are found at .minecraft/config, named as MOD_ID-client.toml, MOD_ID-common.toml, or MOD_ID-server.toml, depending on the type of config. Not all types might exist for a mod, if any at all.
![]()
![]()
🌟 Thanks to TheWeatherPony for the original idea with their Fence Overhaul mod.
🌟 Thanks to Magneticflux for some of the diagonal hitbox code from their Diagonal Panes mod.
🌟 Thanks a lot to XFactHD for porting Diagonal Fences to 1.18, contributing the diagonal model code and helping out during development in general!
![]()
![]()
![]()
Available Versions
How to Install Diagonal Fences on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).
Install Mod
Open the mod browser in the dashboard and search for "Diagonal Fences". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.2, 26.1.2, 26.1.1 (+21 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Diagonal Fences server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.2). You can switch loaders with one click in the panel.
Is Diagonal Fences compatible with fabric and forge and neoforge?
Diagonal Fences officially supports fabric, forge, neoforge for Minecraft 26.2, 26.1.2, 26.1.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Diagonal Fences – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Diagonal Fences consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Diagonal Fences with just one click on your server.



