跳到正文

Reservoir Fluid API

作者:redColmula55

This is a lib mod which makes creating fluids in Fabric easier.

收藏

介绍

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

Reservoir Fluid API

Description

This is a lib mod intends to make creating fluids in Fabric easier.

Features

Registry

  • Customized fluid registry
  • Less overrides through ExtendedFluid
  • Customize properties with a single FluidSettings object

Behaviors & Interactions

  • Supports flowing upwards
  • New data-driven fluid reaction system
  • Able to create different types of bucket and make them stackable
  • Entity movement no longer requires tags
  • Customizable submerging fog
  • More fluid related features…

Developing Guide

Modrinth Maven

  1. Add the Modrinth Maven repo by following the official tutorial
  2. Optional: Download the sources jar for javadoc supports
  3. Add follow lines under dependencies in your build.gradle file: modImplementation 'maven.modrinth:rfapi:VERSION'
  4. Replace the VERSION to a proper version number
  5. Refresh the project

Manually

  1. Create a libs folder under your project base dir
  2. Put the mod jar file into the folder and rename it to rfapi.jar
  3. Optional: Download the sources jar for javadoc supports
  4. Add follow lines under dependencies in your build.gradle file: modImplementation(file('libs/rfapi.jar'))
  5. Refresh the project

Q&A

  • Q: Why do you make this? A: I found difficult working on fluids under Fabric, so I made some tricks and they work surprisingly well. And later on I decided to make it a sepereate lib mod so I can use it among multiple projects.
  • Q: WTF is this name for? A: Reservoir is a place to store water to help peoples, and this is a lib helping devs creating water(all types of fluids actually), so here it is(still nonsense but whatever lol).
  • Q: Will there be a Forge/NeoForged version? A: No.
  • Q: What about other versions? A: When it got out of pre-release era, I would probably port it to other major versions, but not now.

License

This project is licensed under LGPL v2.1 or later.
© 2026 redColmula55
Not an official _Minecraft_ product. Not approved by or associated with _Mojang_.

常见问题

Reservoir Fluid API 支持哪些 Minecraft 版本?

Reservoir Fluid API 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Reservoir Fluid API 怎么安装?

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

评论

登录后评论和评分

redColmula55 的其他作品

查看全部 →