Skip to content

Releases: IoeCmcomc/MCDatapacker

v0.10.0

23 Mar 15:25
Compare
Choose a tag to compare

This version supports Minecraft 1.15, 1.16, 1.17, 1.18, 1.18.2, 1.19, 1.19.3, 1.19.4, 1.20, 1.20.2 and 1.20.4.
Changing the Minecraft version requires restarting the program.

What's new

  • The welcome (start-up) screen has been re-designed to resemble a main menu;
  • Number providers can now accept non-integer values;
  • Add potion information;
  • In predicate, loot table, and item modifiers editors:
    • Add buttons to the sidebar of entry widgets to explicitly go to the previous/next entry (see #13);
    • Many combo-boxes of resource location fields can now list corresponding IDs in the current datapack;
    • Many text boxes of resource location now suggest possible ID values
  • Raw JSON text editors now also output the new "type" field in 1.20.4;
  • Add a setting to change application font size scaling (see #13);
  • Add new experimental application styles NorwegianWoodStyle and QlementineStyle;
  • Implement an alternative system to make adding new side editors easier.

Changes

  • In the code editor:
    • Improve syntax highlighters' performance on large files;
    • UUID parsing in commands is now more lenient, matching the behaviors of the game;
  • In predicate, loot table, and item modifier editors:
    • The user interface is now more consistent;
    • Item slots are now used for selecting blocks;
    • The quality field in loot table entry editors is now optional;
  • Double-clicking an item in a block/item selector dialog will now both select the block/item and close the dialog;
  • Update libraries.

Bugfixes

  • Replace configured_structure_feature with worldgen/structure in 1.19+;
  • Fix old container widget not getting deleted in a modal dialog;
  • The check property of loot table entry in the tag mode is required;
  • Fix the stored enchantments table in item condition dialogs not initialized correctly;
  • Fix an error causing the structure field in location condition dialogs to be broken;
  • Fix the condition simplification algorithm not working with any_of conditions;
  • Fix the entries widget interface showing a loot table function instead of a loot table entry
  • Fix the wrong field in the set_potion page of item modifier editors;
  • Fix an error causing some list widgets not to be reset before loading from JSON data;
  • Fix an error causing the minimum and the maximum values of number providers not to be set properly when loading from JSON data;
  • Recognize \r as line separators when opening text files.

v0.9.0

19 Nov 15:55
Compare
Choose a tag to compare

This version supports Minecraft 1.15, 1.16, 1.17, 1.18, 1.18.2, 1.19, 1.19.3, 1.19.4, 1.20 and 1.20.2.
Changing the Minecraft version requires restarting the program.

What's new

  • Implement line continuation in function files (please note that line continuation support is minimal and hacky due to its complexity);
  • Add an advancement tree viewer:
    • The advancement viewer displays advancement trees like in Minecraft, except that the tree is drawn top-down;
    • Right-click the menu bar and tick the "Advancement viewer" item to open the viewer;
    • Advancements without the "display" property won't be loaded;
    • Advancements whose parent is missing won't be loaded;
    • Double-click an advancement item to open its corresponding file;
    • Right-click an advancement item to show a menu where you can copy the advancement's resource location;
  • Add links to datapack distribution websites;
  • New shortcuts in the code editor:
    • Press Ctrl+L to select the current line;
    • Press Shift+Alt+Up/Down arrow to copy line or selected lines up/down;
    • Press Ctrl+Shift+Up/Down arrow to move line or selected lines up/down;
  • Add minimal syntax highlighting for mc-build and jmc files (Trident language has been discontinued by the way).

Changes

  • In the code editor:
    • Implement minimal error checking in macro lines;
    • Axes (coordinates) parsing in commands is now more lenient and forgiving;
  • Update Minecraft Wiki links to the new domain by @misode in #11;
  • Reduce image file sizes;
  • Statistics dialogues now count the number of macro lines when applicable.

Bugfixes

  • Fix crashing when the game version is 1.19 (#12);
  • Fix mixing local coordinates and world coordinates in commands occasionally not causing any errors;
  • Allow single quote marks in NBT path name;
  • Fix syntax highlighters not re-highlighting when the theme is changed;
  • Fix "type_specific" of "slime" always override in entity condition dialogues;
  • Fix player tables in entity condition dialogues ignoring Boolean values;
  • Fix some blank item textures.

v0.8.0

01 Sep 16:29
Compare
Choose a tag to compare

This version supports Minecraft 1.15, 1.16, 1.17, 1.18, 1.18.2, 1.19, 1.19.3, 1.19.4 and 1.20.
Changing the Minecraft version requires restarting the program.

What's new

Changes

  • In the code editor:
    • Implement smart code completion for command literals and some argument types;
    • Hover on the problem area to see problems in a specific line;
    • Lines starting with '$' in .mcfunction files won't be error-checked when the current Minecraft version is 1.20+;
  • In raw JSON text editor:
    • Add conversion from/to formatting codes;
  • Added some tooltips in the new datapack dialog and raw JSON text editor dialog;
  • The new datapack dialog's interface is rearranged.

Bugfixes

  • Fix whitespace being correctly inserted into the first node of a command line;
  • Fix NBT path key parser consuming newline characters;
  • Fix only one error tooltip is shown per line in the code editor;
  • Fix code completer not activated when current prefix is the same as the previous prefix;
  • Fix too many dialogs appearing when switching datapacks;
  • Fix the file switcher not fitting the screen when there are many opened files.

v0.7.1

29 Jul 01:23
Compare
Choose a tag to compare

This version supports Minecraft 1.15, 1.16, 1.17, 1.18, 1.18.2, 1.19, 1.19.3, 1.19.4 and 1.20.
Changing the Minecraft version requires restarting the program.

Bugfixes

  • Fix currently opening files getting overwritten with the currently editing file when saving all files (Ctrl+Shift+S or before exiting the program) (#9)
  • Fix putting the text cursor to the first position when the first character is '#' crashes the program (c33c92e)

v0.7.0

22 Jun 16:22
8365b8b
Compare
Choose a tag to compare

This version supports Minecraft 1.15, 1.16, 1.17, 1.18, 1.18.2, 1.19, 1.19.3, 1.19.4 and 1.20.
Changing the Minecraft version requires restarting the program.

What's new

  • Minecraft 1.19, 1.19.3, 1.19.4 and 1.20 are now supported;
  • Add dark mode support on Windows;
  • Many parts of the command parser have been rewritten;
    • Command parsing performance is now up to 10 times faster;
    • Multiple syntax errors can now be detected on a single command line;
  • NBT path keys now accept more characters;
  • The settings dialog is now re-arranged to four tabs;
  • Raw JSON text editors have been improved:
    • Now support obfuscated text effect;
    • Can display and edit other types of content: translated text, scoreboard, entity names, keybind, NBT path;
  • Add links to some datapack-related resources in the Help -> External resources menu.

Changes

  • Improve performance when searching in item selector dialogs;
  • The program will no longer automatically check for updates on the startup;
  • Some icons have been re-colored to adapt to both light mode and dark mode;
  • Raw JSON text editors:
    • Text editor windows now can be opened when there is no datapack opened;
    • Remove Markdown import and export functionalities;
    • Allow exporting as single-line JSON;
    • The menu of the color button now also displays each color's ID;
  • When the command parser encounters an unknown command, the error message will also lists available commands;
  • The colors of .mcfunction highlighting are adjusted;
  • Correct some Minecraft information from older versions;
  • Double click at an error in the "Syntax errors" table of a Statistics dialog to open the target file and go to the target line number;
  • When creating a new file, the new file will be automatically opened while prompting for a new name;
  • Fixed errors, such as:
    • Fix inserting a '#' or '.' character in the first line of the editor the first time causing the program to freeze (#6, #7);
    • Fix formatting issues for block states and item stacks in function files;
    • Fix other quote delimiters causing early exit when doing formatting;
    • Fix inconsistent quoted string highlighting;
    • Fix 0-0-0-0-0 was treated as an invalid UUID;
    • Fix 'gray' colors misspelled as 'grey';
    • Fix wrong output when exporting a smithing recipe;
    • Fix relative shaped crafting output as absolute shaped crafting;
    • Fix potential crash when using the 'copy_nbt' item modifier type;
    • Fix item tags not draggable and droppable to inventory slots;
    • Fix comments with leading spaces not highlighted;

v0.6.0

04 Dec 10:29
Compare
Choose a tag to compare

This version supports Minecraft 1.15, 1.16, 1.17, 1.18 and 1.18.2.
Changing the Minecraft version requires restarting the program.

What's new:

  • Minecraft 1.18 and 1.18.2 are now supported
  • Add builds for Windows 64-bit and Linux (Tested on Ubuntu 20.04)
    • The auto-updater currently only works with the Windows 32-bit version
  • The simple code completer for mcfunction files now supports vanilla advancement, loot table and recipe IDs, as well as particle types and sound event IDs
  • Embed the Monocraft font in the program
  • The program theme (or style) can now be changed using the setting dialog.

Changes:

  • Add missing loot table functions and conditions for Minecraft 1.15, 1.16 and 1.17.
    • Please note that there are still some missing functionalities for previous Minecraft versions that haven't been added yet
  • The program will now automatically check for updates on the startup
  • Fix some bugs.

v0.5.0

06 Sep 13:25
Compare
Choose a tag to compare

This version supports Minecraft 1.15, 1.16 and 1.17.
Changing the Minecraft version requires restarting the program.

What's new:

  • Minecraft 1.17 is now supported
  • Improve the code editor:
    • Add basic code completion (auto-suggestion) for mcfunction files. The completion is currently not context-sensitive.
    • Improve command syntax highlighting
    • Add a problem indicator in the left side of the editor which mark lines of code having errors
    • Errors are also highlighted on the code editor's vertical scroll bar
    • Basic auto-identing is supported
  • The command parser now allows whitespaces before commands and comments
  • World generation and dimension files will now be recognized correctly
  • Translation files are now located in /translation folder. If a translation file is missing, the corresponding embed file (if any) will be used instead
  • New "Statistics" tool, when used (Tools -> Statistics), will scan and display the number of files, folders, commands and comments in a datapack. It will also list all command syntax errors in the datapack
  • Raw JSON text editors:
    • Now have two tab: one for editing and one for converting (with limited functionality) between JSON, HTML and Markdown
    • A separate editor is accessible under Tools -> Raw JSON text editor
    • JSON data will now be preserved if not changed by the user
  • Add an application updater (Help -> Check for updates)
  • Fixed some bugs

v0.4.0

01 Jun 02:47
Compare
Choose a tag to compare

This version supports Minecraft 1.15 and 1.16.
Changing the Minecraft version requires restarting the program.

What's new:

  • Added "Find & replace" dialogs (Ctrl+F & Ctrl+H)
  • Support opening and viewing image files
  • Switch between tabs by using Ctrl+Tab and Ctrl+Shift+Tab
  • Replace loot table lists with new record-based interfaces
  • Improved code editor:
    • Syntax error checking for JSON and function files (hover to see the error)
    • Context-sensitive syntax highlighting for function files
    • Auto-comment/uncomment code using Ctrl+/ and Ctrl+Shift+/
    • Configurable tab size, allow spaces to be inserted instead of tabs
    • Visualizing invisible characters can be enabled;
  • Added Recent data packs and Edit menus
  • Added a status bar displaying basic information of the program, the current datapack and the currently opened file (if any)

v0.3.0

19 Dec 10:03
Compare
Choose a tag to compare

This version only supports Minecraft version 1.15.
What's new:

  • Added the loot table editor
  • Files are now organized into tabs
  • Support bracket highlighting
  • "Follow Namespaced ID under cursor" has been improved
  • Added "About" dialogues
  • Support modification indicator
  • Added icons

v0.2.2 beta

27 Apr 04:02
Compare
Choose a tag to compare
v0.2.2 beta Pre-release
Pre-release

Basic features:

  • Open and create new datapack;
  • Text editor with basic highlighting
  • Visual recipe editor
  • Predicate editor ('NEW)