Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@IoeCmcomc IoeCmcomc released this 16 Mar 15:29
· 2 commits to master since this release

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. It also supports Minecraft 1.20.6, 1.21, 1.21.3, and 1.21.4. However, the side editors, except the recipe editor, haven't been updated for these newer versions.
Changing the Minecraft version requires restarting the program.

What's new

  • Default datapack files are now embedded directly into the program, which increases the executable file's size. Structure files aren't included because MCDatapacker can't open them anyway.
  • Add a new side panel displaying the vanilla datapack of the currently set Minecraft version as a tree view.
    • Double-click a file to open it in the editor. Note that these default files are read-only.
    • Right-click a file and there are options to:
      • Copy its resource location
      • Clone a selected vanilla file to the current datapack (inspired by #17)
  • A new View menu is added to the menu bar, which allows you to show and hide side editors and other side panels.
  • The find and replace dialogs have been redesigned:
    • Ctrl+F to find, Ctrl+H to find and replace;
    • Allow finding and replacing in either the current file or in the current datapack (as a solution for #22);
    • Pressing "Find" in datapack mode will move to the next match in the current file, or open the next matching file, allowing users to find incrementally;
    • After pressing "Find all", all occurrences in the datapack are listed in a tree view, grouped by file path. Double-click a row to go to the match. It always finds in the datapack regardless of the scope.
    • The finding and/or replacing in datapack work directly in the disk, not touching opened files. Therefore, after replacing in the datapack, you may need to re-open opened files to see the replaced text.
    • The old find/replace dialogs are still accessible using Ctrl+Alt+F and Ctrl+Alt+H;
  • In the code editor:
    • When a selection is made, all the same texts in the same file will be highlighted with a blue-ish background;
    • When finding text using the new find dialog (mentioned above), all matches will be highlighted in yellow. These highlights will turn back to blue when the cursor position changes;
  • Tag selector dialogs can now accept unknown tags;
  • In the visual recipe editor:
    • Add support for crafting_transmute type
    • MCDatapacker is now aware of 1.20.5+ item components in the result item and will try to keep the components unless you change the item. Unfortunately, you can't edit these components yet.
  • User-defined code palettes are now supported
    • Code palettes control the color and formatting of the syntax highlighting in the code editor, and do not control things such as the editor's background color;
    • Go to Preferences -> Options -> Code editor -> Custom code palette file -> "Get example" to get a sample JSON palette file.

Changes

  • Improve icon rendering of inventory items in the visual recipe editors and other places:
    • If an inventory item' icon is not found, the icon will be rendered as its ID and a part of the missing texture;
    • If an inventory icon is a tag, its ID (not including the number sign) is also displayed.
    • These changes are suggested in #18.
  • Improve the number provider:
    • Number providers now have three modes: exact number mode, unnested number range mode, and advanced mode
    • Advanced mode allows changing the provider via a dialog
      • Nesting providers is only possible by editing in the dialog
    • Simple data will be displayed in the exact or range mode, while complex data will be put into the advanced button
    • score and storage types are now supported.
  • Improve the new datapack dialog:
    • You can quickly set the pack format by selecting a corresponding Minecraft version range.
  • The command tree is now patched to improve the code suggestion of the resource_location argument type.
  • Remove qlementine style, which dropped support for Qt 5

Bugfixes

  • Fix sub-command suggestion not working for execute command.
  • Fix the code completer not listing all items.