Skip to content

Add --biomes flag for biome-only chunk import#579

Open
BoondockSulfur wants to merge 1 commit intoQuerz:masterfrom
BoondockSulfur:feature/biomes-only-import
Open

Add --biomes flag for biome-only chunk import#579
BoondockSulfur wants to merge 1 commit intoQuerz:masterfrom
BoondockSulfur:feature/biomes-only-import

Conversation

@BoondockSulfur
Copy link
Copy Markdown

Introduces a new --biomes command-line flag that allows importing only biome data during chunk merge operations, without importing blocks or entities.

This is useful for transferring biomes between worlds while preserving the existing terrain and structures.

Implementation:

  • Added --biomes CLI option in ParamExecutor
  • Implemented mergeBiomesOnly() method in ChunkFilter interface
  • Modified mergeChunks() to detect and handle biomes-only mode

The biomes-only mode is triggered by passing an empty ranges list, which signals the merge operation to only copy biome palette data from source sections to destination sections.

Introduces a new --biomes command-line flag that allows importing only biome data during chunk merge operations, without importing blocks or entities.

This is useful for transferring biomes between worlds while preserving the existing terrain and structures.

Implementation:
- Added --biomes CLI option in ParamExecutor
- Implemented mergeBiomesOnly() method in ChunkFilter interface
- Modified mergeChunks() to detect and handle biomes-only mode

The biomes-only mode is triggered by passing an empty ranges list, which signals the merge operation to only copy biome palette data from source sections to destination sections.
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.

1 participant