Common Capabilities

Common Capabilities

100036420 次下载
最近更新9 个月前
可被多个模组共享的 Forge 功能 Forge Capabilities that can be shared...

这需要“独眼巨人核心”(Cyclops Core)库!

快来独眼巨人(Cyclops)的Discord服务器上的#commoncapabilities频道和我们交流吧!

这个模组改进了模组间的交互,这之所以可行,得益于Forge的新能力系统。
它并不提供任何实际的新内容,只是改进了现有的交互。
这个模组的目标是提供对不同模组有用的标准能力,而这些模组无需相互依赖。

最初,这个模组是“集成动力”(Integrated Dynamics)的一部分,用于提高各种模组的“可读性”。之所以将其分离成这个新模组,是因为其他模组也可能从这些能力中受益,而无需依赖“集成动力”。

这个模组为以下模组提供了以下能力(标注了适用的Minecraft版本):

工作状态
表明一台机器是否能工作以及是否有工作可做。

  • 原版Minecraft(所有Minecraft版本)
  • 末影IO(1.7版本)
  • 林业(1.7、1.12版本)
  • 工业2(1.7版本)
  • 匠魂(1.7、1.12版本)
  • 邪恶工艺(所有Minecraft版本)
  • 热力膨胀(1.7、1.12版本)

温度
用于那些可以有特定温度的事物。

  • 原版Minecraft(所有Minecraft版本)
  • 林业(1.7、1.12版本)
  • 工业2(1.7版本)

配方处理器
用于展示机器的配方。

  • 集成动力(所有Minecraft版本)
  • 邪恶工艺(所有Minecraft版本)
  • 林业(1.7、1.12版本)
  • 匠魂(1.7、1.12版本)
  • 热力膨胀(1.7、1.12版本)

无槽物品处理器
常规物品处理器的一种变体,不依赖于物品槽。

  • 巨型箱子(所有Minecraft版本)
  • 集成隧道(所有Minecraft版本)

扳手
用于那些允许使用扳手操作的物品。

  • 集成动力(所有Minecraft版本)
  • 末影IO(1.7版本)
  • 林业(1.7、1.12版本)
  • 工业2(1.7版本)
  • 热力膨胀(1.7、1.12版本)

物品处理器
让更多的方块、物品和实体展示它们的物品库存。

  • 热力膨胀(1.7、1.12版本):物品形式的挎包、储物箱和保险箱。
  • 原版(所有Minecraft版本):物品形式的潜影盒和包裹。

能力委托

物品实体以及物品展示框内物品的能量、物品和流体处理器被委托给实体本身。
“成分组件API”,这是一个以通用方式处理物品、流体和能量的抽象层
这个模组的每个方面都可以通过配置来禁用交互。

这个模组负责从“通用能力API”注册能力,它还为各种模组提供这些能力的默认实现。

这个模组会收集匿名的启动数据,可在配置文件中禁用此功能,并且该功能遵循Minecraft的窥探者设置。


二分托管(Bisect Hosting)租用Minecraft服务器时使用推荐码 cyclops 来支持这个模组的开发,
作为奖励,你首月可享受 七五折 优惠!

如果你喜欢这个模组,考虑在Patreon上支持我!


This requires the Cyclops Core library!

Come talk to us in #commoncapabilities on the Cyclops Discord server!

This mod improves mod interactions, which are possible because of Forge's new capability system.
This does not provide any actual new content, it only improves existing interactions.
The goal of this mod is to provide standard capabilities that are useful for different mods, without those mods having to depend on each other.

Initially, this mod was part of Integrated Dynamics, to improve the 'readability' for various mods. This has been separated into this new mod because other mods might also benefit from these capabilities without having to depend on Integrated Dynamics.

This mod provides the following capabilities to the following mods (annotated with Minecraft version applicability):

Worker
Indicates if a machine can work, and has work.

  • Vanilla Minecraft (all Minecraft versions)
  • Ender IO (1.7)
  • Forestry (1.7, 1.12)
  • IC2 (1.7)
  • Tinkers' Construct (1.7, 1.12)
  • EvilCraft (all Minecraft versions)
  • Thermal Expansion (1.7, 1.12)

Temperature
Used for things that can have a certain temperature.

  • Vanilla Minecraft (all Minecraft versions)
  • Forestry (1.7, 1.12)
  • IC2 (1.7)

Recipe Handler
Exposes the recipes of machines.

  • Integrated Dynamics (all Minecraft versions)
  • EvilCraft (all Minecraft versions)
  • Forestry (1.7, 1.12)
  • Tinkers' Construct (1.7, 1.12)
  • Thermal Expansion (1.7, 1.12)

Slotless Item Handler
A variant of the regular item handler that is slot-agnostic.

  • Colossal Chests (all Minecraft versions)
  • Integrated Tunnels (all Minecraft versions)

Wrench
For items that allow wrenching.

  • Integrated Dynamics (all Minecraft versions)
  • Ender IO (1.7)
  • Forestry (1.7, 1.12)
  • IC2 (1.7)
  • Thermal Expansion (1.7, 1.12)

Item Handler
Making more blocks, items and entities expose their item inventories.

  • Thermal Expansion (1.7, 1.12): Satchel, Caches and Strongboxes in item-form.
  • Vanilla (all Minecraft versions): Shulker Boxes and Bundles in item-form.

Capability Delegation

Energy, Item and Fluid handlers from item entities and items inside item frames are delegated to the entity itself.
The Ingredients Components API, an abstraction layer for working with items, fluids and energy in a generic way.
Every aspect of this mod can be configured to disable interactions.

This mod is responsible for registering the capabilities from the Common Capabilities API, it also provides default implementations of these capabilities for various mods.

This mod collects anonymized startup data, this can be disabled in the config file and adheres to Minecraft's snooper settings.


Support the development of this mod by using the referral code cyclops when renting a Minecraft server at Bisect Hosting,
and get 25% off your first month as a bonus!

  If you like this mod, consider supporting me on Patreon!

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

评论区 (0)

登录 后才能发表评论

暂无评论

快来发表第一条评论吧!