pocket Unlimited
This mod adds the ability to add more then one upgrade to a CC: Tweaked pocket computer.
介绍
This addon for CC: Tweaked allows you to equip more then one upgrade to a pocket computer (regular and advanced). The multible upgrades can be used as if they were just regular upgrades or you can specify to avoid naming conflics (see below)
Runtime requirements
- Minecraft
1.21.1 - NeoForge
21.1.x - CC: Tweaked
1.117.0+
In-game usage
pocketUnlimited is available on pocket computers.
lua
one-time setup on a pocket computer
pocketUnlimited.enable()
equip an upgrade from player inventory slot 1-36
pocketUnlimited.equip(1)
list all equipped upgrades
print(textutils.serialize(pocketUnlimited.list()))
get all live upgrade peripherals from “back”
local back = peripheral.wrap(“back”)
use upgrade methods directly (like a normal single upgrade)
back.open(42) — modem
back.playSound(“minecraft:block.note_block.harp”) — speaker
optional: direct access to specific upgrade objects
local upgrades = back.upgrades()
upgrades.wireless_modem.open(42)
upgrades.speaker.playSound(“minecraft:block.note_block.harp”)
remove an upgrade and return its item to the player
pocketUnlimited.remove(1)
disable unlimited mode and keep one upgrade on the pocket
pocketUnlimited.disable()
disable unlimited mode and eject all upgrades
pocketUnlimited.disableAll()
back.upgradeInfo() shows each upgrade key/id/type mapping.
If two upgrades expose the same method name, use back.<upgradeKey>_<method>(...) to disambiguate.
WARNING: i have no plans on continuing this mod or mantaining it and in its current state is likely buggy. But i have not found any glitches in the few minutes ive spent testing. Use at your own risk
常见问题
pocket Unlimited 支持哪些 Minecraft 版本?
pocket Unlimited 支持 Minecraft Java 版 1.21.1–26.1,共 12 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
pocket Unlimited 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分