From e19556cb0a6406f88597ef5a44c1769a55a7247a Mon Sep 17 00:00:00 2001 From: etianl <115842502+etianl@users.noreply.github.com> Date: Fri, 26 Jul 2024 00:42:11 -0700 Subject: [PATCH] v1.1.2 BaseFinder bedrock finder, NewChunks update ***NewerNewChunks Updates*** - Made the code for detecting new palettes in the Overworld instead work for any dimension other than the End or Nether to make it potentially work in servers with illegal dimensions from plugins. - Made the taskExecutor for loading chunkdata multi-threaded instead of single threaded. - Improved NewerNewchunks performance again and optimized the code just a bit. ***BaseFinder Updates*** - Added an option enabled by default which detects un-natural bedrock placement in the Nether and Overworld. The End dimension is left out for now because of end gateways. - Made the taskExecutor for loading chunkdata multi-threaded instead of single threaded. - Added "Detection Y Minimum" and "Detection Y Maximum" options so you can limit where the basefinder is scanning for bases. - Deleted the BaseFinder's ".base" command because all of it's functionalities are just in the options menu for BaseFinder (this allowed me to easily improve the BaseFinder code a bit). - Optimized the code a bit in this module too. --- .../java/pwn/noobs/trouserstreak/modules/BaseFinder.java | 1 - .../java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java b/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java index 22365fc7..ec3ca8e9 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java @@ -44,7 +44,6 @@ import java.util.HashSet; import java.util.List; import java.util.Set; -import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java b/src/main/java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java index de8ccfb6..0c739a19 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java @@ -27,13 +27,9 @@ import net.minecraft.network.packet.c2s.play.AcknowledgeChunksC2SPacket; import net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket; import net.minecraft.network.packet.s2c.play.*; -import net.minecraft.registry.Registry; -import net.minecraft.registry.RegistryKeys; -import net.minecraft.util.Identifier; import net.minecraft.util.WorldSavePath; import net.minecraft.util.math.*; import net.minecraft.world.World; -import net.minecraft.world.biome.Biome; import net.minecraft.world.chunk.ChunkSection; import net.minecraft.world.chunk.PalettedContainer; import net.minecraft.world.chunk.WorldChunk; @@ -45,7 +41,6 @@ import java.nio.file.Files; import java.nio.file.Paths; import java.util.*; -import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors;