2023-03-15 21:52:13 +00:00
<!--
SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
SPDX-License-Identifier: MPL-2.0
-->
2020-08-04 17:30:22 +00:00
# ![CC: Tweaked](doc/logo.png)
2023-04-06 17:13:55 +00:00
[![Current build status ](https://github.com/cc-tweaked/CC-Tweaked/workflows/Build/badge.svg )](https://github.com/cc-tweaked/CC-Tweaked/actions "Current build status")
[![Download CC: Tweaked on CurseForge ](https://img.shields.io/static/v1?label=Download&message=CC:%20Tweaked&color=E04E14&logoColor=E04E14&logo=CurseForge )][CurseForge]
[![Download CC: Tweaked on Modrinth ](https://img.shields.io/static/v1?label=Download&color=00AF5C&logoColor=00AF5C&logo=Modrinth&message=CC:%20Tweaked )][Modrinth]
2014-08-05 19:58:14 +00:00
2021-08-13 21:35:08 +00:00
CC: Tweaked is a mod for Minecraft which adds programmable computers, turtles and more to the game. A fork of the
2023-04-06 17:13:55 +00:00
much-beloved [ComputerCraft], it continues its legacy with improved performance and stability, along with a wealth of
new features.
2017-05-01 13:32:39 +00:00
2023-04-06 17:13:55 +00:00
CC: Tweaked can be installed from [CurseForge] or [Modrinth]. It runs on both [Minecraft Forge] and [Fabric].
2017-05-01 13:32:39 +00:00
2017-11-14 22:40:33 +00:00
## Contributing
2020-04-20 11:01:44 +00:00
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 ](CONTRIBUTING.md#developing ).
2019-03-04 22:52:39 +00:00
2019-05-30 07:33:55 +00:00
## Community
If you need help getting started with CC: Tweaked, want to show off your latest project, or just want to chat about
2022-09-29 21:01:51 +00:00
ComputerCraft, do check out our [forum] and [GitHub discussions page][GitHub discussions]! There's also a fairly
populated, albeit quiet [IRC channel][irc], if that's more your cup of tea.
2019-05-30 07:33:55 +00:00
2021-08-13 21:35:08 +00:00
We also host fairly comprehensive documentation at [tweaked.cc ](https://tweaked.cc/ "The CC: Tweaked website" ).
2019-05-30 07:33:55 +00:00
2019-03-04 22:52:39 +00:00
## Using
2020-09-08 17:37:40 +00:00
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.
2019-03-04 22:52:39 +00:00
```groovy
2020-09-09 07:39:28 +00:00
repositories {
2021-08-29 21:23:58 +00:00
maven {
2022-12-08 21:52:34 +00:00
url "https://squiddev.cc/maven/"
2021-08-29 21:23:58 +00:00
content {
2022-12-08 21:52:34 +00:00
includeGroup("cc.tweaked")
includeModule("org.squiddev", "Cobalt")
2021-08-29 21:23:58 +00:00
}
}
2019-03-04 22:52:39 +00:00
}
dependencies {
2022-12-08 21:52:34 +00:00
// Vanilla (i.e. for multi-loader systems)
compileOnly("cc.tweaked:cc-tweaked-$mcVersion-common-api")
// Forge Gradle
2023-03-14 09:03:45 +00:00
compileOnly("cc.tweaked:cc-tweaked-$mcVersion-core-api:$cctVersion")
2022-12-09 18:05:35 +00:00
compileOnly(fg.deobf("cc.tweaked:cc-tweaked-$mcVersion-forge-api:$cctVersion"))
runtimeOnly(fg.deobf("cc.tweaked:cc-tweaked-$mcVersion-forge:$cctVersion"))
2022-12-08 21:52:34 +00:00
// Fabric Loom
2022-12-09 18:05:35 +00:00
modCompileOnly("cc.tweaked:cc-tweaked-$mcVersion-fabric-api:$cctVersion")
modRuntimeOnly("cc.tweaked:cc-tweaked-$mcVersion-fabric:$cctVersion")
2019-03-04 22:52:39 +00:00
}
```
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.
2020-11-12 19:12:03 +00:00
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 ](https://tweaked.cc/javadoc/ ).
2021-08-13 21:35:08 +00:00
[computercraft]: https://github.com/dan200/ComputerCraft "ComputerCraft on GitHub"
[curseforge]: https://minecraft.curseforge.com/projects/cc-tweaked "Download CC: Tweaked from CurseForge"
[modrinth]: https://modrinth.com/mod/gu7yAYhd "Download CC: Tweaked from Modrinth"
2023-04-06 17:13:55 +00:00
[Minecraft Forge]: https://files.minecraftforge.net/ "Download Minecraft Forge."
[Fabric]: https://fabricmc.net/use/installer/ "Download Fabric."
2022-09-29 21:01:51 +00:00
[forum]: https://forums.computercraft.cc/
[GitHub Discussions]: https://github.com/cc-tweaked/CC-Tweaked/discussions
2022-10-09 10:22:24 +00:00
[IRC]: https://webchat.esper.net/?channels=computercraft "#computercraft on EsperNet"