Allium Peripherals
Allium 目前为 CC:R 提供两种外围设备:生存模式聊天调制解调器和创造模式聊天调制解调器。这些调制解调器的功能与 SquidDev's Plethora 外围模组中的聊天模块相同。
物品
以下是游戏中当前存在的物品列表,以及关于其方法的简要文档。
聊天调制解调器
首先,使用 8 个金锭围绕一个 CC 扬声器来制作一个聊天调制解调器。放置后,右键点击它将自己绑定,再次右键点击以解除绑定。除了破坏并替换该调制解调器外,其他人无法将你从已绑定的聊天调制解调器上解绑。绑定后,你可以使用以下所有方法:
capture:添加一个模式,以便在每次发送匹配的消息时排队触发事件。一旦消息被捕获,它将不会发送给其他任何人。uncapture:移除单个给定的模式,如果未提供参数则移除所有模式。getCaptures:返回包含所有捕获项的表格。getBoundPlayer:返回两个字符串,分别是绑定玩家的用户名和 UUID。say:向绑定玩家发送一条消息。
聊天调制解调器支持无限距离的消息发送和接收,但其缺点是无法绑定多个玩家。
创造模式聊天调制解调器
创造模式聊天调制解调器与生存模式类似,区别在于它的捕获操作是全局生效的。由于它不需要绑定玩家,因此 getBoundPlayer 和 say 方法不适用于创造模式聊天调制解调器,其余方法与生存模式完全一致。
致谢
我要向 Fabric 社区 Discord 中的所有用户致以巨大的(空白)感谢,感谢他们帮助我将这个模组变为现实,无论是催促我刷新 Gradle,还是在我尝试实现方块实体期间忍受我的精神崩溃。我还要特别感谢 SquidDev,在他协助我解决模组中 CC 端遇到的问题时提供了极大的帮助。
Allium Peripherals
Allium offers two peripherals for CC:R at present. A survival, and creative chat modem. These modems function identically to the chat module from SquidDev's Plethora peripherals mod.
Items
The current list of items in the game, along with a bit of documentation on their methods.
Chat Modem
To start, craft one using 8 gold ingots surrounding a CC speaker. Place one down and right click on one to bind yourself, right click to unbind. Nobody else can unbind you from a chat modem you've bound yourself to (apart from breaking and replacing it). Once bound you have access to all the methods:
capture: add a pattern to queue an event every time you send a message that matches. Once a message gets captured, it does not get sent to anyone else.uncapture: removes a single given pattern or all patterns if none are suppliedgetCaptures: returns a table of all capturesgetBoundPlayer: returns two strings, the username of the bound player, and the UUID of the bound playersay: sends a message to the bound player.
The chat modem allows for unlimited distance sending and receiving of messages, with the drawback that it can only bind to one player.
Creative Chat Modem
The creative chat modem is similar to a survival modem, with the exception that it applies captures globally. Since it
lacks the need for a player, the methods getBoundPlayer and say do not apply to the creative chat modem, all others
from the survival modem are identical.
Credits
I would like to give a huge(blank) thanks for all the users on the fabric community discord for helping me make this mod a reality, from shouting at me to refresh gradle, to dealing with my mental breakdown while trying to implement block entities. I'd also like to thank SquidDev in particular for assisting me when I came across issues with the CC end of the mod.
下载 Allium Peripherals
下载 Allium Peripherals
下载 Allium Peripherals
下载 Allium Peripherals
下载 Allium Peripherals
下载 Allium Peripherals
下载 Allium Peripherals
下载 Allium Peripherals
下载 Allium Peripherals
- 修复了创意聊天模组中关键的 NPE 问题 (#11)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
AE2:一款流行的自动化与存储模组
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
高科技机械、强大的能量生成、炫酷的小工具以及更多内容。现已登陆 Modrinth!
模组
一款轻量级模组,允许服务器管理员对抗透视作弊者。
评论 0
登录后参与评分
还没有评论,来抢沙发吧