Kyanite Portals 是一个库,让你可以轻松创建自定义传送门。

警告:该库目前处于测试阶段,且仅适用于 Deeper and Darker。未来将收到更新以改进 JSON 集成、重构某些方法并添加新功能。我建议在 Kyanite Portals 完全稳定之前使用其他库。
但是,如果你选择使用这个库并发现任何错误,请在 Discord 服务器中报告它们:
为什么使用 Kyanite Portals?
你可以让传送门拥有几乎任何你想要的行为,并且它可以被整合包创作者通过数据包进行修改。
Kyanite Portals 是作为 Custom Portal API 的替代品专门为 Deeper and Darker 开发的。原因是 Custom Portal API 没有包含 Deeper and Darker 所需的所有功能(例如,多个点火源、正确检查内部传送门内容、在旅行时执行自定义代码而不仅仅是设置旅行声音、在维度边界内生成传送门、正确显示客户端恶心效果),因此我开发了 Kyanite Portals 来满足我们的需求。
然而,即使这个库是为 Deeper and Darker 开发的,它在一个模块化系统中运作,你可以注册和设置构成每个传送门的各个部分:生成器和触发器、测试器、动作以及客户端效果。
用法
请访问 维基 获取有关如何使用该库的信息。
Kyanite Portals is a library that allows you to easily create custom portals.

WARNING: Library is in beta and currently only made for Deeper and Darker. It will receive updates in the future to improve JSON integration, refactor certain methods, and add new features. I recommend instead using a different library until Kyanite Portals is completely stable.
However, if you do choose to use this library and find any bugs, please report them in the Discord server:
Why use Kyanite Portals?
You can make the portal have pretty much any behavior you want easily, and it can later be modified with data packs by modpack creators.
Kyanite Portals was made as an alternative to Custom Portal API specifically for Deeper and Darker. The reason why is that Custom Portal API didn't have everything Deeper and Darker needed (e.g., multiple ignition sources, correctly checking inner portal contents, executing custom code on travel rather than just setting the travel sound, generating the portal inside the dimension's bounds, correctly showing the client-side nausea effect), so I developed Kyanite Portals to suit our needs.
However, even though this library was made for Deeper and Darker, it functions in a modular system where you can register and set each part that makes a portal: generator and triggers, tester, actions, and client-side effects.
Usage
Visit the wiki for information on how to use the library.
下载 Kyanite Portals
下载 Kyanite Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Kyanite Portals
下载 Kyanite Portals
下载 Kyanite Portals
下载 Kyanite Portals
下载 Kyanite Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Kyanite Portals
下载 Kyanite Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Kyanite Portals
- 更新至 26.2
- 更新至 26.2
再次更新 Portal.NETWORK_CODEC —— 目前不再发送传送门生成器和测试器
添加 AgnosticPredicate
- 替换
BlockPredicate - 在服务器端应完全一致地工作,且在客户端大多数情况下也能正常工作
- 用于允许在客户端使用传送门测试器
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧