你是否曾遇到过需要与方块多个侧面进行交互的问题?
现在,这些问题都已成为过去!
借助 Capability Proxy(能力代理),你可以将目标方块某一侧的能力(或在 Fabric 中的方块 API)扩展到另外 五个 侧面。
自版本 2.1.0 起,新增的 Entity Capability Proxy(实体能力代理)和 Item Capability Proxy(物品能力代理)允许你通过方块与实体和物品进行交互!更多信息请见下文。
无法与某些方块(如堆肥桶)交互?尝试安装 Common Capabilities,它可为默认不具备能力的方块添加能力支持。
Capability Proxy



普通代理可以与相邻方块通信,而远程代理的作用范围为 16 个方块(可配置)。

普通代理的合成方式如下:

远程代理的合成方式如下:

将代理指向一个具有能力的方块,即可从代理方块访问该方块的所有能力。
任何类型的能力均可使用,例如物品、流体、能量等。
甚至方块的交互操作也会被转发,例如打开 GUI。

当不存在有效的目标方块时,该方块将处于非活动状态。

最多可增加 五个 可用侧面。

如果五个侧面仍不够用,你还可以串联代理以提供更多的可用侧面。

能量代理示例:

Integrated Dynamics 网络(基于能力)代理示例:

Entity Capability Proxy
当实体具备能力时,此方块允许你像操作方块一样与它们进行交互。
以下示例展示了如何将物品管道接入掉落的潜影盒。 (这需要安装 Common Capabilities)


Item Capability Proxy
当物品插入此方块时,你可以像操作该方块一样与其中的物品进行交互。在此示例中,代理包含一个储罐,并使用 Integrated Tunnels 将流体导出到世界中。

你只能通过指定的侧面导入/导出不同的代理物品。(在此示例中为底部侧面)

本模组会收集匿名启动数据,这可以在配置文件中禁用,并遵循 Minecraft 的“间谍”设置。
租用 Bisect Hosting 服务器时使用推荐码 cyclops 来支持我们,可享 8 折优惠!
如果你喜欢这个模组,请在 Patreon 上支持我!
Did you ever have the problem where you needed to interact with multiple sides of a block?
Well, those days are over now!
With the Capability Proxy, you can extend the capabilities (or block APIs in Fabric) of one side of a target block to five additional sides.
As of version 2.1.0, an Entity Capability Proxy and Item Capability Proxy can be used to interact with entities and items via blocks! More information hereafter.
Unable to interact with certain blocks such as the Composter? Try installing Common Capabilities, which adds capabilities to blocks that have none by default yet.
Capability Proxy



Regular proxies can communicate with their neighbours, while ranged proxies have a range of 16 blocks (configurable).

The regular proxies can be crafted like this:

The ranged proxies can be crafted like this:

Point the proxy towards a block that has capabilities, and all capabilities will be accessible from the proxy block.
Any kind of capability will work, such as items, fluids, energy, ...
Even block interactions will be forwarded, such as opening GUI's.

When no valid target block is present, the block will be in an inactive-state.

As many as five additional sides become available.

And if five wouldn't be enough, you can chain proxies to have even more available sides.

Energy proxy:

Integrated Dynamics network(capability-based) proxy:

Entity Capability Proxy
When entities have capabilities, this block allows you to interact with them as if they were a block.
The following examples show how to pipe items into a dropped Shulker Box. (This requires Common Capabilities to be installed)


Item Capability Proxy
When an item is inserted in this block, you can interact with the items as if they were this block. In this example, the proxy contains a tank, and its fluids are piped out into the world using Integrated Tunnels.

You can only pipe in/out different proxied items via the indicated side. (In this example, the bottom side)

This mod collects anonymized startup data, this can be disabled in the config file and adheres to Minecraft's snooper settings.
Support us via the referral code cyclops when renting a Bisect Hosting server, and get 25% off!
If you like this mod, consider supporting me on Patreon!
下载 Capability Proxy
下载 Capability Proxy
下载 Capability Proxy
下载 Capability Proxy
下载 Capability Proxy
下载 Capability Proxy
下载 Capability Proxy
下载 Capability Proxy
下载 Capability Proxy
下载 Capability Proxy
自上次发布以来的更改:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧