Refraction

Refraction

Refraction is an API for general use purposes.

by
32.5K Downloads
forgeneoforge
Rent Server with this Mod

Screenshots

🤤🤤🤤

About this Mod

Refraction mod logo


Refraction Library was made for commonly used code between multiple projects & includes many useful methods to make adding features such as cutscenes easier to implement and to make the overall development process easier.

Refraction was made by ZeusIGN & ConnorTron110.


Refraction

All big things that Refraction offers:

  • ReConfig—Config system with auto syncing support
  • Atda—Persistent data storage system
  • Syncables—Server → Client class syncing capability
  • Channels—Custom data channels between server and client w/ headers
  • NamedAPI—Extension of Channels for named API channel schemes
  • Runnabler—Handler for delayed and ticking runnables on client / server
  • RefractionEvents—Event system with multiloader support
  • VoxelUtils—Voxel generation utilities
  • Particler—Particle wrapper with render and tick manipulation
  • RAABB—Allows for non-axis aligned boxes with collision
  • Cutscenes—Customizable cutscenes through code (future command support)
  • Custom debuggers—Similar to Minecraft's system of debugging, Refraction has custom debug support
  • Interactions—NPC Interaction handler
  • Quests—Quest handler system, doesn't offer quest stacking by default (future change)
  • Server Screens—Full server side control of screens without extra packets including closing, opening and sharing data between client ↔ server
  • Registrable tracking sounds—Ticking sounds that can be registered on the client and called from the server
  • Flood Filler—Highly customizable flood filler
  • Camera shake—Provides a camera shake interface
  • SyncConfig—Automatic syncing for player joins
  • Vec3Helper—A lot of vec3 util

    And a lot more, just take a look for yourself, mainly in @helper and @feature dirs :D

Available Versions

Refraction 1.3.0release
MC 1.21.1neoforge
February 5, 2026
Refraction 1.2.1release
MC 1.21.1neoforge
December 19, 2025
Refraction 1.3.5release
MC 1.20.1forge, neoforge
October 2, 2025
Refraction 1.2.0release
MC 1.21.1neoforge
September 7, 2025
Refraction 1.0.0-1.20.1release
MC 1.20.1forge, neoforge
June 14, 2024

How to Install Refraction on Your Server

1

Order Server

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

2

Set forge Loader

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

3

Install Mod

Open the mod browser in the dashboard and search for "Refraction". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forgeneoforge

Minecraft Versions

1.21.1, 1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Refraction server crashes on startup – what to do?

Most common cause: wrong forge 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 (1.21.1). You can switch loaders with one click in the panel.

Is Refraction compatible with forge and neoforge?

Refraction officially supports forge, neoforge for Minecraft 1.21.1, 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Refraction – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Refraction 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 Refraction with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 or later
Server-side
Required

Supported Versions

1.21.11.20.1