跳到正文

Allium Peripherals

作者:hugeblank

Yet another peripheral mod for ComputerCraft:Restitched

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 supplied
  • getCaptures: returns a table of all captures
  • getBoundPlayer: returns two strings, the username of the bound player, and the UUID of the bound player
  • say: 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 支持哪些 Minecraft 版本?

Allium Peripherals 支持 Minecraft Java 版 1.14.4–1.19,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Allium Peripherals 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

hugeblank 的其他作品

查看全部 →