Take only patches on their own and leave bigger module updates to the update commands

A pack used to take every newer module on load, and a major update can change the
blocks it places or stop its settings from loading. Now a load takes patches only.
A module with a new minor or major version stays as it is, and Iris warns that it is
out of date and names the new version.

/iris std update <pack> now only updates the pack's module jars, for its author to
run before checking the settings against the new versions. It no longer writes the
VSCode workspace; studio hotload picks up the new jars and refreshes the workspace.
/iris pack update does the same for a running world, which loads the new jars at
the next server start.
This commit is contained in:
piexel committed 2026-11-11 13:31:24 +01:00
1 parent 6e96c6b71e
commit 0d18637128
36 files changed
+282 -292

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
#
# A module's version is the one its class reports (ModuleInfo). Raise the major number when the same settings place
# different blocks or settings stop loading, the minor number for new features and the patch number for fixes that
# leave the output alone: a world updates on its own only within a major version.
# leave the output and the settings alone: a pack takes only a patch on its own.
jar post
module art.arcane.iris.engine.modifier.PostModule