Redstone Flux

Redstone Flux

50 次下载
最近更新9 个月前
红石通量 API - 《我的世界》中的能量传输。 Redstone Flux API - Energy Tran...

红石能量(Redstone Flux)API的独立Jar文件。

给模组开发者的重要提示:在您的模组中重新打包本API或旧版API(cofh.api.energy)会导致崩溃。请勿这么做。:)

如果您需要使用能力系统(capabilities),请使用锻造能量(Forge Energy)——它实际上就是红石能量能力。既然如此,为什么还要使用这个呢?

坦率地说,除了接口在性能和可靠性上更出色,并且作为编码人员,它能为您提供一个模板,确保您不会在某些地方出错之外,并没有一个特别突出的理由。而且将其转换为能力系统也很简单。

或者,也许您只想要纯粹的红石能量,不想使用各种新的能量变体来为您的物品供能。这也完全没问题。:)

模组开发者们,以下是您需要添加到build.gradle中的内容:

仓库 { maven { 名称 = "CoFH Maven" 网址 = "http://maven.covers1624.net" } } 依赖项 { 反混淆编译 "cofh:RedstoneFlux:1.12 - 2.0.0.1:通用版" }

祝您使用愉快!

©2012 - 2017 Cult of the Full Hub / Team CoFH / CoFH


Standalone Jar file for the Redstone Flux API.

Important note for mod developers: Repacking the THIS API or the OLD API (cofh.api.energy) in your mods will cause crashes. Do not do that. :)

If you want capabilities, use Forge Energy - it's literally the RF capability. Having said that, why use this at all?

Frankly, there's not a great single reason, except that interfaces are more performant, reliable, and provide a template for you as a coder to make sure that you didn't screw up somewhere. And they're trivial to cast to capabilities.

Or, maybe you just want pure RF and you don't want all the various new Flux variants to power your stuff. That's 100% fine too. :)

Mod developers, here's what needs to go into your build.gradle:

repositories { maven { name = "CoFH Maven" url = "http://maven.covers1624.net" } } dependencies { deobfCompile "cofh:RedstoneFlux:1.12-2.0.0.1:universal" }

Enjoy!

©2012-2017 Cult of the Full Hub / Team CoFH / CoFH

本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。

评论区 (0)

登录 后才能发表评论

暂无评论

快来发表第一条评论吧!