Back to mods
Refraction project artwork

Modrinth · Minecraft mod

Refraction

Refraction is an API for general use purposes.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Refraction release should I use?

Updated 7 months ago
Latest stable file 1.3.0
Game version 1.21.1
Loader NeoForge

Refraction 1.3.0 targets 1.21.1 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Refraction required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Refraction 1.3.0 need?

1.3.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Refraction without breaking your instance.

Built for Refraction 1.3.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.3.0. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.3.0. It opens that exact file at the source.

About this project

What does Refraction add?

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

Project description from Modrinth.

Pick your setup

Refraction by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Refraction versions and loaders

5 of 5 releases match

Looking for an older file? The official Modrinth project page is in Resources.