Constructing CPUs in MC

Now, did you know somebody already build a CALCULATOR based on redstone within minecraft? Epic stuff…

For quite some time the idea of “Computers” for Minecraft persists. Yet i haven’t seen any real implementation of this.
It would fit quite epicly into IC, don’t you think?

There are two essential problems though:
– How to implement?
– What would be it’s use?

Regarding the second question, i’ve thought about a few meta- and real purpouses:
– Some sort of recursiv calculation machine. It would be capable of increasing the operation speed of all machines around. Similar a machine for enhancing energy generation.
– Server-wide chatroom… ok, actually useless, but omg, a chatroom within minecraft!
– Some sort of messaging system
– Widerange, scaleable map?

Regarding the implementation, i’m still working out the details…
But most likely it will consist of a whole array of blocks, with different functions each. F.e. a CPU, a control core, a memory block, a monitor etcetcetc…

The main problem will be CPU (the real one) usage, most likely. I’m currently thinking about an efficient, save-able and yet CPU-un-intensive system.

BUT, it will be awesome 😀

This entry was posted in News. Bookmark the permalink.

30 Responses to Constructing CPUs in MC

  1. quadrapod says:

    Look at garrys mod’s wire mod. A cpu is linked to a FSB of some kind and connections are broken out of that by addressing individual ports. The cpu can then be programmed in ZASM a form of assembler to turn each port on or off, or to push data through in serial. Could be implemented in IC by making it so that up to 4 FSB blocks, one on each side could be connected giving them a data architecture. Would need 3 data types for wires instead of just eu packets: Serial, CPUBUS, and EU Serial contains a single byte array per packet (limit of 255 bytes per packet?) CPUBUS links a cpu block to an FSB block for port addressing, (could also link to some kind of screen). And EU packets are just energy.

    cpus should have a limit of addressable space and should run a set number of operations between each frame.

    This would be very niche usage, but very cool.

    http://www.youtube.com/watch?v=9ET8jqOfIYM

    • Alblaka says:

      Always keep in mind this is MINECRAFT, which bases on JAVA… XD

      • Sir Pickles says:

        Pong. Albaka, if you can program 2 player pong into Minecraft……you will become a god….

        I bet you will even get exclusive access to Minecon!

        • Sir Pickles says:

          Also, maybe make it so you can program a password into it,? And use it to emit a redstone current to anything 3 blocks away in the specified direction?

        • Sir Pickles says:

          Oh, and of course, you should make it able to print notes. Via printer. A computer in IC2 should have 3 parts: tower, printer, screen.

          Notes can also be made by putting an ink and stick together with 3 ingots in a bucket shape on the bottom maybe, for the metal part?

          Printers should require ink in a GUI to print, as well as paper.

          You can refill pens with ink by giving it more ink in the crafting square!

          Huray! A reason for INK in IC2!!!!

          Now if only I thought of all my ideas at the same time. XD

  2. Keyalha says:

    besides that always keep in mind there are people loving ic who dont have a IT degree and dont have a clue what all that means 🙂 jk love the idea of computers inside minecraft as long as it is somewhat understandable.

  3. Setzer says:

    Oh my god! That would be so awesome Alblaka.
    I was thinking of asking you to implement some sort of computer in Industrial Craft, but as I didn’t know how the heck it could be implemented, I figured it would be dumb.

    But yeah, I hope you figure it out, as it would be awesome 😛

  4. quadrapod says:

    import sun.java.unsafe?

  5. Matheus says:

    I have an idea for them 🙂 It would be awesome if you add a movie screen that can be operated by a computer, you draw the frames in the computer, and they appear in the screen if you connect them with the cables (I think the mod have cables, I didn’t download it yet because I am searching for modloadermp) if it don’t have, connecting with redstone, then it shows in the screen the mini-movie 😀 And when you put another movie screen block at the side of other movie screen block it will make the frame size bigger, but put a limit for the size 🙂 And you can make the computer work like a clock in one block, to resend the signal to redstone (or cables, idk) with many speeds and easily, you can make it change blocks position, and etc… and it can show a digital time of the day in minecraft.

  6. mechamind says:

    I was thinking that maybe you could make passive energy collectors more compact?
    E.g Craft a Super Solar Collector with a recipe of 8 Solar Collector and 1 CPU/Adv Machine.
    E.g a Super Solar Collecter will get 10 EU/S

    I think if it’s possible, it should be implemented for Solar collectors, Windmills and Watermills. The key concern in implementing this is to reduce CPU computation for theses Energy collectors. Maybe expand this even further by making Mega energy collectors, e.g 8 Super Solar Collector + 1 CPU = Mega Solar Collector

    • Alblaka says:

      Nope, no “Advanced” Machine versions.. at least not until i get a sprite limitbreaker. Except for MCE

      • Jay says:

        A sprite limit breaker?
        Well, if you’re talking terrain, there’s no reason to have the sprite limit in the first place. Just ask Eloraam, or Spacetoad. BuildCraft uses ONE terrain sprite override, and Integrated Redstone/RedPower use ZERO. Item sprites can’t be done in the same way just yet, but I hear they’re close to a breakthrough on that.

  7. Blackout says:

    A chat room within Minecraft would actually be pretty useful, so long as it let you talk without having to reopen the menu after every line. Maybe have a PDA-like device to listen in on the line when you aren’t at one of the computers to streamline the chat process, which opens up the possibility of a GPS-like thing that shows coords of people with the PDAs, accessible at the same time as the chat. Then large-scale operations would be easy to coordinate on any computer, instead of just those with a CPU good enough to keep the graph out of the way of your coords on the F3 screen.

  8. Takeguru says:

    A computer within Minecraft.

    So you can Minecraft… while you Minecraft?

    Anyway, I was thinking that a computer could be required to run the things like teleporters, shields, and terraformers.
    Instead of the FreqTrans, you input the coordinates of your destination into the computer, instead of redstoning it to start, you hit “OK” on the computer. Instead of putting the blueprint into the terraformer, you put it in the computer… in the form of a disk.

    • Sir Pickles says:

      That’s actually my idea, I implanted that into you within a dream within a dream within a dream……within limbo……

      xD

      Just so that I could post that comment….

  9. Nerox says:

    Was thinking about a controller block which checks time/light level. Like when wireing a cpu to a .. lets say switch cable by using glass fiber, since it transfers informations quite fast.
    opening the gui of the cpu, then set up time.
    from time 0 (sunrise in minecraft) it sends out a .. redstone signal(?) to disconnect the (lets say) nuclear reactors and connect the solar generators to have constant power supply, and when the time reached 12000 (when sun is going down) it disconnects the solar generators due to obvious reasons, and reconnects the nuclear gen’s.
    -> Constant power and less wasting of uranium (- ingots).

    Another idea would be… wiring a cpu to a .. nuclear reactor (leave me and my imagination.) and, when the nuclear reactor runs out of uranium fuel ingots it sends datas to the cpu. then the cpu sends a… lets say… redstone signal to… lets say buildcraft’s wooden pipe (which pulls out items out of chest/machines/w.e) which pulls out another uranium fuel ingot from its connected chest.
    -> I bet that’d be useful in any way.

    • Sir Pickles says:

      If it’s complicated in the explanation, it’s 10x more complicated in coding. My bet Albaka takes a week to do that, unless you can prove me wrong and do it faster…..

  10. NeonJ says:

    I think the computers should be able to manually power redstone circuitry, wirelessly send signals over the map, have a “chat inbox” for multiplayer servers [and make chat local? :P] and can generally control anything that’s electronic. But it would be EXTREMELY COOL if you could code and design programs for them too, which other people could download and enter into their IC computers. 😀

    I have so many ideas for small computers.. xD

    • Alblaka says:

      Now, a somewhat advanced coder told me he will attempt to write a fully working compiler within minecraft’s engine.
      It will probably be somewhat too complex for IC itself, but i will supply him with any source code ned in this regard, thus it will probably come as an add-on.

      • NeonJ says:

        Would you be able to code programs for it? I’ve seen a game before where you had these computers which ran like a DOS or something, and you could use them to do basic commands or code programs for them for extra awesomeness. You could even copy those programs onto a CD or via ingame cables to put them onto another computer.

        I just think it’d be a really neat idea to add to this mod. :3 You could like code an entire automatic factory, and things can get complex if you want it to.

        Solar panel Example: =3
        if(redstone.input[BACK] == ON) //Solar panels emit redstone when recieving unused power, right?
        -wireless.send(“Start”) to.ID(“163894”) //Send a starting signal to a different computer wirelessly

        … Okay this is making my head hurt.

        • Alblaka says:

          I’m not sure how exactly he’s writing the program, but apparently it will be capable of running anything java based, except for label-jumps… Eventually you could play minecraft within minecraft o.o
          As well i don’t know how he’s going to implement the interfacing between the minecraft world and the CPU. Could have some neat results, though.

          • NeonJ says:

            ANYTHING java related… wow.

            You’d code from within Minecraft though, right?

          • Alblaka says:

            That’s what he told me the code is capable of ^^’ I didn’t yet check the few source files he sent me, rather investing my time on understanding IC² XD.

      • Glitch says:

        As far as the MC computer cips go, as long as they aren’t as laggy, and are much faster, and more functional than my (kind of a fail) redstone computer, then I would love it.

        • NeonJ says:

          Well, I guess we could use the Integrated Redstone mod until that’s implemented, hm? xD

          That mod doesn’t lag TOO much, I think.

  11. SexyCanI says:

    I guessy ou guys havent saw computer Craft yet then right?

    http://www.minecraftforum.net/topic/892282-100-computercraft-11/

Comments are closed.