Viewing Spellscript Output

From Hack/Mine Wiki
(Difference between revisions)
Jump to: navigation, search
m (reverting to previous known good version)
(XB23R3 Thank you for your article post.Much thanks again. Fantastic.)
Line 2: Line 2:
 
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==
+
XB23R3 Thank you for your article post.Much thanks again. Fantastic.
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)==
 
==.Bat Method (Windows only)==

Revision as of 02:39, 4 August 2014

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.

XB23R3 Thank you for your article post.Much thanks again. Fantastic.

.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 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!)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox