mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 09:44:24 +00:00
Ship each built-in module as its own jar and let a pack's modules.json decide which update on their own
The built-ins no longer travel as one iris-builtins.jar that a pack has to copy by hand. IrisModule builds one jar per module (the eight placement stages share one) with an index of the id and version each module reports, and Iris bundles that folder. A pack lists the modules it uses in modules.json, with the version it was built with and an optional pinned list. Before a pack loads, Iris installs the jars of listed modules and replaces a jar that differs from the one it ships. It keeps a jar when the module is pinned, when the pack holds a newer version than Iris ships, and, in a world's copy of a pack, when the major version changed, because new chunks would not match the old ones. A jar that shares classes with a kept jar stays with it, since the two were compiled against each other. /iris pack update takes the kept terrain changes for a world. What is installed is recorded in modules.lock.json. Module versions are now major.minor.patch per module, starting at 1.0.0, with major meaning "places different blocks or stops loading settings".
This commit is contained in:
1 parent
e7d1ed24cb
commit
6e96c6b71e
85 files changed
+2568
-480
No files matched your search
@@ -15,6 +15,12 @@
|
||||
"iris.studio.modules.entry": "§f {name} {version} §7({id}, {jar})",
|
||||
"iris.studio.modules.none": "§7 none",
|
||||
"iris.studio.modules.failed": "§cPack {pack} cannot load its modules: {reason}",
|
||||
"iris.studio.modules.kept": "§e {change}",
|
||||
"iris.pack.update.unmanaged": "§c{pack} has no modules.json, so Iris updates no modules for it.",
|
||||
"iris.pack.update.current": "§a{pack}: every module is the one this Iris ships.",
|
||||
"iris.pack.update.header": "§a{pack}:",
|
||||
"iris.pack.update.written": "§f {change}",
|
||||
"iris.pack.update.restart": "§aRestart the server to load the updated modules.",
|
||||
"iris.command.reload.success": "Hotloaded settings and locale {locale}.",
|
||||
"iris.command.reload.failed": "Settings were reloaded, but locale {locale} was rejected; continuing with {activeLocale}.",
|
||||
"iris.modded.help.unknown_section": "Unknown Iris help section: {section}",
|
||||
@@ -698,6 +704,8 @@
|
||||
"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.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",
|
||||
"iris.director.commandpack.director.preview_apply_restoration_latest_quarantine": "Preview or apply restoration of the latest quarantine",
|
||||
@@ -818,6 +826,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.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",
|
||||
|
||||
Reference in new issue
Block a user