Skip to content

Update 1.6.0#334

Merged
Nusiq merged 63 commits intomainfrom
develop
Nov 8, 2025
Merged

Update 1.6.0#334
Nusiq merged 63 commits intomainfrom
develop

Conversation

@Nusiq
Copy link
Member

@Nusiq Nusiq commented Nov 8, 2025

  • Added symlink_export experiment Optimizations #328
  • Watch mode can handle interruptions after executing subfilters of the remote filters Optimizations #328
  • Environment variables in export paths can be specified as using ${var} / $var format in addition to previously existing %var%
  • The expressions using go-simple-evel now have access to two new variables mode and initial added mode to the go-simple-eval set #331.
    • mode - "run" or "watch" based on the mode that Regolith is running in.
    • initial - in watch mode set to true during the first run, then it changes to false. In run mode always true.
  • Changed the default Regolith export location to match the new locations after Minecraft update 1.21.120 Support default Minecraft 1.21.120 paths #333.
    • "development" export target exports to %APPDATA%/Users/Shared/games/com.mojang/...
    • "world" export target exports to %APPDATA%/Users/<other-directory>/games/com.mojang/.... Note: <other-directory> here means the directory that is not Shared. Regolith picks the first tone that it can find, which in normal case would be the user folder where Minecraft stores the worlds.
  • Added new environment variables to control the export target on Windows and other operating systems Support default Minecraft 1.21.120 paths #333:
    • COM_MOJANG_WORLDS - the location of the com.mojang folder used when exporting to "world" target in the "standard" Minecraft build.
    • COM_MOJANG_PACKS - the location of the com.mojang folder used when exporting to "development" target in the "standard" Minecraft build.
    • COM_MOJANG_WORLDS_PREVIEW - the location of the com.mojang folder used when exporting to "worlds" target in the "preview" Minecraft build.
    • COM_MOJANG_PACKS_PREVIEW - the location of the com.mojang folder used when exporting to "development" target in the "preview" Minecraft build.
  • Regolith is now built with Go v1.25.3.

stirante and others added 30 commits July 3, 2025 11:27
…d of calling it instantly in some exceptional cases (Run and Watch).
…'TestNestedRemoteFilter' test to actually make it test what it should test.
…ortProject()`:

- The function has an erly exit defined if the flat is true.
- The experimental flags don't change during program's runtime.
- This means that all other checks for this flag being false were unnecessary.
…ting goroutines into a single loop while preserving existing functionality.
Nusiq added 27 commits September 6, 2025 23:48
…unning with, 'regolith run' command to match the name of the command.
…Regolith fails to read export paths from profile, it returns an error.
…rt, it returns error instead of disabling the experiment and printing a warning.
destination that lack counterparts in the source and optimized the code:

- The function now uses a linked list instead of a map to track of paths for removal.
This should be more efficient because it doesn't require hashing the paths.
- Removed check for duplicate paths, since it's impossible to get them when walking
the files once.
- Updated size_time_check_optimization testdata to generate more complex scenarios,
  including subdirectories.
%var% syntax.

- Variables are parsed and expanded only once, this way it's impossible
  to create an infinite loop from variables that refer to each other.
- Added tests for environment variable expansion.
when running Git commands with long output.
of '\\'. Updated the data in tests to reflect that change.
Cleaning the export paths during creation of the symlinks also validates the
deletion safety.
when the use_symlink_export experiment is disabled.
…alysis/modernize/cmd/modernize@latest -fix -test ./...'/
…ntroduced in Minecraft 1.21.120:

- The world export tries to export to the user folder
- The development export tires to export to the Shared folder
- Added new environmnent variables COM_MOJANG_WORLDS, COM_MOJANG_PACKS, COM_MOJANG_WORLDS_PREVIEW and COM_MOJANG_PACKS_PREVIEW.
  Based on the context they're used to find the com.mojang path. If none of these are implemented, the old environment variables
  are used (COM_MOJANG or COM_MOJANG_PREVIEW). If they are also not defined Regolith tries to find the path in %APPDATA%.
… function when the export target is a world identified by name and it doesn't exist.
Support default Minecraft 1.21.120 paths
- Changed some if-else statements to switch-case
- Changed strings.Replace(..., -1) to strings.ReplaceAll
- Removed unused arguments from some functions.
@Nusiq Nusiq merged commit 6c830b2 into main Nov 8, 2025
2 checks passed
@Nusiq Nusiq changed the title Update 1.6.2 Update 1.6.0 Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants