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

+5 -8
View File
@@ -249,9 +249,6 @@
"iris.bukkit.commandstudio.no_studio_world_is_open": "§cNo studio world is open!",
"iris.bukkit.commandstudio.you_are_already_studio_world": "§cYou are already in a studio world!",
"iris.bukkit.commandstudio.sending_you_studio_world": "§aSending you to the studio world!",
"iris.bukkit.commandstudio.updating_code_workspace": "§6Updating Code Workspace for {value}...",
"iris.bukkit.commandstudio.updated_code_workspace": "§aUpdated Code Workspace for {value}",
"iris.bukkit.commandstudio.invalid_project_try_deleting_code_workspace_file_try_again": "§cInvalid project: {value}. Try deleting the code-workspace file and try again.",
"iris.bukkit.commandstudio.you_must_be_iris_world": "§cYou must be in an Iris world",
"iris.bukkit.commandstudio.you_must_be_iris_world_2": "You must be in an iris world.",
"iris.bukkit.commandstudio.capturing_igendata_from_nearby_chunks": "Capturing IGenData from {value} nearby chunks.",
@@ -704,7 +701,7 @@
"iris.director.commandpack.director.validate_pack_all_packs_re_publish_results": "Validate a pack (or all packs) and re-publish results",
"iris.director.commandpack.param.pack_folder_name_validate_leave_empty_all": "The pack folder name to validate (leave empty for all)",
"iris.director.commandpack.director.preview_apply_unused_resource_cleanup": "Preview or apply unused-resource cleanup",
"iris.director.commandpack.director.take_kept_module_updates": "Take the module updates a world kept because they change its terrain",
"iris.director.commandpack.director.take_kept_module_updates": "Update the modules a world kept back",
"iris.director.commandpack.param.world_take_module_updates": "The Iris world whose modules to update",
"iris.director.commandpack.param.pack_folder_name_clean": "The pack folder name to clean",
"iris.director.commandpack.param.preview_apply": "preview or apply",
@@ -762,8 +759,8 @@
"iris.director.commandstudio.param.entity_spawn": "The entity to spawn",
"iris.director.commandstudio.param.location_spawn_entity_at": "The location to spawn the entity at",
"iris.director.commandstudio.director.teleport_active_studio_world": "Teleport to the active studio world",
"iris.director.commandstudio.director.update_your_dimension_projects_vscode_workspace": "Update your dimension projects VSCode workspace",
"iris.director.commandstudio.param.dimension_update_workspace": "The dimension to update the workspace of",
"iris.director.commandstudio.director.update_pack_modules": "Update a pack's modules to the versions this Iris ships",
"iris.director.commandstudio.param.dimension_update_modules": "The pack to update",
"iris.director.commandstudio.director.capture_igendata_chunk_report_nearby_chunks": "Capture an IGenData chunk report for nearby chunks",
"iris.director.commandwhat.director.iris_what": "Iris What?",
"iris.director.commandwhat.director.what_is_my_hand": "What is in my hand?",
@@ -826,7 +823,7 @@
"iris.modded.help.entry.command.create_2": "Create a new pack project",
"iris.modded.help.entry.command.version_2": "Print a pack version",
"iris.modded.help.entry.command.modules": "List the modules a pack loads",
"iris.modded.help.entry.command.pack_update": "Take the module updates a world kept because they change its terrain",
"iris.modded.help.entry.command.pack_update": "Update the modules a world kept back",
"iris.modded.help.entry.command.regions": "Calculate nearby region distribution",
"iris.modded.help.entry.command.open": "Open a temporary studio dimension for a pack",
"iris.modded.help.entry.command.close": "Close the open studio dimension and discard its world",
@@ -834,7 +831,7 @@
"iris.modded.help.entry.command.status_studio": "Show the open studio dimension and its pack",
"iris.modded.help.entry.command.map": "Open the Vision map GUI on the server display",
"iris.modded.help.entry.command.vscode": "Regenerate the .code-workspace for a pack and open it in your desktop editor",
"iris.modded.help.entry.command.update": "Regenerate the .code-workspace for a pack",
"iris.modded.help.entry.command.update": "Update a pack's modules to the versions this Iris ships",
"iris.modded.help.entry.command.importvanilla": "Explain vanilla import workflow",
"iris.modded.help.entry.command.validate": "Validate a pack or every pack",
"iris.modded.help.entry.command.cleanup": "Preview or quarantine unused-resource candidates",