红石能量(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
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
天煞孤星·魔女的末路
181次下载 | 14 小时前更新
农场物语 - FarmingTales Forge
87次下载 | 15 小时前更新
神秘启旅 ~ Thaum Journey
24次下载 | 5 天前更新
虚饰作品-Fictional
114次下载 | 5 天前更新
剑与王国
523次下载 | 5 天前更新
阿卡迪亚的天启
82次下载 | 5 天前更新
脆骨症 2 - No Flesh Within Chest 2
70次下载 | 1 周前更新
新雾中人恐怖生存---In the Fog(Horror)
49次下载 | 2 周前更新
诡厄:使徒
20次下载 | 2 周前更新
新:模拟大都市
535次下载 | 2 周前更新
香草纪元:食旅纪行
2868次下载 | 2 周前更新
云游四海
55次下载 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!