- Java 97.8%
- Dockerfile 1.8%
- Shell 0.3%
- PowerShell 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
build / build (push) Has been cancelled
The buttons were inside the terminal widget's rect, on top of the
first text column — the red power icon covered the "C" of "CraftOS"
and the second button covered the first characters of the lines
below. The text was never clipped; it was covered.
Structure now mirrors CC:T's TurtleScreen (read from the CC:Tweaked
source): the terminal is its own element, separate from the background
texture and the slot layout. The screen is 17 (sidebar) + 254 wide;
the texture is blitted at leftPos + 17; the terminal stays at
texture-relative (8, 8) — it does not move — and the tab sits at
leftPos, topPos + 8, aligned with the terminal, with the buttons at
ComputerSidebar's (+4, +5) and (+4, +21) offsets. Power on top,
CC:T's terminate below (mirroring Ctrl+T, per Zach's
|
||
| .devcontainer | ||
| .github/workflows | ||
| gradle/wrapper | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| build.gradle | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle | ||
| src.java.ps1 | ||
| src.java.sh | ||
CC Autoplay
A client-only Fabric mod for Minecraft 26.3 that puts ComputerCraft on the client: the local player becomes 100% drivable through ComputerCraft Lua, regardless of what the server runs. Mouse and keyboard still work — the automation is an alternative input path, not a replacement.
Requires CC: Tweaked 1.121.0.
Naming note: the repo and project are "CC Autoplay", but the mod id is currently
cc-autoplayer(kept from the template). Whether to rename the id tocc-autoplayis an open decision for the project owner.
Design
- In-game terminal. Programs run in a terminal on the client, backed by a
virtual filesystem:
/is per-server (.minecraft/cc-autoplay/servers/<hashed-server-ip>) or per-local-world (.../servers/local-<uuid>, with the uuid stored in the world asworld/.ccautoplay.uuid.txt)./romis the standard read-only CraftOS ROM./.player/is.minecraft/cc-autoplay/.player, persistent across worlds and servers (name WIP — ComputerCraft, Automated Player).
- Mixin shim, config-gated. By default CC: Tweaked registers its items and tags as if loaded directly (for servers that run CC: Tweaked, and single-player). On servers without CC: Tweaked, registration is ceased and CC: Tweaked loads as a library only — disabling registration is what prevents phantom-content issues there.
- Data models.
worldis only what the server gives the client;reachis the lower-ranged interaction model for peripherals — furnaces, crafting tables, doors, anything interactable. - Rules. Code wins 100% unless Ctrl+T is held to stop the running process. Interactions are capped at 20tps so nothing spams faster than a human could. Anti-cheat flags are accepted as a fact of life.
- The "100%" scope: movement, look, attack, interact, jump, sprint,
sneak, hotbar/inventory served as storage peripherals (same as equipment
slots),
chat.send,chat.recvevents.
Status
Slice 1: scaffold only — the mod compiles, loads, and logs on init. No terminal, no peripheral, no mixins, no gameplay code yet.
Build
Requires JDK 25 (Minecraft 26.x targets Java 25).
./gradlew build
Toolchain
- Minecraft 26.3 (calendar versioning — no more
1.prefix) - Fabric Loader 0.20.1, Fabric API 0.166.2+26.3, Fabric Loom 1.19-SNAPSHOT
- CC: Tweaked 1.121.0 (Fabric, Modrinth version
M5LJB9s0) - Gradle 9.8.2, Java 25
Note: Minecraft 26.1+ ships unobfuscated, so there are no Yarn mappings for
26.x and no remap step — Loom runs in no-remap mode
(net.fabricmc.fabric-loom plugin id) and dependencies use plain
implementation instead of modImplementation.
License
CC0 1.0 Universal — carried over from the template; the project owner may change this.