mcaselector-2.0.2
Fixing some critical bugs and adding custom filters.
Details:
- Added a
Custom
filter. This filter is basically the content of a JavaScript function returning eithertrue
orfalse
, indicating whether the chunk should be selected or not. All chunk data can be accessed. The valueregion
contains all region data,poi
all POI data andentities
all entity data. The chunk data structure is a Java CompoundTag Object of the NBT library. Example:return region.getString("Status") == "full"
will be a custom version of theStatus = "full"
filter. - Added a
Custom
field for the NBT Changer. This works similar to theCustom
filter, except that the JavaScript function doesn't have any return value. However, all changes made to the NBT structure inregion
,poi
, andentities
will be saved. Example:region.putString("Status", "empty")
will be a custom version of theStatus = "empty"
field change. - (Most likely) fixed a problem where Minecraft 1.19 would freeze any world generation and saving after attempting to generate lighting in a protochunk that is adjacent to a full chunk where MCA Selector deleted some sections. MCA Selector will now reset the chunk's
Status
field back tofeatures
after deleting sections to force Minecraft to recalculate any lighting data in that chunk. - Added error handlers for all multithreaded jobs to make sure that the progress bar doesn't get stuck and to catch any uncaught exceptions.
- Added the Wiki to this repository so people can edit it and create pull requests. The Wiki files in this folder will be synced with the wiki repository on every push to this repository.
- Fixed a bug where CLI mode would skip saving files and then freeze the progress bar.