Modernized/improved/actually updated version of ComputerCraft: https://tweaked.cc
Go to file
Jonathan Coates 10a3a223a0
Bump version to 1.97.1
Plan here is to release 1.98 for 1.16.x and 1.17.x and 1.97.1 for
1.15.x. However, will let this sit for a few days while I sort out 1.98
and the 1.17 port just in case any more bugs pop up.
2021-07-28 16:15:32 +01:00
.github Publish docs from 1.16 instead 2021-07-02 21:49:42 +01:00
config Minor dockerfile tweaks 2021-06-12 21:38:01 +01:00
doc Add a pre commit hook to lint code 2021-04-28 21:24:27 +01:00
gradle/wrapper More gradle tweaks 2021-06-09 18:01:13 +01:00
src Bump version to 1.97.1 2021-07-28 16:15:32 +01:00
tools Add problem matchers for Github actions 2021-05-17 16:31:58 +00:00
.editorconfig Add a pre commit hook to lint code 2021-04-28 21:24:27 +01:00
.gitattributes Prevent some files from being eol converted 2021-06-28 18:16:30 +01:00
.gitignore Runnable examples (#576) 2020-11-12 19:01:50 +00:00
.gitpod.yml Gitpod Support (#817) 2021-06-12 21:33:08 +01:00
CONTRIBUTING.md Gitpod Support (#817) 2021-06-12 21:33:08 +01:00
LICENSE Add a pre commit hook to lint code 2021-04-28 21:24:27 +01:00
README.md Add a link to the Java docs 2020-11-12 19:12:03 +00:00
build.gradle And there was me thinking I understood Gradle 2021-06-29 09:08:45 +00:00
gradle.properties Bump version to 1.97.1 2021-07-28 16:15:32 +01:00
gradlew Bump Gradle/ForgeGradle version 2021-02-13 12:39:52 +00:00
gradlew.bat Bump Gradle/ForgeGradle version 2021-02-13 12:39:52 +00:00
illuaminate.sexp "Finish" documentation for several modules 2021-04-03 12:45:54 +01:00
package-lock.json Runnable examples (#576) 2020-11-12 19:01:50 +00:00
package.json Runnable examples (#576) 2020-11-12 19:01:50 +00:00
rollup.config.js More examples 2020-11-20 21:59:17 +00:00
settings.gradle Several recipe improvements 2019-03-19 11:59:23 +00:00
tsconfig.json Runnable examples (#576) 2020-11-12 19:01:50 +00:00

README.md

CC: Tweaked

Current build status Download CC: Tweaked on CurseForge

CC: Tweaked is a fork of ComputerCraft, adding programmable computers, turtles and more to Minecraft.

What?

ComputerCraft has always held a fond place in my heart: it's the mod which really got me into Minecraft, and it's the mod which has kept me playing it for many years. However, development of the original mod has slowed, as the original developers have had less time to work on the mod, and moved onto other projects and commitments.

CC: Tweaked (or CC:T for short) is an attempt to continue ComputerCraft's legacy. It's not intended to be a competitor to CC, nor do I want to take it in a vastly different direction to the original mod. Instead, CC:T focuses on making the ComputerCraft experience as solid as possible, ironing out any wrinkles that may have developed over time.

Features

CC: Tweaked contains all the features of the latest version of ComputerCraft, as well as numerous fixes, performance improvements and several nifty additions. I'd recommend checking out the releases page to see the full set of changes, but here's a couple of the more interesting additions:

  • Improvements to the http library, including websockets, support for other HTTP methods (PUT, DELETE, etc...) and configurable limits on HTTP usage.
  • Full-block wired modems, allowing one to wrap non-solid peripherals (such as turtles, or chests if Plethora is installed).
  • Pocket computers can be held like maps, allowing you to view the screen without entering a GUI.
  • Printed pages and books can be placed in item frames and held like maps.
  • Several profiling and administration tools for server owners, via the /computercraft command. This allows operators to track which computers are hogging resources, turn on and shutdown multiple computers at once and interact with computers remotely.
  • Closer emulation of standard Lua, adding the debug and io libraries. This also enables seeking within binary files, meaning you don't need to read large files into memory.
  • Allow running multiple computers on multiple threads, reducing latency on worlds with many computers.

Relation to CCTweaks?

This mod has nothing to do with CCTweaks, though there is no denying the name is a throwback to it. That being said, several features have been included, such as full block modems, the Cobalt runtime and map-like rendering for pocket computers.

Contributing

Any contribution is welcome, be that using the mod, reporting bugs or contributing code. If you want to get started developing the mod, check out the instructions here.

Community

If you need help getting started with CC: Tweaked, want to show off your latest project, or just want to chat about ComputerCraft we have a forum and Discord guild! There's also a fairly populated, albeit quiet IRC channel, if that's more your cup of tea.

I'd generally recommend you don't contact me directly (email, DM, etc...) unless absolutely necessary (i.e. in order to report exploits). You'll get a far quicker response if you ask the whole community!

Using

CC: Tweaked is hosted on my maven repo, and so is relatively simple to depend on. You may wish to add a soft (or hard) dependency in your mods.toml file, with the appropriate version bounds, to ensure that API functionality you depend on is present.

repositories {
  maven { url 'https://squiddev.cc/maven/' }
}

dependencies {
  implementation fg.deobf("org.squiddev:cc-tweaked-${mc_version}:${cct_version}")
}

You should also be careful to only use classes within the dan200.computercraft.api package. Non-API classes are subject to change at any point. If you depend on functionality outside the API, file an issue, and we can look into exposing more features.

We bundle the API sources with the jar, so documentation should be easily viewable within your editor. Alternatively, the generated documentation can be browsed online.