CodeWalrus

Development => PC, Mac & Vintage Computers => Topic started by: Max Leiter on January 17, 2016, 10:17:13 PM

Title: Improved Commandblock GUI, a WIP MC mod
Post by: Max Leiter on January 17, 2016, 10:17:13 PM
I've decided to try getting back into MC modding, and my current idea is an improved command block editor. Basically, it will be a completely clientside mod that will replace the current (terrible) commandblock GUI
(https://sr.ht/YAEs.png)
with an improved, more "IDE" like one (multiple lines, auto-close parenthesis, etc).

I plan to make the mod using MinecraftForge and will use the GuiOpenEvent for launching my GUI. Alternatively, I may use reflection to simply modify the current textbox with a custom, more advanced one, but I think I want to add buttons and stuff too.

If anyone wants to throw together concept art, knows of a pre-existing mod similar to this, etc please comment or lmk.

It will be opensource as soon as there's a working prototype.

If anyone wants to make some concept art (can be very rough) about how this should look that would be much appreciated
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: Snektron on January 17, 2016, 10:32:53 PM
Seems like a cool and usefull idea :)
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: Dream of Omnimaga on January 18, 2016, 08:09:39 AM
Multiple lines would definitively be nice, and perhaps make it clearer, so people know what to do there, such as how to insert commands or delete them.
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: brentmaas on January 18, 2016, 10:35:39 AM
You could use multilines in combination with the new command block chaining. That would make programming them a lot easier.
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: ben_g on January 18, 2016, 12:30:57 PM
Quote from: brentmaas on January 18, 2016, 10:35:39 AM
You could use multilines in combination with the new command block chaining. That would make programming them a lot easier.
So that it would almost become a programming language that compiles to commandblocks, which can even have simple ifs with the command blocks in conditional mode? That would be so cool. Probably also quite hard to make though.
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: Snektron on January 18, 2016, 12:54:21 PM
Well while you're at it you could make a high level language to command block compiler too :P
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: Unicorn on January 19, 2016, 06:33:02 AM
And while you re at it, port ruby :P

Anyways, sounds like a cool idea, this would probably have made me more interested in cmd blocks.
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: Max Leiter on January 19, 2016, 06:34:10 AM
I've decided to work with a more familiar language (JavaScript) to make a webapp that can be easily integrated into websites. More info coming soon...

I did, however, write up a pretty nice TextBox GUI object that supports newlines, highlighting, etc. Will probably opensource it at somepoint
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: Dream of Omnimaga on February 04, 2016, 07:09:51 AM
Lol it would be funny we could port Axe games to Minecraft command blocks and have them run on a big screen. The server lag would be atrocious if this didn't use mods, though.
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: brentmaas on February 04, 2016, 12:16:08 PM
Quote from: DJ Omnimaga on February 04, 2016, 07:09:51 AM
Lol it would be funny we could port Axe games to Minecraft command blocks and have them run on a big screen. The server lag would be atrocious if this didn't use mods, though.
If you agree on using mods, why not ComputerCraft or OpenComputers?
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: alexgt on February 04, 2016, 01:55:31 PM
Or Q-Craft ;)
Title: Re: Improved Commandblock GUI, a WIP MC mod
Post by: Dream of Omnimaga on February 17, 2016, 06:51:28 AM
Quote from: brentmaas on February 04, 2016, 12:16:08 PM
Quote from: DJ Omnimaga on February 04, 2016, 07:09:51 AM
Lol it would be funny we could port Axe games to Minecraft command blocks and have them run on a big screen. The server lag would be atrocious if this didn't use mods, though.
If you agree on using mods, why not ComputerCraft or OpenComputers?
You would need to ask Juju in the Minecraft server thread. I don't know if he wants to use such mod, but it could be a nice addition if it doesn't crash the server all the time and if it doesn't require restarting the map from scratch.