Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Refraction

Refraction

Refraction is an API for general use purposes.

10.4k
7

Compatibility

Minecraft: Java Edition

1.21.1
1.20.1

Platforms

Forge
NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server

Creators

Clockwork Interactive
Clockwork InteractiveOrganization

Zeus
Zeus Lead Coder (Owner)

Details

Licensed GPL-3.0-or-later
Published last year
Updated 6 days ago
DescriptionGalleryChangelogVersions

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

Modrinth is open source.

main@acf2694

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.