Skip to content

mcaselector-2.0.2

Compare
Choose a tag to compare
@Querz Querz released this 29 Jun 21:07
· 141 commits to master since this release

Fixing some critical bugs and adding custom filters.

Details:

  • Added a Custom filter. This filter is basically the content of a JavaScript function returning either true or false, indicating whether the chunk should be selected or not. All chunk data can be accessed. The value region contains all region data, poi all POI data and entities 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 the Status = "full" filter.
  • Added a Custom field for the NBT Changer. This works similar to the Custom filter, except that the JavaScript function doesn't have any return value. However, all changes made to the NBT structure in region, poi, and entities will be saved. Example: region.putString("Status", "empty") will be a custom version of the Status = "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 to features 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.