This project has been abandoned due to lack of time to support it. It was abandoned in September 2011. Soon afterwards, Creative Mode was released, which nullified most benefits to this program. This post is left here as a reference to my post.
Selection tools are now available for your use! Pistons respond to pausing and ticking! You can test pressure plates properly! Es ist wunderbar! (Pardon any German grammatical errors, I'm terrible)
I'm starting on the "promotional"/how-to video now that selection tools are out.
Please note that the current version is only compatible with Minecraft Beta v1.7.3.
Also, please read the README.txt file included! It explains everything you need to know about working with the simulator that isn't described here!
Useful Links: McNostalgia or MC Downgrader, to get Minecraft v1.7.3 if you don't have a back-up.
A tutorial for installing mods like this directly into the minecraft.jar file.
Simnik's Circuit Simulator, for if you prefer a more Baezon-esque (2D) interface, can't get a copy of Minecraft v1.7.3, or just can't figure out how to get mine to work.
AJ's Redstone Simulator
AJ's Redstone Simulator is an interactive, 3D visualizing program to help you design, research, or just screw around with Redstone. It is a mod to the Minecraft client software, which means that it simulates redstone exactly as in-game, and building circuits is intuitive and easy to visualize. You can load in schematics from MCEdit or other Redstone simulators and save your circuits as their own schematics and export them to MCEdit or other Redstone simulators (beware, though, that Baezon's simulator does not support repeater blocks, and neither Baezon's nor Simnik's simulator allow you to have blocks of different types (e.g. if you have some green wool and some red wool scattered around your circuit, they will be replaced with the default block type, typically stone or grass)).
Download the latest version of the Simulator here (v2.0)
Highlighted Features
A wide assortment of blocks -- Build your circuits with just about every block available in-game! You can test with just about anything triggered by redstone! (Even TNT!)
Play/Pause/Step -- Run your circuit in real-time, pause it to make minor adjustments, or examine each step as it goes by with the different simulation modes.
Selection tools to make your building experience easier and more fluid.
3D environment makes development natural and easy!
Import or export your circuits as schematic files, compatible with MCEdit, Baezon's Redstone simulator and Simnik's Circuit Simulator.
Redstone count -- Keep track of your resources with the built-in component count!
Zero-G -- Hover around and watch your circuit in action from above!
Commands make expanding and contracting the circuit's size a breeze.
Screenshots
Click each for a larger version! (Note: These images were taken in v1.7, which means they don't have the teleporter or selector items in the inventory)
The main menu ---------- In game, with the item menu extended
In game commands, featuring the help menu ---------- The options menu, including options for simulator control Just an example of what you can simulate in my simulator!
Installation Instructions
Unzip the downloaded file to a folder of your choice.
Copy your backup of Minecraft Beta v1.7.3 to the mcGoesHere folder (this means the bin folder itself, not just its contents. You can copy the resources folder if you like sounds, too.)
Inject the files in the MODFILES folder into the minecraft.jar file in the bin folder you just copied. Delete the META-INF folder from minecraft.jar
Run the simulator via the startSimulator.jar file.
New in This Update
Selection tools!
Select
Nudge, move
Cut/Copy/Paste
Delete/Fill/Replace
Flip/Rotate
Pistons now wait when paused!
You can turn off flying/no-clip to test traps/pressure plates
Keyboard shortcuts to various commands, like save, cut/copy/paste, and delete.
Keyboard controls for scrolling up and down the item menus was removed due to lack of space on the options menu. (You can still use the Ctrl+scroll controls, though)
Upcoming Features
Features I have yet to implement, but plan to at some point. Give me feedback!
Automated installation and updates, for your convenience.
If you have any suggestions, feel free to leave a comment!
Current Known Issues
Sometimes, torches near the edge of the schematic don't update properly. I have no idea what causes this. Try to avoid building near the N and E sides of the schematic.
TNT drops items when broken by hand. Falling Sand/Gravel also drop blocks when they land on awkward blocks (i.e. torches).
Change Log
v2.0
Selection tools
Select
Nudge, move
Cut/Copy/Paste
Delete/Fill/Replace
Flip/Rotate
Pistons respond to pause/tick
Flying/no-clip can be disabled
Keyboard shortcuts
Keyboard controls for the item menus removed due to lack of space in the options menu.
v1.9
Real Mac/Linux compatibility
More customizable
Enhanced 'Load Schematic' interface
Teleportation
v1.8
Minecraft Beta v1.7.3 compatibility!
Lots of bug fixes
No more hurt noise spam
Ctrl+mousewheel to navigate menus
v1.7
Minecraft Beta v1.7.2 compatibility!
Better organized toolbar
Item Menus = Tons more blocks
Pistons and Trap Doors
v1.6
Fixed a major and minor loading bug
Fixed a minor expansion/contraction bug
v1.5
Loading crash fix
Bottom layer is bedrock, but not included in the schematic file
HUD compass
Compass directions in expand/contract
Simplified in-game menu
Fixed contraction bug that let you build outside the schematic
Removed the texture in your face while inside a block
Fixed a visual glitch that left some contracted blocks visible
Added error notification to the boot class
v1.4
Starting rotation fix
Walk-through-walls
Sneaking in mid-air
Save command
'Game' tick option
v1.3
Fixed auto-save bug. 'Esc' doesn't save your schematic unless you press the save button in the menu.
v1.2
Beta v1.4_01 compatibility
Linux/Mac compatibility
v1.1
Saving/Loading
Expanding/contracting by more than one block
Z directions fixed
Commands
help
contract
expand
say (or echo, whichever you prefer)
v1.0 -- First Release!
Previous Supported Versions Version 1.9 (Requires Beta v1.7.3) Version 1.8 (Requires Beta v1.7.3)
Outdated, Unsupported Versions
If you have a problem with one of these, I won't help you. Version 1.7 (Requires Beta v1.7.2) Version 1.6 (Requires Beta v1.4_01) Version 1.5 (Requires Beta v1.4_01) Version 1.4 (Requires Beta v1.4_01) Version 1.3 (Requires Beta v1.4_01) Version 1.2 (Requires Beta v1.4_01) Version 1.1 (Requires Beta v1.3_01) Version 1.0 (Requires Beta v1.3_01)
You do realize that you're distributing the entire Minecraft client application within your bin/bin/ directory, right?
I'm pretty sure that's frowned upon. I realize it's a major modification that completely changes the way the client works, but maybe just include modified class files and have the user copy over their minecraft.jar, then open it and replace the affected files?
You do realize that you're distributing the entire Minecraft client application within your bin/bin/ directory, right?
I'm pretty sure that's frowned upon. I realize it's a major modification that completely changes the way the client works, but maybe just include modified class files and have the user copy over their minecraft.jar, then open it and replace the affected files?
... crap. Where's the edit button? >_< I was very tired last night.
In any case, it can't be used to do crap except simulate redstone, and everything is obfuscated anyway. I'll just remove the download. Sorry 'bout that.
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
Alrighty, found all the obfuscated files I changed, packed them together and rereleased WITHOUT any of the jars. Thanks a lot DBX, you saved me from a permaban (I hope? I haven't been banned yet, so I guess that's a good sign). Instructions on how to put it together were added to the README. It all still works! :biggrin.gif: In any case, lesson learned: Never release a mod after a really long day's work, you might get yourself banned xD
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
This is really nice. It's cool to see redstone in-action in a simulator rather than just on a 2-d schematic.
Also, two other things:
- The client also seems to work with the natives & LWJGL jarfiles from 1.4.0, just not the actual 1.4.0 client, so people who only keep backups of minecraft.jar should be fine for now too.
- It seems to be clean, for any skeptics out there. My firewall did pick up one outgoing connection to 72.21.214.*, but that was just for the client loading the player skin (I believe), since that's the IP of Amazon's cloud hosting service. I also looked through the class files and I didn't see anything weird in there. So it should be safe.
It's a shame this isn't getting more traffic, it looks like you really put a lot of work into it. I don't use redstone a lot, but if I ever do this will be real nice.
This is really nice. It's cool to see redstone in-action in a simulator rather than just on a 2-d schematic.
Also, two other things:
- The client also seems to work with the natives & LWJGL jarfiles from 1.4.0, just not the actual 1.4.0 client, so people who only keep backups of minecraft.jar should be fine for now too.
- It seems to be clean, for any skeptics out there. My firewall did pick up one outgoing connection to 72.21.214.*, but that was just for the client loading the player skin (I believe), since that's the IP of Amazon's cloud hosting service. I also looked through the class files and I didn't see anything weird in there. So it should be safe.
It's a shame this isn't getting more traffic, it looks like you really put a lot of work into it. I don't use redstone a lot, but if I ever do this will be real nice.
I'm glad to hear you like it. It makes sense that it works with the LWJGL jarfiles & natives considering those are not Mojang's (I don't think?), and yes that outgoing connection was the game attempting to load the default player skin. I remember seeing that in the code and wonderiong what the heck it was doing connecting to amazon. I'm not worried about traffic. Just give it time. People will tell other people about it, who will tell other people. It just starts slow. Then, there are probably a lot of people passing it just because it can't load/save yet. I'll work on that tomorrow I guess.
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
But i would prefer to have it only enabled on a few worlds by default like having an an Extra Button next to "Create New World" that says "Create New Shematic".
And when loading a shemaleatic, your mod will get loaded.
Have no idea, if its dynamically possible like that, but i would prefer that.
EDIT:
And i would prefer Stone as the standard block, because the texture gives a great contrast to redstone things.
That's not dynamically possible without a major overhaul of my code. Besides, it doesn't work with worlds, it works with schematics. I do agree that stone would probably be a better default. I'll include that in the next update. After the next update, which will include saving, loading, and at least a couple commands, I'll get to work on letting you choose the blocks you build with from a selected but extensive list (you can't build with lava, for example; that's just silly).
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
I don't suppose you could get this to be a JAR executable file and have a method of downloading the latest update (latest necessary files I suppose, and update the files within the JAR). Or possibly having the program look for a files in the same folder as the program in question (or a sub folder etc.)
Oh and apparently java isn't a batch command, so now I have to jump through hoops to get this to work. xD
EDIT: Looks like I'll just wait till you update it to the latest version, as I don't have a back up. Good luck!
Rollback Post to RevisionRollBack
I'm not above being wrong. Doesn't mean I'm always wrong or never right.
This looks -beautiful-. I've been missing having a good redstone sim ever since Baezon left. I like Simnik's continuation as well, but this one is practically future-proof. I love it! Thanks a million for moving forward with this, I hope to get a lot of use out of it. :biggrin.gif:
I'm happy people are liking it so far. Sorry about it requiring v1.3_01; I'll get to updating it to the latest version after I get saving/loading finished. Unfortunately, I'm running into issues related to opening popup GUI windows. They freeze whenever you attempt to close them (a good example would be the message displayed currently when you press Load Schematic). If anyone has any suggestions (other than working with the GUI that Notch uses), feel free to speak up. It'd make development a whole lot faster.
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
Hats off to you. You've now been added to the MinecraftWiki as well. :biggrin.gif:
It seems I have! :biggrin.gif: Anyways, update on my situation: people refuse to even look at my help topic, so I've just given up on trying to make popups work, as I can't find help anywhere else. I'll just have to design custom GUI myself. May take a little while, but I suppose it'll look better. Saving appears to be working (I see a
file called 'New Schematic.schematic' in the main directory), but I need to check the validity of the file. Baezon's simulator should serve that function well enough. I'll get to that stuff Monday.
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
I found time today to work on code again. Saving/loading now works perfectly! Well, mostly. Don't load a schematic with redstone on the bottom layer, it crashes. I've figured out how to implement commands, and I've already got the first few programmed in. I just need to modify the expansion/contraction algorithm to accept a change of more than one. Won't be too hard. I should have it released before I leave for Florida this weekend. I'll also modify the startup procedure to be pure Java in a jar file, making it usable on Linux and Macs (not too sure about macs, I've never really used one before). Things are going very well now! :biggrin.gif:
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
v1.1! I got saving and loading working, as well as a few commands. Unfortunately, I've been having trouble with making the executable jar file to work. That's next on my list! On the bright side, I got COLORS working in the chat console! xD Then will come the update (unless Notch releases v1.5 before I finish).
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
*ahem* To anyone who noticed that saving/loading actually WASN'T working, I've fixed the problem. I found out today that I forgot about a temporary class I had been using in the save/load screen. If you downloaded the program before this post, redownload and reinstall. I'm sorry about the inconvenience.
Also, I've almost finished with the executable jar file. I'll include it in the next update! I'll also be including play/pause/step commands, and probably a save command too. I might see what I can do about making the blocks configurable (in other words, letting you work with things like obsidian and bedrock instead of stone, or letting you use wooden doors instead of iron, etc.).
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
Actually, yes. I've been attempting to work on updating over the weekend. Unfortunately, I had no internet access and no time to work. You are also correct in assuming that you cannot move through blocks; I may remove that in the near future. Right now, though, I'm going to get the simulator compatible with v1.4_01.
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
I got the jar file working! And I got it updated for version 1.4_01! Watch Notch release v1.5 tomorrow. :tongue.gif: Anyways, hope more people can use this now that it's compatible with the latest version of MC.
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
First-- you know that 1.2 only works with Beta 1.4_01, right? Assuming you're using the right version:
[*:1qkvsq7i]Make sure the directories are put together right. Assuming that %AJpath% is the directory that 'startSimulator.jar' is in, your 'minecraft.jar' file (along with the other necessary jar files) should be in the location '%AJpath%\bin\bin\minecraft.jar'. Make sure that's the case.
[*:1qkvsq7i]While not deleting the META-INF folder shouldn't necessarily cause such an error, make sure you have deleted the META-INF folder inside 'minecraft.jar'.
[*:1qkvsq7i]I'm currently retesting the download to be sure it actually works. It worked when I tested it before release, but I'm testing again to be sure.
EDIT::
Yes, it does work on my machine. Works perfectly. I'm pretty sure it's a pathing issue; perhaps my wording was not clear in the README file. If the above steps don't work, I'm not sure at all what the problem is.
Rollback Post to RevisionRollBack
AJ's Thread O' Links! -- A thread of links to my projects, other supported projects, approved ideas, etc.
Selection tools are now available for your use! Pistons respond to pausing and ticking! You can test pressure plates properly! Es ist wunderbar! (Pardon any German grammatical errors, I'm terrible)
I'm starting on the "promotional"/how-to video now that selection tools are out.
Please note that the current version is only compatible with Minecraft Beta v1.7.3.
Also, please read the README.txt file included! It explains everything you need to know about working with the simulator that isn't described here!
Useful Links:
McNostalgia or MC Downgrader, to get Minecraft v1.7.3 if you don't have a back-up.
A tutorial for installing mods like this directly into the minecraft.jar file.
Simnik's Circuit Simulator, for if you prefer a more Baezon-esque (2D) interface, can't get a copy of Minecraft v1.7.3, or just can't figure out how to get mine to work.
AJ's Redstone Simulator is an interactive, 3D visualizing program to help you design, research, or just screw around with Redstone. It is a mod to the Minecraft client software, which means that it simulates redstone exactly as in-game, and building circuits is intuitive and easy to visualize. You can load in schematics from MCEdit or other Redstone simulators and save your circuits as their own schematics and export them to MCEdit or other Redstone simulators (beware, though, that Baezon's simulator does not support repeater blocks, and neither Baezon's nor Simnik's simulator allow you to have blocks of different types (e.g. if you have some green wool and some red wool scattered around your circuit, they will be replaced with the default block type, typically stone or grass)).
Download the latest version of the Simulator here (v2.0)
Highlighted Features
Click each for a larger version! (Note: These images were taken in v1.7, which means they don't have the teleporter or selector items in the inventory)
The main menu ---------- In game, with the item menu extended
In game commands, featuring the help menu ---------- The options menu, including options for simulator control
Just an example of what you can simulate in my simulator!
Installation Instructions
New in This Update
Features I have yet to implement, but plan to at some point. Give me feedback!
Current Known Issues
v2.0
Previous Supported Versions
Version 1.9 (Requires Beta v1.7.3)
Version 1.8 (Requires Beta v1.7.3)
Outdated, Unsupported Versions
If you have a problem with one of these, I won't help you.
Version 1.7 (Requires Beta v1.7.2)
Version 1.6 (Requires Beta v1.4_01)
Version 1.5 (Requires Beta v1.4_01)
Version 1.4 (Requires Beta v1.4_01)
Version 1.3 (Requires Beta v1.4_01)
Version 1.2 (Requires Beta v1.4_01)
Version 1.1 (Requires Beta v1.3_01)
Version 1.0 (Requires Beta v1.3_01)
I'm pretty sure that's frowned upon. I realize it's a major modification that completely changes the way the client works, but maybe just include modified class files and have the user copy over their minecraft.jar, then open it and replace the affected files?
... crap. Where's the edit button? >_< I was very tired last night.
In any case, it can't be used to do crap except simulate redstone, and everything is obfuscated anyway. I'll just remove the download. Sorry 'bout that.
Also, two other things:
- The client also seems to work with the natives & LWJGL jarfiles from 1.4.0, just not the actual 1.4.0 client, so people who only keep backups of minecraft.jar should be fine for now too.
- It seems to be clean, for any skeptics out there. My firewall did pick up one outgoing connection to 72.21.214.*, but that was just for the client loading the player skin (I believe), since that's the IP of Amazon's cloud hosting service. I also looked through the class files and I didn't see anything weird in there. So it should be safe.
It's a shame this isn't getting more traffic, it looks like you really put a lot of work into it. I don't use redstone a lot, but if I ever do this will be real nice.
I'm glad to hear you like it. It makes sense that it works with the LWJGL jarfiles & natives considering those are not Mojang's (I don't think?), and yes that outgoing connection was the game attempting to load the default player skin. I remember seeing that in the code and wonderiong what the heck it was doing connecting to amazon. I'm not worried about traffic. Just give it time. People will tell other people about it, who will tell other people. It just starts slow. Then, there are probably a lot of people passing it just because it can't load/save yet. I'll work on that tomorrow I guess.
That's not dynamically possible without a major overhaul of my code. Besides, it doesn't work with worlds, it works with schematics. I do agree that stone would probably be a better default. I'll include that in the next update. After the next update, which will include saving, loading, and at least a couple commands, I'll get to work on letting you choose the blocks you build with from a selected but extensive list (you can't build with lava, for example; that's just silly).
Keep up the good work.
See ya on the server :smile.gif:
Oh and apparently java isn't a batch command, so now I have to jump through hoops to get this to work. xD
EDIT: Looks like I'll just wait till you update it to the latest version, as I don't have a back up. Good luck!
It seems I have! :biggrin.gif: Anyways, update on my situation: people refuse to even look at my help topic, so I've just given up on trying to make popups work, as I can't find help anywhere else. I'll just have to design custom GUI myself. May take a little while, but I suppose it'll look better. Saving appears to be working (I see a
file called 'New Schematic.schematic' in the main directory), but I need to check the validity of the file. Baezon's simulator should serve that function well enough. I'll get to that stuff Monday.
Also, I've almost finished with the executable jar file. I'll include it in the next update! I'll also be including play/pause/step commands, and probably a save command too. I might see what I can do about making the blocks configurable (in other words, letting you work with things like obsidian and bedrock instead of stone, or letting you use wooden doors instead of iron, etc.).
Whoops. Thought I got everything. I'll update as soon as I get home (I won't have access to DropBox at school).
[*:1qkvsq7i]Make sure the directories are put together right. Assuming that %AJpath% is the directory that 'startSimulator.jar' is in, your 'minecraft.jar' file (along with the other necessary jar files) should be in the location '%AJpath%\bin\bin\minecraft.jar'. Make sure that's the case.
[*:1qkvsq7i]While not deleting the META-INF folder shouldn't necessarily cause such an error, make sure you have deleted the META-INF folder inside 'minecraft.jar'.
[*:1qkvsq7i]I'm currently retesting the download to be sure it actually works. It worked when I tested it before release, but I'm testing again to be sure.
EDIT::
Yes, it does work on my machine. Works perfectly. I'm pretty sure it's a pathing issue; perhaps my wording was not clear in the README file. If the above steps don't work, I'm not sure at all what the problem is.