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!

7 thoughts on “ComputerCraft 1.74

  1. Per the instructions up top, it requires 1.7.10. It won’t work with anything later.

  2. Gostei bastante da atualização para 1.74, mas fiquei com uma dúvida.
    Qual a diferença entre os eventos: “key” e “key_up” e “mouse” e “mouse_up”? realmente não vejo diferença, gostaria de entender se poder explicar, estou perguntando isso porque alguns de meus programas apareceu estes problemas de eventos(Conflito).

    Dan200, saiba que adoro imensamente este mod e faço videos tutoriais de programação em português e já confundi você com Direwolf20, kkkkkk.

  3. i am using computercraft version 1.63 and when i type turtle.equipLeft()
    my minecarft crashes this is what i get

    Time: 04/07/2015 18:47
    Description: Ticking tile entity

    java.lang.NoSuchMethodError: net.minecraft.item.Item.getItemStackLimit(Lnet/minecraft/item/ItemStack;)I
    at dan200.computercraft.shared.util.InventoryUtil.takeItems(InventoryUtil.java:301)
    at dan200.computercraft.shared.util.InventoryUtil.takeItems(InventoryUtil.java:154)
    at dan200.computercraft.shared.turtle.core.TurtleEquipCommand.execute(TurtleEquipCommand.java:67)
    at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:776)
    at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:92)
    at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_70316_g(TileTurtle.java:255)
    at net.minecraft.world.World.func_72939_s(World.java:2209)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:552)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

    A detailed walkthrough of the error, its code path and all known details is as follows:
    —————————————————————————————

    — Head —
    Stacktrace:
    at dan200.computercraft.shared.util.InventoryUtil.takeItems(InventoryUtil.java:301)
    at dan200.computercraft.shared.util.InventoryUtil.takeItems(InventoryUtil.java:154)
    at dan200.computercraft.shared.turtle.core.TurtleEquipCommand.execute(TurtleEquipCommand.java:67)
    at dan200.computercraft.shared.turtle.core.TurtleBrain.updateCommands(TurtleBrain.java:776)
    at dan200.computercraft.shared.turtle.core.TurtleBrain.update(TurtleBrain.java:92)
    at dan200.computercraft.shared.turtle.blocks.TileTurtle.func_70316_g(TileTurtle.java:255)

    — Tile entity being ticked —
    Details:
    Name: turtleex // dan200.computercraft.shared.turtle.blocks.TileTurtleExpanded
    Block type: ID #1228 (tile.ccturtle // dan200.computercraft.shared.turtle.blocks.BlockTurtle)
    Block data value: 0 / 0x0 / 0b0000
    Block location: World: (-5,4,739), Chunk: (at 11,0,3 in -1,46; contains blocks -16,0,736 to -1,255,751), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023)
    Actual block type: ID #1228 (tile.ccturtle // dan200.computercraft.shared.turtle.blocks.BlockTurtle)
    Actual block data value: 0 / 0x0 / 0b0000
    Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:2209)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:552)

    — Affected level —
    Details:
    Level name: New World
    All players: 1 total; [EntityPlayerMP[‘lolpop’/127723, l=’New World’, x=-4.50, y=4.00, z=737.50]]
    Chunk stats: ServerChunkCache: 1147 Drop: 0
    Level seed: 5910273815184536498
    Level generator: ID 01 – flat, ver 0. Features enabled: true
    Level generator options:
    Level spawn location: World: (5,4,742), Chunk: (at 5,0,6 in 0,46; contains blocks 0,0,736 to 15,255,751), Region: (0,1; contains chunks 0,32 to 31,63, blocks 0,0,512 to 511,255,1023)
    Level time: 1296 game time, 1296 day time
    Level dimension: 0
    Level storage version: 0x04ABD – Anvil
    Level weather: Rain time: 167634 (now: false), thunder time: 141215 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
    Stacktrace:
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

    — System Details —
    Details:
    Minecraft Version: 1.6.4
    Operating System: Windows 7 (x86) version 6.1
    Java Version: 1.8.0_45, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 59633720 bytes (56 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
    JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    AABB Pool Size: 340 (19040 bytes; 0 MB) allocated, 212 (11872 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v8.11 FML v6.4.3.883 Minecraft Forge 9.11.0.883 4 mods loaded, 4 mods active
    mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
    FML{6.4.3.883} [Forge Mod Loader] (minecraftforge-9.11.0.883.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
    Forge{9.11.0.883} [Minecraft Forge] (minecraftforge-9.11.0.883.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
    ComputerCraft{1.63} [ComputerCraft] (ComputerCraft1.63.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 46 (2576 bytes; 0 MB) allocated, 30 (1680 bytes; 0 MB) used
    Player Count: 1 / 8; [EntityPlayerMP[‘lolpop’/127723, l=’New World’, x=-4.50, y=4.00, z=737.50]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to ‘fml,forge’

    please help!

    • Update to the latest ComputerCraft version and use Minecraft 1.7.10 with Forge.

      • thank you for the help but the problem is that i have a server running on minecraft version 1.6.4 and i wish that i could fix it

Comments are closed.