Skip to content

The Tag & Backwards References Update!

Compare
Choose a tag to compare
@Bertie2011 Bertie2011 released this 25 Jan 15:14
· 23 commits to main since this release
12dfe7e

Changes since last pre-release

Additions

  • Tags now have a separate subclass per type instead of just a type enum.
    • This also results in a TagData property in Namespace. The TagData class also has an AllTags property.
  • Tags are now also followed in Function.References.
  • Function Tags now also have a list of Function References containing directly listed functions and all functions in any listed tags.
  • Most data classes in Shared now have back references to their owner. (E.g. Function now knows its Namespace)
    • This allowed the Output class to be simplified.
  • Namespace.XXXXData properties now also contain LookupLists instead of plain Lists. This allows you to find resources by identifier.
  • Namespace now has an AllResources property.
  • Resources now have an extra NamespacedIdentifier property.
    • Tags are properly prefixed with #.
  • Also published Shared.xml that contains the documentation.
  • Project configuration is committed now that any developer specific information is stripped.
  • Added a lot of JsonElement and Nullable extensions to make working with JSON a lot easier.

Changes

  • Error output now contains error class names
  • Performance Increase
    • File parsers now only iterate over the files in the folder that belong to a specific resource and not the entire data pack folder.
    • Loading/Parsing of a data pack is now done using multi-threading.
  • Improved Developer workflow (README) a lot.

Removals

  • Removed --version console option
  • Removed Function.CommandsFlatWithReferences

Additional changes since last release

Additions

  • Added path information to Namespaces, Datapacks and Resources
  • Added -f parameter to read arguments from file.