Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting entire regions when only chunks were selected #447

Open
Gayowulf opened this issue Oct 21, 2023 · 0 comments
Open

Deleting entire regions when only chunks were selected #447

Gayowulf opened this issue Oct 21, 2023 · 0 comments

Comments

@Gayowulf
Copy link

Gayowulf commented Oct 21, 2023

Describe the bug
When attempting to delete chunks, MCA Selector deletes all regions that contain any of the selected chunks, rather than just the chunks that were selected

To Reproduce

  1. Open a world in MCA Selector
  2. Select a small area of chunks (for example, a rectangular area from chunk -5, -2 to chunk 1, 3 inclusive)
  3. Press CTRL-D or go to Selection > Delete Selected Chunks
  4. Observe that the "Delete chunks" confirmation dialog shows the correct number of chunks that were selected (in the above example, "You are about to delete 42 chunks from this world."
  5. Press OK to confirm deletion
  6. Observe that all chunks in the four regions covered by this area have been deleted, for a total of 4096 chunks
  7. Open the world in Minecraft to observe that the entire regions have been deleted and must be regenerated by the game

Screenshots of the above:
Screenshot_2023-10-21_001
Screenshot_2023-10-21_002
Screenshot_2023-10-21_003
Screenshot_2023-10-21_004

Expected behavior
MCA Selector would only delete the chunks that were actually selected for deletion

Screenshots and other files
See above screenshots.

I was not able to obtain a debug file. I enabled the option in settings, restarted MCA selector, and reproduced the problem, but could not find a "debug.log" file. Where is this file supposed to appear? It did not appear in any of the following places:

  • Directory containing "mcaselector-2.2.2.jar"
  • Working directory from which I launched MCA Selector
  • Home directory (/home/[username])
  • Default Minecraft directory (/home/[username]/.minecraft)
  • The instance folder for the world save being modified

The following was printed to stdout:

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.

(java:300861): Gtk-WARNING **: 16:11:02.626: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(java:300861): Gtk-WARNING **: 16:11:02.626: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name

(java:300861): Gdk-WARNING **: 16:11:02.918: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.

Environment:

  • OS: Ubuntu 23.04 64-bit

  • Linux Kernel 6.2.0-33-generic x86_64

  • Java version:
    openjdk 17.0.1 2021-10-19 LTS
    OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS)
    OpenJDK 64-Bit Server VM Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, sharing)

  • MCA Selector 2.2.2

Additional context

  • Minecraft 1.19.2
  • Numerous mods, but I believe Create Fabric 0.5.1-c is the only one that affects world generation
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

No branches or pull requests

1 participant