红石能量(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
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
通天之路
热度 321 | 3 天前更新
匠途闲境 - Create Craft & Quiet
热度 215 | 3 天前更新
VERITY.exe
热度 371 | 6 天前更新
咒术回战(咒术战斗)
热度 68974 | 6 天前更新
暮色森林精选 - The Best of Twilight Forest
热度 25620 | 6 天前更新
无限计划 0.1 - Project Infinity 0.1
热度 9753 | 6 天前更新
黑暗RPG - DarkRPG - Forge
热度 9600 | 6 天前更新
[TLWS]末世生辉 The Last World Shines
热度 9411 | 6 天前更新
简易小屋
热度 628 | 1 周前更新
灾厄巫咒
热度 666 | 2 周前更新
阿卡迪亚的天启
热度 2872 | 2 周前更新
寄生仙途
热度 805 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!