CC: Tweaked Autorun Datapack
作者:rebot | 分类:模组
Minecraft 版本: 1.20 1.20.1
平台: datapack
CC: Tweaked Autorun Datapack
Makes every ComputerCraft computer automatically run any script ending with _autorun on startup or server reboot.
Installation
- Download this datapack (the
.zipfile). - Put it into the
datapacksfolder of your Minecraft world. - Done. It works on all computers in that world.
To make it work globally for all new worlds, use a mod like Paxi or OpenLoader and place the datapack there.
How to make an autorun script
- Open any ComputerCraft computer.
- Create a Lua file with a name ending in
_autorun.lua.
Example:my_server_autorun.lua - Write your code inside.
- Save and reboot the computer.
That’s it – your script will start automatically every time.
Example use cases:
Keep your server always active.
Keep your miners always active.
Keep your password‑protected redstone door always active.
请登录后举报
暂无评论,抢个沙发吧~