跳到正文

Refraction

Refraction is an API for general use purposes.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.


<img

src=”https://cdn.modrinth.com/data/cached_images/23a895a93541f1623a43446f755e70a765591a5c.png”
alt=”Refraction” width=400>

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 😀


常见问题

Refraction 支持哪些 Minecraft 版本?

Refraction 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Refraction 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Clockwork Interactive 的其他作品

查看全部 →