Diagonal Fences

Diagonal Fences

Fences connecting diagonally? Wait. That's illegal.

by
10.3M Downloads
fabricforgeneoforgedecorationutility
Rent Server with this Mod

Screenshots

Diagonal Fences Screenshot 1

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

[NEOFORGE] [26.2.x] v26.2.0release
MC 26.2neoforge
June 18, 2026
[FABRIC] [26.2.x] v26.2.0release
MC 26.2fabric
June 18, 2026
[FABRIC] [26.1.x] v26.1.0release
MC 26.1, 26.1.1, 26.1.2fabric
April 30, 2026
[NEOFORGE] [26.1.x] v26.1.0release
MC 26.1, 26.1.1, 26.1.2neoforge
April 30, 2026
[FABRIC] [1.21.11] DiagonalFences v21.11.1release
MC 1.21.11fabric
December 28, 2025

How to Install Diagonal Fences on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).

3

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

fabricforgeneoforge

Minecraft Versions

26.2, 26.1.2, 26.1.1 (+21 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install Diagonal Fences with just one click on your server.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Mozilla Public License 2.0
Server-side
Required

Supported Versions

26.226.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.6+14 more