Viewing Spellscript Output

From Hack/Mine Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with " Example of correct console-shortcut creation. To see expressions in Spellscript output via the 'print' statement, you'l...")
 
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
[[File:TechnicShortcutConsole.png | upright | frame | Example of correct console-shortcut creation.]]
 
[[File:TechnicShortcutConsole.png | upright | frame | Example of correct console-shortcut creation.]]
 
To see expressions in Spellscript output via the 'print' statement, you'll need to be viewing Minecraft's console output.  This is important both for learning Spellscript and for debugging your scripts.  Thus, we'll outline a few methods by which you can start Minecraft with the console visible.
 
To see expressions in Spellscript output via the 'print' statement, you'll need to be viewing Minecraft's console output.  This is important both for learning Spellscript and for debugging your scripts.  Thus, we'll outline a few methods by which you can start Minecraft with the console visible.
 
==Technic Methods==
 
If you're using Technic, you'll need to install the [http://beta.technicpack.net/download new launcher]-- not just cause it's more awesome, but because '''the old one won't let you view console output'''.  So, now that you have the new launcher...
 
 
===Options Method===
 
* Start the launcher.
 
* Open the ''Launcher Options'' (the little gear at the very top-right of the screen).
 
* Click ''Console'' and you're done!
 
 
===Shortcut Method (Windows only)===
 
* Create a ''shortcut'' to the launcher .exe.
 
* Right-click it and select ''Properties''
 
* Add " -console" to the end of ''Target'' (see the image to the top-right)
 
* You're done!  From now on, you can use this shortcut to start the launcher with the console enabled.
 
 
==.Bat Method (Windows only)==
 
* Create a file named "run_minecraft.txt" in the same directory as your Minecraft.exe.
 
* Stick the following text in it:
 
java -jar "Minecraft.exe"
 
* Rename the file's extension to ''.bat''.
 
* You're done!  From now on, you can simply double-click this file to run Minecraft with the console enabled.
 
 
==MultiMC Method==
 
If you're using [http://forkk.net/MultiMC4/ MultiMC] to run H/M, it has a handy console viewing option you can use.  They've got info on how to set up mods with it (which includes Hack/Mine!)
 

Latest revision as of 21:43, 22 May 2018

Example of correct console-shortcut creation.

To see expressions in Spellscript output via the 'print' statement, you'll need to be viewing Minecraft's console output. This is important both for learning Spellscript and for debugging your scripts. Thus, we'll outline a few methods by which you can start Minecraft with the console visible.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox