Introducing: ComputerCraftEdu

Ever since I released the first version of ComputerCraft back in 2011, I’ve always
been amazed and impressed by the number of people who’ve come up to me to tell me they’ve used ComputerCraft to teach themselves programming. Even more impressive is the number of school teachers and educators who’ve taken it upon themselves to use the mod to teach programming to others. Today, I’m announcing the release of a new project that takes the educational potential of ComputerCraft to a whole new level.

ComputerCraftEdu is a project I’ve been working on for over two years with TeacherGaming, the people who made MinecraftEdu and are responsible for putting Minecraft into thousands of schools around the world. In the same vein as MinecraftEdu, ComputerCraftEdu is a streamlined version of ComputerCraft designed for use in learning and education, to teach the next generation of programmers how to code. The two main features of the mod are “Beginner’s Turtles” and the “Turtle Remote”, which provide a powerful new visual way to program ComputerCraft Turtles and learn the fundamentals of programming.

ComputerCraftEdu is especially designed for schools using MinecraftEdu, but it’s available to everyone with a PC version of Minecraft. Visit www.computercraftedu.com to download the mod, and check out the provided wiki and tutorial videos to learn more about how the mod plays.

We hope this project will introduce even more players to the power and joy of programming, and help to inspire the next generation of coders.

ComputerCraft 1.74

Hey everybody! It’s time for another ComputerCraft update. This one adds a few features people have been asking for for a while, including ubiquitous tab completion, taking the guesswork out of programming!

Downloads:

ComputerCraft 1.74 requires Minecraft version 1.7.10 with an up to date version of Minecraft Forge installed. Once you have Forge, drop the files into your /mods/ directory, and launch Minecraft.

Changelog:

  • Added tab completion to “edit”, “lua” and the shell.
  • Added textutils.complete(), fs.complete(), shell.complete(), shell.setCompletionFunction() and help.complete().
  • Added tab completion options to read().
  • Added “key_up” and “mouse_up” events.
  • Non-advanced terminals now accept both grey colours.
  • Added term.getTextColour(), term.getBackgroundColour() and term.blit().
  • Improved the performance of text rendering on Advanced Computers.
  • Added a “Run” button to the edit program on Advanced Computers.
  • Turtles can now push players and entities (configurable).
  • Turtles now respect server spawn protection (configurable).
  • Added a turtle permissions API for mod authors.
  • Implemented a subset of the Lua 5.2 API so programs can be written against it now, ahead of a future Lua version upgrade.
  • Added a config option to disable parts of the Lua 5.1 API which will be removed when a future Lua version upgrade happens.
  • Command Computers can no longer be broken by survival players.
  • Fixed the “pick block” key not working on ComputerCraft items in creative mode.
  • Fixed the “edit” program being hard to use on certain European keyboards.
  • Added “_CC_VERSION” and “_MC_VERSION” constants.

Thanks again to everyone who helped beta test this update. If you’d like to help us test future versions, visit the ComputerCraft Beta Testing forums, where we’re currently testing the upcoming ComputerCraftEdu. More on that soon!

ComputerCraft 1.71 1.72 1.73

Hey all, just a quick update to add one small but vital feature I missed from ComputerCraft 1.7 (and then two more to fix server crashes – sorry!). Details below:

Downloads:

ComputerCraft 1.73 requires Minecraft version 1.7.10 with an up to date version of Minecraft Forge installed. Once you have Forge, drop the files into your /mods/ directory, and launch Minecraft.

Changelog:

  • The “exec” program, commands.exec() and all related Command Computer functions now return the console output of the command.
  • Fixed two multiplayer-only crash bugs when placing certain blocks.

Happy hacking!

ComputerCraft 1.7

One of the features of ComputerCraft I’m most proud of is one design principle I’ve consistently applied: realistic constraints. Turtles are powerful, but restricted: they can only dig things in front of them, and they must have resources to build. Some times though, you just want to get creative. In ComputerCraft 1.7, I’ve added a new feature I’ve wanted for a long time: the Command Computer.

A Command Computer with it's primitive cousin

Inspired by the incredible things vanilla players do with Command Blocks, the Command Computer is a creative mode computer that has the ability to execute arbitrary minecraft commands. It can set blocks, create items and entities, interact with players and more, all from Lua scripts. It’s perfect for adventure maps, mini-games, and ambitious algorithmic building projects. Check out this video by thatParadox for an idea of how to use them. Onto the downloads:

Downloads:

ComputerCraft 1.7 requires Minecraft version 1.7.10 with an up to date version of Minecraft Forge installed. Once you have Forge, drop the files into your /mods/ directory, and launch Minecraft.

Changelog:

  • Added Command Computers
  • Added new API: commands
  • Added new programs: commands, exec
  • Added textutils.serializeJSON()
  • Added ILuaContext.executeMainThreadTask() for peripheral developers
  • Disk Drives and Printers can now be renamed with Anvils
  • Fixed problems with HD texture packs
  • Fixed various bug, crashes and exploits
  • Documented all the new features in the in-game help system

I’m really excited to see what people create with this update, be sure to post anything cool onto the ComputerCraft forums. Happy hacking!

ComputerCraft: Hosted by CreeperHost

If you visit this website a lot, you’ve probably noticed that it has a habit of going offline, sometimes for several days at a time, sometimes several times a month. If you follow me on Twitter, you’ll know that the cause of this downtime is abuse: DDoS attacks organised by immature fans of other Minecraft mods, and people who’ve been banned from the forums. It’s disgusting behaviour, but it’s unfortunately one of the things you have to deal with if you run a website with any significant userbase today.

This post is not to complain, however, but to announce a solution: I’ve moved the site from my previous web host to a new server graciously provided to me by CreeperHost, the Minecraft server hosting company who you may know as the people who provide the bandwidth for the Feed the Beast launcher. With any luck, this server should be more resilient to attacks than the previous host. Time will tell.

At any rate, I owe big thanks to CreeperHost for helping me out with this situation. If you’re in the market for Minecraft server hosting, check them out! And thanks to everyone else for your patience during these troubled times.

Three Years!

ComputerCraft 1.0 was released at 10pm on December 24th, 2011. This means that, as of 10 minutes ago, ComputerCraft has been available for download for three years! Thanks to everyone for sticking with it for all this time.

Merry Christmas from ComputerCraft

For the next week, all the Turtles in ComputerCraft will be wearing their hats to celebrate. I hope you’ll join them.

ComputerCraft 1.65

Hey all. This is just a small update to fix some small bugs that have been getting in the way of people enjoying ComputerCraft 1.64:

Downloads:

ComputerCraft 1.65 requires Minecraft version 1.7.10 with an up to date version of Minecraft Forge installed. Once you have Forge, drop the files into your /mods/ directory, and launch Minecraft.

Changelog:

  • Fixed a multiplayer-only crash with turtle.place()
  • Fixed some problems with http.post()
  • Fixed fs.getDrive() returning incorrect results on remote peripherals

Enjoy the update! And while I have your attention, check out the new game I’ve been working on: Redirection. End of plug.

ComputerCraft 1.64

Better late than never, ComputerCraft has been updated to Minecraft 1.7.10! There’s also some powerful new functions that allow Turtles to inspect blocks and items in much more detail. As always, thanks to everybody who helped beta test this release over the last few months!

Downloads:

ComputerCraft 1.64 requires Minecraft version 1.7.10 with an up to date version of Minecraft Forge installed. Once you have Forge, drop the files into your /mods/ directory, and launch Minecraft.

Changelog:

  • Ported to Minecraft 1.7.10
  • New turtle functions: turtle.inspect(), turtle.inspectUp(), turtle.inspectDown(), turtle.getItemDetail()
  • Lots of bug fixes and crash fixes, a huge stability improvement over previous versions

For those interested, the reason this update has taken so long is that I’ve been busy working on my new game Redirection, which has now been released! Head over to itch.io to check it out. Every purchase helps me to earn a living, which means more games, and more ComputerCraft updates. It’s also quite a fun game, and getting it now gets you a chance to make levels and have them be included in the release on Steam, so I hope you’ll consider it.

Enjoy the update.

Redirection – ComputerCraft Edition

Today I recorded a new video showing how to play the new “redirection” minigame in ComputerCraft 1.63, I’m rather proud of it:

Just download ComputerCraft 1.63 and type “redirection” as shown in the video to play it. If you like the look of the “real” Redirection shown at the end of this video, be sure to visit Redirection on Steam Greenlight and vote “Yes”. We’re 85% of the way to the elusive top 100 list now, so we need all the votes we can get to cross the finish line. If you’ve already voted, tell your friends to!

ComputerCraft 1.63

Hey everybody, it’s update time! This one brings a handful of bug fixes reported by our beta testers, and some new cosmetic features you’ll be dyeing to try out:

The game on the right is Redirection - ComputerCraft edition, vote for the real thing on Steam Greenlight!

Downloads:

ComputerCraft 1.63 requires Minecraft version 1.6.4 with an up to date version of Minecraft Forge installed. Once you have Forge, drop the files into your /mods/ directory, and launch Minecraft.

Changelog:

  • Turtles can now be painted with dyes, and cleaned with water buckets
  • Added a new game: Redirection – ComputerCraft Edition (type “redirection” on an Advanced Computer to play)
  • Turtle label nameplates now only show when the Turtle is moused-over
  • The HTTP API is now enabled by default, and can be configured with a whitelist of permitted domains
  • http.get() and http.post() now accept parameters to control the request headers
  • New fs function: fs.getDir( path )
  • Fixed some bugs

Thanks a lot to everyone who helped beta test this release and report bugs. The huge refactoring in 1.6 was a rocky road in terms of bugs, but I think we’re pretty steady now. See you after the Minecraft 1.7 port!