Viewing Spellscript Output

From Hack/Mine Wiki
Revision as of 04:01, 7 June 2013 by Frizzil (Talk | contribs)

Jump to: navigation, search
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.

Contents

Technic Methods

If you're using Technic, you'll need to install the 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 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