Looking for pre-releases? Try the super-secret pre-releases page.
Smelt Change Notes
Version 1.1.1
Some bug fixes, and two interesting new features; this is what you’ll find in version 1.1.1:
- Issue #91: New config setting;
Commands.CreateInOrderProvided- The default value is
false, but this will be changed totruein a later version. Whentruecommand blocks will be set in the same order as they are written in the.mccfiles.
- The default value is
- Issue #88:
!initcommand- An
!initcommand has been added. This previously existed as!prebut wasn’t documented. - It’s recommended that this is used with
Commands.CreateInOrderProvidedset totrue.
- An
- Fix for bug #85: Last comment doesn’t count as a comment
- Fix for bug #89: You can
smelt compilefiles that aren’t MCC files
Version 1.1.0 (27th February 2017)
The 1.1.0 pre-release has been around for a while, and really, this shouldn’t have taken so long.
So, finally, all of this is now available in version 1.1.0:
- New configuration
MinecraftVersionsetting to support 1.9, 1.10 and 1.11 commands. 1.11 is the new default!- Use the
smelt config --change-localcommand to switch to 1.9/1.10 output on a specific project.
- Use the
- Modules can now been resized using (1) the Smelt config file, or (2) JSON properties inside an MCC module.
- (1) There is a new configuration
Modulessettings (StartX,StopXetc) for specifying module sizes (see configuration). - (2) There are new JSON properties (
moduleStartX,moduleStopXetc) that will override both the default values and config values. (see “JSON properties” under syntax).
- (1) There is a new configuration
DefaultTrackOutputsetting and newtrackOutputJSON property support.- A
falsevalue addsTrackOutput:0bto command blocks andtruedoesn’t add anything to save characters.
- A
- Output command length and percentage into terminal for easy reference.
- Fix for a bug with the conditional corners work-around. (see #68).
- This work-around will now use
SuccessCount:0band the number of blocks created will always be even, to pass the correct value around the corner.
- This work-around will now use
- A new “watch” feature
- The
smelt compile YOURFILE.mcc --watchcommand will automatically compile the watched file(s) when they change. - Warning: there may be bugs on non-windows systems. Please report them if so!
- The
- Chain behaviour of
impulse-chainandrepeating-chain- In addition to automatically switching to chain blocks, Smelt will also automatically change to
auto:true.
- In addition to automatically switching to chain blocks, Smelt will also automatically change to
Version 1.0.4
- Fix Issue #66 - Numbers as variable names not working
Version 1.0.3
- Changes to the
!mathbang command- fix negative immediates
- better parsing (disallowing stuff like
3 + * 5or7 * 6 (7 42)) - better error messages
Version 1.0.2
- Fix Issue #61 - !reset_objective is broken
Version 1.0.1
- Fix Issue #59 - Conditional Corners fix breaks with “executeAs”
Version 1.0.0 (27th August 2016: First stable release!)
After a period of time has passed, the 0.9.4 release has had no bugs reported. Since all of the bugs and features listed for the 1.0.0 milestone have been fixed or released, I am now glad to announce that Smelt version 1.0.0 is released!
There are no changes from version 0.9.4 and version 1.0.0 except for the version number. Smelt is no longer in beta!
1.1.0 Pre-Releases:
Work has already begun on version 1.1.0, the main features are going to be: (1) Added support for 1.11 snapshot command changes. (2) More configuration options to allow map makers to change the size or their command block modules. (3) A ‘clear module’ to allow map makers to remove a module entirely.
Look out for news on the pre-releases coming soon!
Beta Releases
Version 0.9.4
- Issue 12 - Plugins: allow access to more context data (see comments).
- Plugins now have access to previous and current command block data, such as:
- Coordinates relative to current command block.
- The command block
type, orconditionalboolean. - See Plugins for more information.
- Plugins now have access to previous and current command block data, such as:
Version 0.9.3
- Re-Fixed: Issue #41 - Parsing Indentations with “Tab” working incorrectly
- Tab characters are now replaced with 1 space.
- Fixed: Issue #35 - Issue with conditional command blocks when changing direction
- If a conditional command block comes up while the chain of commands is changing direction, Smelt will pad out the commands
with
testforblock ... {SuccessCount:1}commands until the conditional command block can be set in a place where it will work. This preserves the conditional logic.
- If a conditional command block comes up while the chain of commands is changing direction, Smelt will pad out the commands
with
- Issue #31 - Bangs/Plugins: Remember when a setup module has been installed
- Smelt will now remember when a setup module has been given to the user and won’t prompt them to install it again.
Version 0.9.2
- Major changes to how plugins work. The plugins documentation has been updated
to reflect the changes.
- Note: This has been done to be backwards compatible with old plugins. In time that compatibility will be removed.
- Variables can now be ‘used’ like
/say Hello $namein addition to being used like/say Hello ${name}- The syntax without brackets can only be used with the variable is not being used as part of a word.
/say $nameIsCoolwill not work for the$namevariable, using/say ${name}IsCoolwill work.
- The syntax without brackets can only be used with the variable is not being used as part of a word.
Version 0.9.1
- Fix issue with “bang-commands-setup.mcc” not using latest syntax changes.
Version 0.9.0
- BREAKING CHANGE: Variables are used differently now:
- To use a variable, it must be referenced like this:
/say Hello ${name} - Defining the variable is still the same:
$name = Gnasp
- To use a variable, it must be referenced like this:
- Added two new possible
typevalues that can used in JSON properties:repeating-chainwill cause the next command block to be a repeating one, and then after that chain command blocks.impulse-chainlikewise means one impulse command block, then chain command blocks.- Note: this feature will not work when passing an options object in plugins.
Version 0.8.3
- Fixed: Issue #41 - Parsing Indentations with “Tab” working incorrectly
Version 0.8.2
- Fixed: issue with !math command.
Version 0.8.1
- Fixed: Issue #45 - Lines containing a URL ignored due to //
- Comment removing has been improved now.
- Fixed: Issue #46 - Variables should be trimmed`
Version 0.8.0
- Introducing Variables!
- See the syntax#variables documentation for more info.
- Multiline commands supported.
- BREAKING CHANGE: Backslash (
\) feature removed. - BREAKING CHANGE: Now JSON blocks need a
>character preceding them. You MCC code will need to be updated. - JSON, Minecraft commands, and Bang commands can now span multiple lines.
- Any new line starting with a trigger character (
#,>,/,!,$) will finalise the previous line.
- Any new line starting with a trigger character (
- BREAKING CHANGE: Backslash (
- C-style and C++-style commenting now supported. See example below.
Example:
// Declare variables - single line comment
$Name=Johann
$NameAndTitle=Mr $Name
$Message=Hello $Name
#Start
>{"type":"impulse",
"auto":true}
/say $Name
>{"type":"chain"}
/say $Message
/*
Example of a multiline comment
*/
$Message=Goodbye $NameAndTitle
/say $Message // The message has changed!
Output:
[@] Johann
[@] Hello Johann
[@] Goodbye Mr Johann
Many thanks to Johann/Skaran for is contributions towards these features!
Version 0.7.5
- Fixed a line endings bug issue that stopped Smelt working on Linux OS.
Version 0.7.4
- Added a version check to encourage you to update if your version of Smelt is out of date.
Version 0.7.3
- Updated some of the help output.
smelt help,smelt help compileetc.- More details found in the CLI documentation
Version 0.7.2
- Improved the use of
smelt config --change-localandsmelt config --change-globalto be faster to use.- Includes adding a description and validation for each setting.
- Changed the name of the configuration setting
SummonLineMarkerstoSummonRowMarkersbecause the term ‘row’ is what’s been used elsewhere.- NOTE: This might require some users to run
smelt config --change-localorsmelt config --change-globalagain to correct their own config files.
- NOTE: This might require some users to run