Skip to content

StevieoXOR/MinecraftComputer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

MinecraftComputer

My process of creating a computer in Minecraft. Currently hasn't advanced past a weak calculator. The implementation of each opcode is inefficient because the multiplexers (MUXes) to select which operation (i.e. add, shift, etc) to perform are ill-formed and use AND gates on the opcode bits instead of working efficiently by default due to smartly designing the wiring. Can be fixed by vertically stacking every possible operation and running MUXes from each operation's output. Note that Minecraft has a vertical height block limit, meaning the designer should start at as low of a y-level coordinate as possible (y=0 is ideal).

Note that subtraction is possible by using 2's complement on a positive number to turn it into its negative counterpart; vice versa also works. Don't forget to discard any extra bits (e.g. if starting with 8 bits and end up with 9 bits, discard the most significant bit) For example:

  • +17 => 2's complement => -17
  • -17 => 2's complement => +17

Note that multiplication and division are possible when using only the following operations/instructions: Bit shifts, Addition, Comparison to value 0, and Memory. This method is slow, but it works and produces the correct result. https://www.cise.ufl.edu/~mssz/CompOrg/CDA-arith.html

This is my most recent Minecraft build for the redstone computer. The computer needs slime blocks in order to work correctly, so extremely old versions of Minecraft may not work correctly. The intended version is Minecraft 1.19

I have not thoroughly tested it, but redstone quasiconnectivity does not seem to be an issue; i.e., my MC computer does not rely on the quasiconnectivity property.

  • Quasiconnectivity: A property of redstone in Minecraft which does not have a real-life counterpart that arises from updates caused by neighboring blocks.
  • Quasiconnectivity examples: A chest being opened, a furnace becoming active and changing to its glowing state, a block changing state to start emitting particles. All of the former events that occur to blocks (not just random entities but actual blocks) can cause a piston to suddenly "understand" the power being provided to it by nearby power sources instead of ignoring it.

The zip include 16 region files (.mca) which contain information about each chunk in the world. The zipped files should be placed inside (and should overwrite, meaning you should delete the original region files from your new world's creation) the "region" folder of a new Minecraft save, where the world created is version 1.19. You will need to extract the.zip file to your new Minecraft save's "AppData>Roaming>.minecraft>NewWorld[orInsertYourWorldName]>region".

Entities shouldn't matter as the Minecraft redstone computer doesn't depend on active mob entities. That's why I didn't include those files.

Releases

No releases published

Packages

No packages published