diff --git a/README.md b/README.md index 9cfc85d5..62e5e5b1 100644 --- a/README.md +++ b/README.md @@ -178,8 +178,8 @@ In no particular order - Joining a server with HandOfGod or Voider already on causes the module to be turned off due to "Not being OP" even if you are an operator ## Requirements: -- If you are using Minecraft version **1.21.1**, then use the latest **MeteorClient Dev Build of v0.5.8** -- If you are using Minecraft version **1.20.6**, then use **MeteorClient "Full Release" v0.5.7** +- If you are using Minecraft version **1.21.3**, then use the latest **MeteorClient Dev Build of v0.5.9** +- If you are using Minecraft version **1.21.1**, then use **MeteorClient "Full Release" v0.5.8** - Please try [ViaFabricPlus](https://github.com/FlorianMichael/ViaFabricPlus), which will let you connect to almost any version from a new version client. - Don't forget to try updating any other mods you are using if your game is crashing. diff --git a/build.gradle b/build.gradle index 3915d673..0e2c76d5 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '1.7-SNAPSHOT' + id 'fabric-loom' version '1.8-SNAPSHOT' } sourceCompatibility = JavaVersion.VERSION_21 diff --git a/gradle.properties b/gradle.properties index e1c271ea..084d0500 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,14 +1,14 @@ org.gradle.jvmargs=-Xmx2G # Fabric (https://fabricmc.net/versions.html) -minecraft_version=1.21.1 -yarn_mappings=1.21.1+build.3 -loader_version=0.15.11 +minecraft_version=1.21.3 +yarn_mappings=1.21.3+build.2 +loader_version=0.16.9 # Mod Properties -mod_version=1.2.7-1.21.1 +mod_version=1.2.8-1.21.3 maven_group=pwn.noobs archives_base_name=1trouser-streak # Meteor (https://maven.meteordev.org/) -meteor_version=0.5.8-SNAPSHOT \ No newline at end of file +meteor_version=0.5.9-SNAPSHOT \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index db4c3260..b1e749ba 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists \ No newline at end of file diff --git a/src/main/java/pwn/noobs/trouserstreak/commands/AutoVaultClipCommand.java b/src/main/java/pwn/noobs/trouserstreak/commands/AutoVaultClipCommand.java index ceb9a43a..e0bce075 100644 --- a/src/main/java/pwn/noobs/trouserstreak/commands/AutoVaultClipCommand.java +++ b/src/main/java/pwn/noobs/trouserstreak/commands/AutoVaultClipCommand.java @@ -39,7 +39,7 @@ public void build(LiteralArgumentBuilder builder) { vehicle.setPosition(vehicle.getX(), isopenair1.getY(), vehicle.getZ()); } for (int packetNumber = 0; packetNumber < (packetsRequired - 1); packetNumber++) { - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true, mc.player.horizontalCollision)); } player.setPosition(player.getX(), isopenair1.getY(), player.getZ()); return SINGLE_SUCCESS; @@ -64,7 +64,7 @@ public void build(LiteralArgumentBuilder builder) { vehicle.setPosition(vehicle.getX(), isopenair2.getY(), vehicle.getZ()); } for (int packetNumber = 0; packetNumber < (packetsRequired - 1); packetNumber++) { - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true, mc.player.horizontalCollision)); } player.setPosition(player.getX(), isopenair2.getY(), player.getZ()); return SINGLE_SUCCESS; @@ -91,7 +91,7 @@ public void build(LiteralArgumentBuilder builder) { vehicle.setPosition(vehicle.getX(), newopenair2.getY(), vehicle.getZ()); } for (int packetNumber = 0; packetNumber < (packetsRequired - 1); packetNumber++) { - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true, mc.player.horizontalCollision)); } player.setPosition(player.getX(), newopenair2.getY(), player.getZ()); return SINGLE_SUCCESS; diff --git a/src/main/java/pwn/noobs/trouserstreak/commands/AutoVclipCommand.java b/src/main/java/pwn/noobs/trouserstreak/commands/AutoVclipCommand.java index 3f76bbd8..21017c1d 100644 --- a/src/main/java/pwn/noobs/trouserstreak/commands/AutoVclipCommand.java +++ b/src/main/java/pwn/noobs/trouserstreak/commands/AutoVclipCommand.java @@ -38,7 +38,7 @@ public void build(LiteralArgumentBuilder builder) { vehicle.setPosition(vehicle.getX(), isopenair1.getY(), vehicle.getZ()); } for (int packetNumber = 0; packetNumber < 4; packetNumber++) { - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true, mc.player.horizontalCollision)); } player.setPosition(player.getX(), isopenair1.getY(), player.getZ()); return SINGLE_SUCCESS; @@ -62,7 +62,7 @@ public void build(LiteralArgumentBuilder builder) { vehicle.setPosition(vehicle.getX(), isopenair2.getY(), vehicle.getZ()); } for (int packetNumber = 0; packetNumber < 4; packetNumber++) { - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true, mc.player.horizontalCollision)); } player.setPosition(player.getX(), isopenair2.getY(), player.getZ()); return SINGLE_SUCCESS; @@ -88,7 +88,7 @@ public void build(LiteralArgumentBuilder builder) { vehicle.setPosition(vehicle.getX(), newopenair2.getY(), vehicle.getZ()); } for (int packetNumber = 0; packetNumber < 4; packetNumber++) { - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(true, mc.player.horizontalCollision)); } player.setPosition(player.getX(), newopenair2.getY(), player.getZ()); return SINGLE_SUCCESS; diff --git a/src/main/java/pwn/noobs/trouserstreak/commands/WorldInfoCommand.java b/src/main/java/pwn/noobs/trouserstreak/commands/WorldInfoCommand.java index 72b334bd..bac46241 100644 --- a/src/main/java/pwn/noobs/trouserstreak/commands/WorldInfoCommand.java +++ b/src/main/java/pwn/noobs/trouserstreak/commands/WorldInfoCommand.java @@ -85,7 +85,7 @@ public void build(LiteralArgumentBuilder builder) { boolean foundAnyOre = false; boolean isNewGeneration = false; for (int x = 0; x < 16; x++) { - for (int y = mc.world.getBottomY(); y < mc.world.getTopY(); y++) { + for (int y = mc.world.getBottomY(); y < mc.world.getTopYInclusive(); y++) { for (int z = 0; z < 16; z++) { if (!foundAnyOre && isOreBlock(chunk.getBlockState(new BlockPos(x, y, z)).getBlock()) && mc.world.getRegistryKey() == World.OVERWORLD) { foundAnyOre = true; @@ -108,7 +108,6 @@ public void build(LiteralArgumentBuilder builder) { ChatUtils.sendMsg(Text.of("Permission Level: "+mc.player.getPermissionLevel())); ChatUtils.sendMsg(Text.of("Simulation Distance (chunks): "+mc.world.getSimulationDistance())); ChatUtils.sendMsg(Text.of("Day Count: "+Math.floor(mc.world.getTime()/24000))); - ChatUtils.sendMsg(Text.of("DO_DAYLIGHT_CYCLE: "+mc.world.getGameRules().getBoolean(GameRules.DO_DAYLIGHT_CYCLE))); ChatUtils.sendMsg(Text.of("KnownPlayers (Names with a period are bedrock players): "+getKnownPlayers)); return SINGLE_SUCCESS; }); @@ -129,7 +128,7 @@ public void build(LiteralArgumentBuilder builder) { boolean foundAnyOre = false; boolean isNewGeneration = false; for (int x = 0; x < 16; x++) { - for (int y = mc.world.getBottomY(); y < mc.world.getTopY(); y++) { + for (int y = mc.world.getBottomY(); y < mc.world.getTopYInclusive(); y++) { for (int z = 0; z < 16; z++) { if (!foundAnyOre && isOreBlock(chunk.getBlockState(new BlockPos(x, y, z)).getBlock()) && mc.world.getRegistryKey().getValue().toString().toLowerCase().contains("overworld")) { foundAnyOre = true; @@ -152,7 +151,6 @@ public void build(LiteralArgumentBuilder builder) { ChatUtils.sendMsg(Text.of("Permission Level: "+mc.player.getPermissionLevel())); ChatUtils.sendMsg(Text.of("Simulation Distance (chunks): "+mc.world.getSimulationDistance())); ChatUtils.sendMsg(Text.of("Day Count: "+Math.floor(mc.world.getTime()/24000))); - ChatUtils.sendMsg(Text.of("DO_DAYLIGHT_CYCLE: "+mc.world.getGameRules().getBoolean(GameRules.DO_DAYLIGHT_CYCLE))); ChatUtils.sendMsg(Text.of("KnownPlayers (Names with a period are bedrock players): "+getKnownPlayers)); String serverip; @@ -191,8 +189,6 @@ public void build(LiteralArgumentBuilder builder) { writer.write("\r\n"); // write new line writer.write("Day Count: "+Math.floor(mc.world.getTime()/24000)); writer.write("\r\n"); // write new line - writer.write("DO_DAYLIGHT_CYCLE: "+mc.world.getGameRules().getBoolean(GameRules.DO_DAYLIGHT_CYCLE)); - writer.write("\r\n"); // write new line writer.write("KnownPlayers (Names with a period are bedrock players): "+getKnownPlayers); writer.write("\r\n"); // write new line writer.close(); diff --git a/src/main/java/pwn/noobs/trouserstreak/mixin/InventoryScreenMixin.java b/src/main/java/pwn/noobs/trouserstreak/mixin/InventoryScreenMixin.java index b27e9852..a9fbac0a 100644 --- a/src/main/java/pwn/noobs/trouserstreak/mixin/InventoryScreenMixin.java +++ b/src/main/java/pwn/noobs/trouserstreak/mixin/InventoryScreenMixin.java @@ -1,8 +1,8 @@ package pwn.noobs.trouserstreak.mixin; import meteordevelopment.meteorclient.systems.modules.Modules; +import net.minecraft.client.gui.screen.ingame.HandledScreen; import pwn.noobs.trouserstreak.modules.*; -import net.minecraft.client.gui.screen.ingame.AbstractInventoryScreen; import net.minecraft.client.gui.screen.ingame.InventoryScreen; import net.minecraft.client.gui.screen.recipebook.RecipeBookProvider; import net.minecraft.client.gui.widget.ButtonWidget; @@ -17,7 +17,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(InventoryScreen.class) -public abstract class InventoryScreenMixin extends AbstractInventoryScreen implements RecipeBookProvider { +public abstract class InventoryScreenMixin extends HandledScreen implements RecipeBookProvider { public InventoryScreenMixin(PlayerScreenHandler container, PlayerInventory playerInventory, Text name) { super(container, playerInventory, name); } diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/AirstrikePlus.java b/src/main/java/pwn/noobs/trouserstreak/modules/AirstrikePlus.java index 7297042e..ddf3e73e 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/AirstrikePlus.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/AirstrikePlus.java @@ -65,11 +65,12 @@ public class AirstrikePlus extends Module { .description("Name the Entity") .defaultValue("MOUNTAINSOFLAVAINC") .build()); - private final Setting nomcolor = sgGeneral.add(new StringSetting.Builder() + private final Setting nomcolor = sgGeneral.add(new EnumSetting.Builder() .name("Custom Name Color") .description("Color the Name") - .defaultValue("red") + .defaultValue(BoomPlus.ColorModes.red) .build()); + public enum ColorModes { aqua, black, blue, dark_aqua, dark_blue, dark_gray, dark_green, dark_purple, dark_red, gold, gray, green, italic, light_purple, red, white, yellow } public final Setting randomnomcolor = sgGeneral.add(new BoolSetting.Builder() .name("Rainbow Name Colors") .description("Name Colors are randomly selected.") @@ -390,7 +391,7 @@ public AirstrikePlus() { Vec3d origin = null; int i = 0; private int mix=0; - private String namecolour = nomcolor.get(); + private String namecolour = nomcolor.get().toString(); private NbtList speedlist = new NbtList(); private String entityName = entity.get().trim().replace(" ", "_"); private String customName = nom.get(); @@ -451,7 +452,7 @@ public void onTick(TickEvent.Post event) { Random random = new Random(); int index = random.nextInt(colorCodes.length); namecolour = colorCodes[index]; - } else namecolour = nomcolor.get(); + } else namecolour = nomcolor.get().toString(); ItemStack bomb = new ItemStack(Items.SALMON_SPAWN_EGG); ItemStack bfr = mc.player.getMainHandStack(); BlockHitResult bhr = new BlockHitResult(mc.player.getPos().add(0, 1, 0), Direction.UP, new BlockPos(mc.player.getBlockPos().add(0, 1, 0)), false); @@ -529,7 +530,7 @@ private void executeCommandsToCreateEntities() { Random random = new Random(); int index = random.nextInt(colorCodes.length); namecolour = colorCodes[index]; - } else namecolour = nomcolor.get(); + } else namecolour = nomcolor.get().toString(); speedlist.add(NbtDouble.of(0)); speedlist.add(NbtDouble.of(-speed.get())); speedlist.add(NbtDouble.of(0)); diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/AutoDrop.java b/src/main/java/pwn/noobs/trouserstreak/modules/AutoDrop.java index 099144ff..eaf86249 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/AutoDrop.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/AutoDrop.java @@ -41,7 +41,7 @@ public class AutoDrop extends Module { @EventHandler private void onPreTick(TickEvent.Pre event) { - if (tool.get() == true && (mc.player.getMainHandStack().getItem() instanceof BucketItem || mc.player.getMainHandStack().getItem() instanceof FlintAndSteelItem || mc.player.getMainHandStack().getItem() instanceof ToolItem || mc.player.getMainHandStack().getItem() instanceof ShearsItem))return; + if (tool.get() == true && (mc.player.getMainHandStack().getItem() instanceof BucketItem || mc.player.getMainHandStack().getItem() instanceof FlintAndSteelItem || mc.player.getMainHandStack().getItem() instanceof MiningToolItem || mc.player.getMainHandStack().getItem() instanceof ShearsItem))return; if (dropthisslot.get() && !mc.player.getInventory().getStack(dropslot.get()-1).isEmpty()){ previousslot=mc.player.getInventory().selectedSlot; mc.player.getInventory().selectedSlot = dropslot.get()-1; diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/AutoLavaCaster.java b/src/main/java/pwn/noobs/trouserstreak/modules/AutoLavaCaster.java index 16e6977e..0ce3d954 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/AutoLavaCaster.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/AutoLavaCaster.java @@ -1045,7 +1045,10 @@ private boolean isInvalidBlock(ItemStack stack) { || ((BlockItem) stack.getItem()).getBlock() instanceof BellBlock || ((BlockItem) stack.getItem()).getBlock() instanceof CarpetBlock || ((BlockItem) stack.getItem()).getBlock() instanceof ConduitBlock - || ((BlockItem) stack.getItem()).getBlock() instanceof CoralParentBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof CoralFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof CoralWallFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof DeadCoralFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof DeadCoralWallFanBlock || ((BlockItem) stack.getItem()).getBlock() instanceof TripwireHookBlock || ((BlockItem) stack.getItem()).getBlock() instanceof PointedDripstoneBlock || ((BlockItem) stack.getItem()).getBlock() instanceof TripwireBlock diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/AutoMountain.java b/src/main/java/pwn/noobs/trouserstreak/modules/AutoMountain.java index 2501dc51..21823a52 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/AutoMountain.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/AutoMountain.java @@ -1132,7 +1132,10 @@ private boolean isInvalidBlock(ItemStack stack) { || ((BlockItem) stack.getItem()).getBlock() instanceof BellBlock || ((BlockItem) stack.getItem()).getBlock() instanceof CarpetBlock || ((BlockItem) stack.getItem()).getBlock() instanceof ConduitBlock - || ((BlockItem) stack.getItem()).getBlock() instanceof CoralParentBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof CoralFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof CoralWallFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof DeadCoralFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof DeadCoralWallFanBlock || ((BlockItem) stack.getItem()).getBlock() instanceof TripwireHookBlock || ((BlockItem) stack.getItem()).getBlock() instanceof PointedDripstoneBlock || ((BlockItem) stack.getItem()).getBlock() instanceof TripwireBlock diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java b/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java index 4b3cf86b..f5aaea7d 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java @@ -780,7 +780,7 @@ else if (basefoundspamTicks >= bsefndtickdelay.get()) { if (chunk != null && chunk.getStatus().isAtLeast(ChunkStatus.FULL)) { Box chunkBox = new Box( chunk.getPos().getStartX(), mc.world.getBottomY(), chunk.getPos().getStartZ(), - chunk.getPos().getEndX() + 1, mc.world.getTopY(), chunk.getPos().getEndZ() + 1 + chunk.getPos().getEndX() + 1, mc.world.getTopYInclusive(), chunk.getPos().getEndZ() + 1 ); if (!baseChunks.contains(chunk.getPos())) { AtomicInteger animalsFound = new AtomicInteger(); @@ -919,7 +919,7 @@ private void onReadPacket(PacketEvent.Receive event) { if (bubblesFinder.get() || spawner.get() || signFinder.get() || portalFinder.get() || roofDetector.get() || bedrockfind.get() || skybuildfind.get() || Blawcks1.get().size()>0 || Blawcks2.get().size()>0 || Blawcks3.get().size()>0 || Blawcks4.get().size()>0 || Blawcks5.get().size()>0 || Blawcks6.get().size()>0 || Blawcks7.get().size()>0){ int Ymin = mc.world.getBottomY()+minY.get(); - int Ymax = mc.world.getTopY()-maxY.get(); + int Ymax = mc.world.getTopYInclusive()-maxY.get(); try { Set blockpositions1 = Collections.synchronizedSet(new HashSet<>()); Set blockpositions2 = Collections.synchronizedSet(new HashSet<>()); diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/BetterScaffold.java b/src/main/java/pwn/noobs/trouserstreak/modules/BetterScaffold.java index a3c06112..b87f946e 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/BetterScaffold.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/BetterScaffold.java @@ -235,7 +235,7 @@ private void onTick(TickEvent.Pre event) { for (int x = (int) (mc.player.getX() - placeRange.get()); x < mc.player.getX() + placeRange.get(); x++) { for (int z = (int) (mc.player.getZ() - placeRange.get()); z < mc.player.getZ() + placeRange.get(); z++) { assert mc.world != null; - for (int y = (int) Math.max(mc.world.getBottomY(), mc.player.getY() - placeRange.get()); y < Math.min(mc.world.getTopY(), mc.player.getY() + placeRange.get()); y++) { + for (int y = (int) Math.max(mc.world.getBottomY(), mc.player.getY() - placeRange.get()); y < Math.min(mc.world.getTopYInclusive(), mc.player.getY() + placeRange.get()); y++) { bp.set(x, y, z); if (!mc.world.getBlockState(bp).isAir()) blockPosArray.add(new BlockPos(bp)); } diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/BlockListMineCommand.java b/src/main/java/pwn/noobs/trouserstreak/modules/BlockListMineCommand.java index 3c408866..a035bce3 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/BlockListMineCommand.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/BlockListMineCommand.java @@ -92,7 +92,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ @@ -109,7 +109,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk2.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ @@ -126,7 +126,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk3.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ @@ -143,7 +143,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk4.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ @@ -160,7 +160,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk5.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ @@ -177,7 +177,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk6.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ @@ -194,7 +194,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk7.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ @@ -211,7 +211,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk8.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ @@ -228,7 +228,7 @@ public void onActivate() { for (int x = 0; x < 16; x++) { for (int y = mc.player.getBlockY()-range.get(); y < mc.player.getBlockY()+range.get(); y++) { for (int z = 0; z < 16; z++) { - if (y >= mc.world.getBottomY() && y <= mc.world.getTopY()) { + if (y >= mc.world.getBottomY() && y <= mc.world.getTopYInclusive()) { BlockState blockState = playerchunk9.getBlockState(new BlockPos(x, y, z)); if (blockState.getBlock() != Blocks.AIR && ((Blawcks1.get().contains(blockState.getBlock()) && mode.get() == Modes.UnnaturalBlocks) || (mode.get() == Modes.Custom && Blawcks2.get().contains(blockState.getBlock())))) { if (!addedBlocks.contains(blockState)){ diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/BoatKill.java b/src/main/java/pwn/noobs/trouserstreak/modules/BoatKill.java index 6039ad63..7463681d 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/BoatKill.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/BoatKill.java @@ -9,6 +9,7 @@ import net.minecraft.network.packet.c2s.play.PlayerInputC2SPacket; import net.minecraft.network.packet.c2s.play.VehicleMoveC2SPacket; import net.minecraft.text.Text; +import net.minecraft.util.PlayerInput; import net.minecraft.util.math.Vec3d; import pwn.noobs.trouserstreak.Trouser; @@ -49,7 +50,7 @@ public void onActivate() { // floating point is what makes the boat break. moveTo(oPos.add(0,0.0001,0)); - mc.player.networkHandler.sendPacket(new PlayerInputC2SPacket(0,0,false,true)); + mc.player.networkHandler.sendPacket(new PlayerInputC2SPacket(new PlayerInput(false, false, false, false, false,true,false))); toggle(); } diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/BoomPlus.java b/src/main/java/pwn/noobs/trouserstreak/modules/BoomPlus.java index 9e81a265..da9d25ac 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/BoomPlus.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/BoomPlus.java @@ -36,11 +36,12 @@ public class BoomPlus extends Module { .name("Custom Name") .description("Name the Entity") .defaultValue("MOUNTAINSOFLAVAINC").build()); - private final Setting nomcolor = sgGeneral.add(new StringSetting.Builder() + private final Setting nomcolor = sgGeneral.add(new EnumSetting.Builder() .name("Custom Name Color") .description("Color the Name") - .defaultValue("red") + .defaultValue(ColorModes.red) .build()); + public enum ColorModes { aqua, black, blue, dark_aqua, dark_blue, dark_gray, dark_green, dark_purple, dark_red, gold, gray, green, italic, light_purple, red, white, yellow } public final Setting customname = sgOptions.add(new BoolSetting.Builder() .name("CustomNameVisible") .description("CustomNameVisible or not.") @@ -182,7 +183,7 @@ public BoomPlus() { super(Trouser.Main, "boom+", "shoots something where you click"); } private int aticks=0; - private String namecolour = nomcolor.get(); + private String namecolour = nomcolor.get().toString(); private String customName = nom.get(); @EventHandler @@ -197,7 +198,7 @@ public void onTick(TickEvent.Post event) { aticks++; } else if (aticks>atickdelay.get()) { customName = nom.get(); - namecolour = nomcolor.get(); + namecolour = nomcolor.get().toString(); ItemStack rst = mc.player.getMainHandStack(); BlockHitResult bhr = new BlockHitResult(mc.player.getEyePos(), Direction.DOWN, BlockPos.ofFloored(mc.player.getEyePos()), false); ItemStack item = new ItemStack(Items.BEE_SPAWN_EGG); @@ -219,7 +220,7 @@ public void onTick(TickEvent.Post event) { private void onMouseButton(MouseButtonEvent event) { if (mc.options.attackKey.isPressed() && mc.currentScreen == null && mc.player.getAbilities().creativeMode) { customName = nom.get(); - namecolour = nomcolor.get(); + namecolour = nomcolor.get().toString(); ItemStack rst = mc.player.getMainHandStack(); BlockHitResult bhr = new BlockHitResult(mc.player.getEyePos(), Direction.DOWN, BlockPos.ofFloored(mc.player.getEyePos()), false); ItemStack item = new ItemStack(Items.BEE_SPAWN_EGG); diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/HandOfGod.java b/src/main/java/pwn/noobs/trouserstreak/modules/HandOfGod.java index eed5d990..19af14e6 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/HandOfGod.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/HandOfGod.java @@ -464,7 +464,7 @@ public HandOfGod() { int i; public int adjustYValue(int yValue) { int bottomY = mc.world.getBottomY(); - int topY = mc.world.getTopY(); + int topY = mc.world.getTopYInclusive(); if (yValue < bottomY) { return bottomY; diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/HoleAndTunnelAndStairsESP.java b/src/main/java/pwn/noobs/trouserstreak/modules/HoleAndTunnelAndStairsESP.java index aef7de95..6f30a6fa 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/HoleAndTunnelAndStairsESP.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/HoleAndTunnelAndStairsESP.java @@ -339,7 +339,7 @@ private void processChunkQueue() { private void searchChunk(Chunk chunk, TChunk tChunk) { var sections = chunk.getSectionArray(); int Ymin = mc.world.getBottomY() + minY.get(); - int Ymax = mc.world.getTopY() - maxY.get(); + int Ymax = mc.world.getTopYInclusive() - maxY.get(); int Y = mc.world.getBottomY(); for (ChunkSection section : sections) { if (section != null && !section.isEmpty()) { diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/InstaSafetyBox.java b/src/main/java/pwn/noobs/trouserstreak/modules/InstaSafetyBox.java index 854697d1..abaf4859 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/InstaSafetyBox.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/InstaSafetyBox.java @@ -215,7 +215,7 @@ private void cascadingpileof() { .orElse(null); if (hardestBlock != null) { - mc.player.getInventory().selectedSlot = mc.player.getInventory().indexOf(hardestBlock); + mc.player.getInventory().selectedSlot = mc.player.getInventory().getSlotWithStack(hardestBlock); } } private boolean isInvalidBlock(ItemStack stack) { @@ -239,7 +239,10 @@ private boolean isInvalidBlock(ItemStack stack) { || ((BlockItem) stack.getItem()).getBlock() instanceof BellBlock || ((BlockItem) stack.getItem()).getBlock() instanceof CarpetBlock || ((BlockItem) stack.getItem()).getBlock() instanceof ConduitBlock - || ((BlockItem) stack.getItem()).getBlock() instanceof CoralParentBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof CoralFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof CoralWallFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof DeadCoralFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof DeadCoralWallFanBlock || ((BlockItem) stack.getItem()).getBlock() instanceof TripwireHookBlock || ((BlockItem) stack.getItem()).getBlock() instanceof PointedDripstoneBlock || ((BlockItem) stack.getItem()).getBlock() instanceof TripwireBlock diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/InstantKill.java b/src/main/java/pwn/noobs/trouserstreak/modules/InstantKill.java index 94869872..5e452d0f 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/InstantKill.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/InstantKill.java @@ -81,7 +81,7 @@ public static void addVelocityToPlayer(){ } } private static void sendmovementpackets(){ - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() - 0.000000001, mc.player.getZ(), true)); - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() + 0.000000001, mc.player.getZ(), false)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() - 0.000000001, mc.player.getZ(), true, mc.player.horizontalCollision)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() + 0.000000001, mc.player.getZ(), false, mc.player.horizontalCollision)); } } \ No newline at end of file diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java b/src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java index b6b21bc9..54efdb14 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/MaceKill.java @@ -9,6 +9,7 @@ import net.minecraft.block.Blocks; import net.minecraft.entity.LivingEntity; import net.minecraft.item.Items; +import net.minecraft.network.packet.c2s.play.PlayerInteractEntityC2SPacket; import net.minecraft.network.packet.c2s.play.PlayerMoveC2SPacket; import net.minecraft.network.packet.c2s.play.VehicleMoveC2SPacket; import net.minecraft.util.math.BlockPos; @@ -46,16 +47,10 @@ public MaceKill() { @EventHandler private void onSendPacket(PacketEvent.Send event) { - if (event.packet instanceof IPlayerInteractEntityC2SPacket) { - IPlayerInteractEntityC2SPacket packet = (IPlayerInteractEntityC2SPacket) event.packet; + if (mc.player.getInventory().getMainHandStack().getItem() == Items.MACE && event.packet instanceof IPlayerInteractEntityC2SPacket packet && packet.meteor$getType() == PlayerInteractEntityC2SPacket.InteractType.ATTACK) { try { - Class packetClass = packet.getClass(); - Method getTypeMethod = packetClass.getDeclaredMethod("getType"); - getTypeMethod.setAccessible(true); - Enum interactType = (Enum) getTypeMethod.invoke(packet); - - if (interactType.name().equals("ATTACK") && mc.player.getInventory().getMainHandStack().getItem() == Items.MACE && packet.getEntity() instanceof LivingEntity) { - LivingEntity targetEntity = (LivingEntity) packet.getEntity(); + if (packet.meteor$getEntity() instanceof LivingEntity) { + LivingEntity targetEntity = (LivingEntity) packet.meteor$getEntity(); if (packetDisable.get() && ((targetEntity.isBlocking() && targetEntity.blockedByShield(targetEntity.getRecentDamageSource())) || targetEntity.isInvulnerable() || targetEntity.isInCreativeMode())) return; previouspos = mc.player.getPos(); @@ -81,13 +76,13 @@ private void onSendPacket(PacketEvent.Send event) { mc.player.networkHandler.sendPacket(new VehicleMoveC2SPacket(mc.player.getVehicle())); } else { for (int i = 0; i < 4; i++) { - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(false)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(false, mc.player.horizontalCollision)); } double maxHeight = Math.min(mc.player.getY() + 22, mc.player.getY() + blocks); - PlayerMoveC2SPacket movepacket = new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), maxHeight, mc.player.getZ(), false); - PlayerMoveC2SPacket homepacket = new PlayerMoveC2SPacket.PositionAndOnGround(previouspos.getX(), previouspos.getY(), previouspos.getZ(), false); - ((IPlayerMoveC2SPacket) homepacket).setTag(1337); - ((IPlayerMoveC2SPacket) movepacket).setTag(1337); + PlayerMoveC2SPacket movepacket = new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), maxHeight, mc.player.getZ(), false, mc.player.horizontalCollision); + PlayerMoveC2SPacket homepacket = new PlayerMoveC2SPacket.PositionAndOnGround(previouspos.getX(), previouspos.getY(), previouspos.getZ(), false, mc.player.horizontalCollision); + ((IPlayerMoveC2SPacket) homepacket).meteor$setTag(1337); + ((IPlayerMoveC2SPacket) movepacket).meteor$setTag(1337); mc.player.networkHandler.sendPacket(movepacket); mc.player.networkHandler.sendPacket(homepacket); } @@ -102,11 +97,11 @@ private void onSendPacket(PacketEvent.Send event) { mc.player.networkHandler.sendPacket(new VehicleMoveC2SPacket(mc.player.getVehicle())); } else { for (int packetNumber = 0; packetNumber < (packetsRequired - 1); packetNumber++) { - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(false)); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.OnGroundOnly(false, mc.player.horizontalCollision)); } - mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() + blocks, mc.player.getZ(), false)); - PlayerMoveC2SPacket movepacket = new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() + blocks, mc.player.getZ(), false); - ((IPlayerMoveC2SPacket) movepacket).setTag(1337); + mc.player.networkHandler.sendPacket(new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() + blocks, mc.player.getZ(), false, mc.player.horizontalCollision)); + PlayerMoveC2SPacket movepacket = new PlayerMoveC2SPacket.PositionAndOnGround(mc.player.getX(), mc.player.getY() + blocks, mc.player.getZ(), false, mc.player.horizontalCollision); + ((IPlayerMoveC2SPacket) movepacket).meteor$setTag(1337); mc.player.networkHandler.sendPacket(movepacket); } @@ -118,8 +113,8 @@ private void onSendPacket(PacketEvent.Send event) { mc.player.getVehicle().setPosition(previouspos); mc.player.networkHandler.sendPacket(new VehicleMoveC2SPacket(mc.player.getVehicle())); } else { - PlayerMoveC2SPacket homepacket = new PlayerMoveC2SPacket.PositionAndOnGround(previouspos.getX(), previouspos.getY(), previouspos.getZ(), false); - ((IPlayerMoveC2SPacket) homepacket).setTag(1337); + PlayerMoveC2SPacket homepacket = new PlayerMoveC2SPacket.PositionAndOnGround(previouspos.getX(), previouspos.getY(), previouspos.getZ(), false, mc.player.horizontalCollision); + ((IPlayerMoveC2SPacket) homepacket).meteor$setTag(1337); mc.player.networkHandler.sendPacket(homepacket); // Do it again to be sure it happens mc.player.networkHandler.sendPacket(homepacket); diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/NbtEditor.java b/src/main/java/pwn/noobs/trouserstreak/modules/NbtEditor.java index 01eb7bbf..cc6f23a2 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/NbtEditor.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/NbtEditor.java @@ -46,12 +46,12 @@ public class NbtEditor extends Module { .defaultValue("MOUNTAINSOFLAVAINC") .visible(() -> mode.get() == Modes.Entity || mode.get() == Modes.Item || mode.get() == Modes.Potion) .build()); - private final Setting nomcolor = sgGeneral.add(new StringSetting.Builder() + private final Setting nomcolor = sgGeneral.add(new EnumSetting.Builder() .name("Custom Name Color") .description("Color the Name") - .defaultValue("red") - .visible(() -> mode.get() == Modes.Entity || mode.get() == Modes.Item || mode.get() == Modes.Potion) + .defaultValue(BoomPlus.ColorModes.red) .build()); + public enum ColorModes { aqua, black, blue, dark_aqua, dark_blue, dark_gray, dark_green, dark_purple, dark_red, gold, gray, green, italic, light_purple, red, white, yellow } private final Setting entity = sgOptions.add(new StringSetting.Builder() .name("Entity to Spawn") .description("What is created. Ex: fireball, villager, minecart, lightning_bolt, magma cube, area effect cloud") @@ -266,8 +266,8 @@ public void onActivate() { case Entity -> { ItemStack item = new ItemStack(Items.BEE_SPAWN_EGG); var changes = ComponentChanges.builder() - .add(DataComponentTypes.CUSTOM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toUpperCase()))) - .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toUpperCase()))) + .add(DataComponentTypes.CUSTOM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toString().toUpperCase()))) + .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toString().toUpperCase()))) .add(DataComponentTypes.ENTITY_DATA, createEntityData()) .build(); item.applyChanges(changes); @@ -282,14 +282,14 @@ public void onActivate() { item = new ItemStack(itemlist.get()); } - Registry enchantmentRegistry = mc.world.getRegistryManager().get(RegistryKeys.ENCHANTMENT); + Registry enchantmentRegistry = mc.world.getRegistryManager().getOrThrow(RegistryKeys.ENCHANTMENT); for (RegistryKey enchantKey : enchants.get()) { - RegistryEntry enchantEntry = enchantmentRegistry.entryOf(enchantKey); + RegistryEntry enchantEntry = enchantmentRegistry.getOrThrow(enchantKey); item.addEnchantment(enchantEntry, level.get()); } - item.set(DataComponentTypes.CUSTOM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toUpperCase()))); + item.set(DataComponentTypes.CUSTOM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toString().toUpperCase()))); mc.interactionManager.clickCreativeStack(item, 36 + mc.player.getInventory().selectedSlot); } @@ -302,8 +302,8 @@ public void onActivate() { else if (mc.player.getMainHandStack().getItem() != Items.POTION && potionmode.get() == pModes.Normal) item = new ItemStack(Items.POTION); else item = mc.player.getMainHandStack().copy(); var changes = ComponentChanges.builder() - .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toUpperCase()))) - .add(DataComponentTypes.POTION_CONTENTS, new PotionContentsComponent(Optional.empty(), Optional.empty(), pileOfStatusEffects())) + .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toString().toUpperCase()))) + .add(DataComponentTypes.POTION_CONTENTS, new PotionContentsComponent(Optional.empty(), Optional.empty(), pileOfStatusEffects(), Optional.ofNullable(nom.get()))) .build(); item.applyChanges(changes); mc.interactionManager.clickCreativeStack(item, 36 + mc.player.getInventory().selectedSlot); @@ -312,8 +312,8 @@ else switch (potionmode.get()) { case Normal -> { item = new ItemStack(Items.POTION); var changes = ComponentChanges.builder() - .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toUpperCase()))) - .add(DataComponentTypes.POTION_CONTENTS, new PotionContentsComponent(Optional.empty(), Optional.empty(), pileOfStatusEffects())) + .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toString().toUpperCase()))) + .add(DataComponentTypes.POTION_CONTENTS, new PotionContentsComponent(Optional.empty(), Optional.empty(), pileOfStatusEffects(), Optional.ofNullable(nom.get()))) .build(); item.applyChanges(changes); mc.interactionManager.clickCreativeStack(item, 36 + mc.player.getInventory().selectedSlot); @@ -321,8 +321,8 @@ else switch (potionmode.get()) { case Splash -> { item = new ItemStack(Items.SPLASH_POTION); var changes = ComponentChanges.builder() - .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toUpperCase()))) - .add(DataComponentTypes.POTION_CONTENTS, new PotionContentsComponent(Optional.empty(), Optional.empty(), pileOfStatusEffects())) + .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toString().toUpperCase()))) + .add(DataComponentTypes.POTION_CONTENTS, new PotionContentsComponent(Optional.empty(), Optional.empty(), pileOfStatusEffects(), Optional.ofNullable(nom.get()))) .build(); item.applyChanges(changes); mc.interactionManager.clickCreativeStack(item, 36 + mc.player.getInventory().selectedSlot); @@ -330,8 +330,8 @@ else switch (potionmode.get()) { case Lingering -> { item = new ItemStack(Items.LINGERING_POTION); var changes = ComponentChanges.builder() - .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toUpperCase()))) - .add(DataComponentTypes.POTION_CONTENTS, new PotionContentsComponent(Optional.empty(), Optional.empty(), pileOfStatusEffects())) + .add(DataComponentTypes.ITEM_NAME, Text.literal(nom.get()).formatted(Formatting.valueOf(nomcolor.get().toString().toUpperCase()))) + .add(DataComponentTypes.POTION_CONTENTS, new PotionContentsComponent(Optional.empty(), Optional.empty(), pileOfStatusEffects(), Optional.ofNullable(nom.get()))) .build(); item.applyChanges(changes); mc.interactionManager.clickCreativeStack(item, 36 + mc.player.getInventory().selectedSlot); diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java b/src/main/java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java index b626ee75..f8066283 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/NewerNewChunks.java @@ -977,7 +977,7 @@ else if (!isNewChunk) { } if (liquidexploit.get()) { for (int x = 0; x < 16; x++) { - for (int y = mc.world.getBottomY(); y < mc.world.getTopY(); y++) { + for (int y = mc.world.getBottomY(); y < mc.world.getTopYInclusive(); y++) { for (int z = 0; z < 16; z++) { FluidState fluid = chunk.getFluidState(x, y, z); try { diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/RedstoneNuker.java b/src/main/java/pwn/noobs/trouserstreak/modules/RedstoneNuker.java index ab8da732..26cfc959 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/RedstoneNuker.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/RedstoneNuker.java @@ -28,9 +28,9 @@ import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.enchantment.Enchantments; import net.minecraft.item.ItemStack; +import net.minecraft.item.MiningToolItem; import net.minecraft.item.ShearsItem; import net.minecraft.item.SwordItem; -import net.minecraft.item.ToolItem; import net.minecraft.registry.Registry; import net.minecraft.registry.RegistryKeys; import net.minecraft.util.math.BlockPos; @@ -523,7 +523,7 @@ private void onStartBreakingBlock(StartBreakingBlockEvent event) { bestSlot = i; } } - enchantmentRegistry = mc.world.getRegistryManager().get(RegistryKeys.ENCHANTMENT); + enchantmentRegistry = mc.world.getRegistryManager().getOrThrow(RegistryKeys.ENCHANTMENT); if ((bestSlot != -1 && (bestScore > getScore(currentStack, blockState, silkTouchForEnderChest, prefer.get(), itemStack -> !shouldStopUsing(itemStack))) || shouldStopUsing(currentStack) || !isTool(currentStack))) { ticks = switchDelay.get(); @@ -551,7 +551,7 @@ public static double getScore(ItemStack itemStack, BlockState state, boolean sil if (enchantmentRegistry != null) { if (silkTouchEnderChest && state.getBlock() == Blocks.ENDER_CHEST - && EnchantmentHelper.getLevel(enchantmentRegistry.entryOf(Enchantments.SILK_TOUCH), itemStack) == 0) { + && EnchantmentHelper.getLevel(enchantmentRegistry.getOrThrow(Enchantments.SILK_TOUCH), itemStack) == 0) { return -1; } } @@ -560,14 +560,14 @@ public static double getScore(ItemStack itemStack, BlockState state, boolean sil score += itemStack.getMiningSpeedMultiplier(state) * 1000; if (enchantmentRegistry != null) { - score += EnchantmentHelper.getLevel(enchantmentRegistry.entryOf(Enchantments.UNBREAKING), itemStack); - score += EnchantmentHelper.getLevel(enchantmentRegistry.entryOf(Enchantments.EFFICIENCY), itemStack); - score += EnchantmentHelper.getLevel(enchantmentRegistry.entryOf(Enchantments.MENDING), itemStack); + score += EnchantmentHelper.getLevel(enchantmentRegistry.getOrThrow(Enchantments.UNBREAKING), itemStack); + score += EnchantmentHelper.getLevel(enchantmentRegistry.getOrThrow(Enchantments.EFFICIENCY), itemStack); + score += EnchantmentHelper.getLevel(enchantmentRegistry.getOrThrow(Enchantments.MENDING), itemStack); if (enchantPreference == EnchantPreference.Fortune) - score += EnchantmentHelper.getLevel(enchantmentRegistry.entryOf(Enchantments.FORTUNE), itemStack); + score += EnchantmentHelper.getLevel(enchantmentRegistry.getOrThrow(Enchantments.FORTUNE), itemStack); if (enchantPreference == EnchantPreference.SilkTouch) - score += EnchantmentHelper.getLevel(enchantmentRegistry.entryOf(Enchantments.SILK_TOUCH), itemStack); + score += EnchantmentHelper.getLevel(enchantmentRegistry.getOrThrow(Enchantments.SILK_TOUCH), itemStack); } if (itemStack.getItem() instanceof SwordItem item && (state.getBlock() instanceof BambooBlock || state.getBlock() instanceof BambooShootBlock)) @@ -577,7 +577,7 @@ public static double getScore(ItemStack itemStack, BlockState state, boolean sil } public static boolean isTool(ItemStack itemStack) { - return itemStack.getItem() instanceof ToolItem || itemStack.getItem() instanceof ShearsItem; + return itemStack.getItem() instanceof MiningToolItem || itemStack.getItem() instanceof ShearsItem; } private boolean filterBlocks(Block block) { return isRedstoneBlock(block); diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/StorageLooter.java b/src/main/java/pwn/noobs/trouserstreak/modules/StorageLooter.java index e07fc1b6..f9b70dae 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/StorageLooter.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/StorageLooter.java @@ -826,29 +826,29 @@ private int getItemScore(ItemStack stack) { //enchantments score ItemEnchantmentsComponent enchantments = stack.getEnchantments(); int enchantmentscore = 0; - Registry enchantmentRegistry = mc.world.getRegistryManager().get(RegistryKeys.ENCHANTMENT); + Registry enchantmentRegistry = mc.world.getRegistryManager().getOrThrow(RegistryKeys.ENCHANTMENT); if (stack.getItem() instanceof ArmorItem) { - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.PROTECTION)) * 10; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.BLAST_PROTECTION)) * 10; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.FIRE_PROTECTION)) * 10; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.PROJECTILE_PROTECTION)) * 10; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.UNBREAKING)) * 9; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.MENDING)) * 8; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.THORNS)) * 5; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.PROTECTION)) * 10; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.BLAST_PROTECTION)) * 10; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.FIRE_PROTECTION)) * 10; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.PROJECTILE_PROTECTION)) * 10; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.UNBREAKING)) * 9; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.MENDING)) * 8; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.THORNS)) * 5; } else if (stack.getItem() instanceof SwordItem) { - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.SMITE)) * 10; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.SHARPNESS)) * 10; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.BANE_OF_ARTHROPODS)) * 9; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.FIRE_ASPECT)) * 9; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.UNBREAKING)) * 9; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.MENDING)) * 8; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.LOOTING)) * 5; - } else if (stack.getItem() instanceof ToolItem) { - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.EFFICIENCY)) * 10; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.UNBREAKING)) * 9; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.MENDING)) * 8; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.SILK_TOUCH)) * 6; - enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.entryOf(Enchantments.FORTUNE)) * 5; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.SMITE)) * 10; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.SHARPNESS)) * 10; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.BANE_OF_ARTHROPODS)) * 9; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.FIRE_ASPECT)) * 9; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.UNBREAKING)) * 9; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.MENDING)) * 8; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.LOOTING)) * 5; + } else if (stack.getItem() instanceof MiningToolItem) { + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.EFFICIENCY)) * 10; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.UNBREAKING)) * 9; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.MENDING)) * 8; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.SILK_TOUCH)) * 6; + enchantmentscore += getEnchantmentLevel(enchantments, enchantmentRegistry.getOrThrow(Enchantments.FORTUNE)) * 5; } score += enchantmentscore; @@ -1139,7 +1139,7 @@ private boolean isValidLootItem(Item item) { Items.DIAMOND_BOOTS ); - if (item instanceof ToolItem || item instanceof ArmorItem) { + if (item instanceof MiningToolItem || item instanceof ArmorItem) { return diamondItems.contains(item); } diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/SuperInstaMine.java b/src/main/java/pwn/noobs/trouserstreak/modules/SuperInstaMine.java index 64f49f5e..16e34091 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/SuperInstaMine.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/SuperInstaMine.java @@ -13,7 +13,7 @@ import net.minecraft.block.Block; import net.minecraft.block.Blocks; import net.minecraft.item.Items; -import net.minecraft.item.ToolItem; +import net.minecraft.item.MiningToolItem; import net.minecraft.network.packet.c2s.play.HandSwingC2SPacket; import net.minecraft.network.packet.c2s.play.PlayerActionC2SPacket; import net.minecraft.util.Hand; @@ -241,20 +241,20 @@ private void onTick(TickEvent.Pre event) { else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction)); switch (playermovingdirection){ case NORTH -> { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); } case SOUTH -> { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); } case EAST -> { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); } case WEST -> { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); } } if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction))); @@ -273,20 +273,20 @@ private void onTick(TickEvent.Pre event) { else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction)); switch (playermovingdirection){ case NORTH -> { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); } case SOUTH -> { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); } case EAST -> { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); } case WEST -> { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); } } if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction))); @@ -297,16 +297,16 @@ private void onTick(TickEvent.Pre event) { if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction)); if (playermovingdirection == Direction.NORTH || playermovingdirection == Direction.SOUTH) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); } if (playermovingdirection == Direction.EAST || playermovingdirection == Direction.WEST) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); } if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction)); @@ -317,35 +317,35 @@ private void onTick(TickEvent.Pre event) { else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction)); if ((aorient.get() && playerpitch<=30 && playerpitch>=-30) || (mode.get() == Modes.Vertical && !aorient.get())) { if (playermovingdirection == Direction.NORTH || playermovingdirection == Direction.SOUTH && (playerpitch <= 30 && playerpitch >= -30)) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); } if (playermovingdirection == Direction.EAST || playermovingdirection == Direction.WEST && (playerpitch <= 30 && playerpitch >= -30)) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); } } if ((aorient.get() && playerpitch>30 | playerpitch<-30) || (mode.get() == Modes.Horizontal && !aorient.get())){ - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); } if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction)); @@ -356,59 +356,59 @@ private void onTick(TickEvent.Pre event) { else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction)); if ((aorient.get() && playerpitch<=30 && playerpitch>=-30) || (mode.get() == Modes.Vertical && !aorient.get())) { if (playermovingdirection == Direction.NORTH || playermovingdirection == Direction.SOUTH) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos10, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos10, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos11, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos11, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos19, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos19, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos20, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos20, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos10, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos10, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos11, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos11, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos19, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos19, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos20, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos20, direction)); } if (playermovingdirection == Direction.EAST || playermovingdirection == Direction.WEST) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos12, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos12, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos13, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos13, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos21, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos21, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos22, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos22, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos12, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos12, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos13, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos13, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos21, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos21, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos22, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22)))) mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos22, direction)); } } if ((aorient.get() && playerpitch>30 | playerpitch<-30) || (mode.get() == Modes.Horizontal && !aorient.get())){ - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos5, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos5, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos6, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos6, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos7, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos7, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos8, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos8, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos5, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos5, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos6, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos6, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos7, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos7, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos8, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos8, direction)); } if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction)); @@ -417,26 +417,26 @@ private void onTick(TickEvent.Pre event) { if (shouldMine() && range.get()==5) { if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos5, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos5, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos6, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos6, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos7, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos7, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos8, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos8, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos5, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos5, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos6, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos6, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos7, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos7, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos8, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos8, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction)); if (swing.get()) mc.getNetworkHandler().sendPacket(new HandSwingC2SPacket(Hand.MAIN_HAND)); @@ -444,42 +444,42 @@ private void onTick(TickEvent.Pre event) { if (shouldMine() && range.get()==6) { if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos5, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos5, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos6, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos6, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos7, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos7, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos8, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos8, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos10, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos10, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos11, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos11, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos12, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos12, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos13, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos13, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos19, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos19, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos20, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos20, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos21, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos21, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos22, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos22, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos5, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos5, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos6, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos6, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos7, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos7, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos8, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos8, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos10, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos10, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos11, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos11, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos12, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos12, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos13, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos13, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos19, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos19, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos20, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos20, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos21, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos21, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos22, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos22, direction)); if (rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction)); if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && swing.get()) mc.getNetworkHandler().sendPacket(new HandSwingC2SPacket(Hand.MAIN_HAND)); @@ -487,58 +487,58 @@ private void onTick(TickEvent.Pre event) { if (shouldMine() && range.get()==7) { if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos5, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos5, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos6, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos6, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos7, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos7, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos8, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos8, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos10, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos10, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos11, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos11, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos12, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos12, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos13, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos13, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos14)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos14))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos14, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos14)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos14))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos14, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos15)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos15))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos15, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos15)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos15))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos15, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos16)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos16))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos16, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos16)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos16))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos16, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos17)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos17))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos17, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos17)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos17))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos17, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos19, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos19, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos20, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos20, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos21, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos21, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos22, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos22, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos23)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos23))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos23, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos23)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos23))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos23, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos24)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos24))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos24, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos24)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos24))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos24, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos25)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos25))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos25, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos25)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos25))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos25, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos26)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos26))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos26, direction)); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos26)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos26))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos26, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos1, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos2, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos3, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos4, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos5, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos5, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos6, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos6, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos7, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos7, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos8, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos8, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos9, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos10, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos10, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos11, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos11, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos12, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos12, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos13, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos13, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos14)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos14))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos14, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos14)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos14))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos14, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos15)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos15))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos15, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos15)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos15))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos15, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos16)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos16))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos16, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos16)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos16))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos16, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos17)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos17))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos17, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos17)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos17))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos17, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos18, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos19, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos19, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos20, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos20, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos21, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos21, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos22, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos22, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos23)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos23))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos23, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos23)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos23))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos23, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos24)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos24))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos24, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos24)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos24))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos24, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos25)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos25))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos25, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos25)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos25))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos25, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos26)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos26))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos26, direction)); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos26)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos26))))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK, blockPos26, direction)); if (rotate.get() && BlockUtils.canBreak(blockPos))Rotations.rotate(Rotations.getYaw(blockPos), Rotations.getPitch(blockPos), () -> mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction))); else if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && !rotate.get() && BlockUtils.canBreak(blockPos))mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.START_DESTROY_BLOCK, blockPos, direction)); if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && swing.get()) mc.getNetworkHandler().sendPacket(new HandSwingC2SPacket(Hand.MAIN_HAND)); @@ -557,125 +557,125 @@ private boolean shouldMine() { private void onRender(Render3DEvent event) { if (!render.get() || !shouldMine()) return; if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos).getBlock()))) && BlockUtils.canBreak(blockPos))event.renderer.box(blockPos, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((range.get()==-1 && playermovingdirection==Direction.SOUTH) || (range.get()==1 && playermovingdirection==Direction.NORTH) || (range.get()==2 && (playermovingdirection==Direction.NORTH | playermovingdirection==Direction.SOUTH))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((range.get()==-1 && playermovingdirection==Direction.NORTH) || (range.get()==1 && playermovingdirection==Direction.SOUTH) || (range.get()==2 && (playermovingdirection==Direction.NORTH | playermovingdirection==Direction.SOUTH))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((range.get()==-1 && playermovingdirection==Direction.WEST) || (range.get()==1 && playermovingdirection==Direction.EAST) || (range.get()==2 && (playermovingdirection==Direction.EAST | playermovingdirection==Direction.WEST))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((range.get()==-1 && playermovingdirection==Direction.EAST) || (range.get()==1 && playermovingdirection==Direction.WEST) || (range.get()==2 && (playermovingdirection==Direction.EAST | playermovingdirection==Direction.WEST))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((range.get()==-1 && playermovingdirection==Direction.SOUTH) || (range.get()==1 && playermovingdirection==Direction.NORTH) || (range.get()==2 && (playermovingdirection==Direction.NORTH | playermovingdirection==Direction.SOUTH))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((range.get()==-1 && playermovingdirection==Direction.NORTH) || (range.get()==1 && playermovingdirection==Direction.SOUTH) || (range.get()==2 && (playermovingdirection==Direction.NORTH | playermovingdirection==Direction.SOUTH))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((range.get()==-1 && playermovingdirection==Direction.WEST) || (range.get()==1 && playermovingdirection==Direction.EAST) || (range.get()==2 && (playermovingdirection==Direction.EAST | playermovingdirection==Direction.WEST))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((range.get()==-1 && playermovingdirection==Direction.EAST) || (range.get()==1 && playermovingdirection==Direction.WEST) || (range.get()==2 && (playermovingdirection==Direction.EAST | playermovingdirection==Direction.WEST))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); if (range.get()==3){ if ((aorient.get() && playerpitch<=30 && playerpitch>=-30) || (mode.get() == Modes.Vertical && !aorient.get())) { if ((playermovingdirection == Direction.NORTH || playermovingdirection == Direction.SOUTH)) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } if ((playermovingdirection == Direction.EAST || playermovingdirection == Direction.WEST)) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } } if ((aorient.get() && playerpitch>30 | playerpitch<-30) || (mode.get() == Modes.Horizontal && !aorient.get())){ - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } } if (range.get()==4){ if ((aorient.get() && playerpitch<=30 && playerpitch>=-30) || (mode.get() == Modes.Vertical && !aorient.get())) { if (playermovingdirection == Direction.NORTH || playermovingdirection == Direction.SOUTH) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10)))) event.renderer.box(blockPos10, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11)))) event.renderer.box(blockPos11, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19)))) event.renderer.box(blockPos19, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20)))) event.renderer.box(blockPos20, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1)))) event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2)))) event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10)))) event.renderer.box(blockPos10, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11)))) event.renderer.box(blockPos11, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19)))) event.renderer.box(blockPos19, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20)))) event.renderer.box(blockPos20, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } if (playermovingdirection == Direction.EAST || playermovingdirection == Direction.WEST) { - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12)))) event.renderer.box(blockPos12, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13)))) event.renderer.box(blockPos13, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21)))) event.renderer.box(blockPos21, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22)))) event.renderer.box(blockPos22, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9)))) event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18)))) event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3)))) event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4)))) event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12)))) event.renderer.box(blockPos12, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13)))) event.renderer.box(blockPos13, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21)))) event.renderer.box(blockPos21, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22)))) event.renderer.box(blockPos22, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } } if ((aorient.get() && playerpitch>30 | playerpitch<-30) || (mode.get() == Modes.Horizontal && !aorient.get())){ - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))event.renderer.box(blockPos5, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))event.renderer.box(blockPos6, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))event.renderer.box(blockPos7, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))event.renderer.box(blockPos8, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))event.renderer.box(blockPos5, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))event.renderer.box(blockPos6, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))event.renderer.box(blockPos7, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))event.renderer.box(blockPos8, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } } if (range.get()==5){ - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))event.renderer.box(blockPos5, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))event.renderer.box(blockPos6, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))event.renderer.box(blockPos7, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))event.renderer.box(blockPos8, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))event.renderer.box(blockPos5, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))event.renderer.box(blockPos6, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))event.renderer.box(blockPos7, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))event.renderer.box(blockPos8, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } if (range.get()==6){ - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))event.renderer.box(blockPos5, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))event.renderer.box(blockPos6, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))event.renderer.box(blockPos7, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))event.renderer.box(blockPos8, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))event.renderer.box(blockPos10, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))event.renderer.box(blockPos11, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))event.renderer.box(blockPos12, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))event.renderer.box(blockPos13, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))event.renderer.box(blockPos19, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))event.renderer.box(blockPos20, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))event.renderer.box(blockPos21, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))event.renderer.box(blockPos22, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))event.renderer.box(blockPos5, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))event.renderer.box(blockPos6, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))event.renderer.box(blockPos7, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))event.renderer.box(blockPos8, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))event.renderer.box(blockPos10, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))event.renderer.box(blockPos11, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))event.renderer.box(blockPos12, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))event.renderer.box(blockPos13, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))event.renderer.box(blockPos19, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))event.renderer.box(blockPos20, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))event.renderer.box(blockPos21, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))event.renderer.box(blockPos22, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } if (range.get()==7){ - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))event.renderer.box(blockPos5, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))event.renderer.box(blockPos6, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))event.renderer.box(blockPos7, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))event.renderer.box(blockPos8, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))event.renderer.box(blockPos10, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))event.renderer.box(blockPos11, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))event.renderer.box(blockPos12, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))event.renderer.box(blockPos13, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos14)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos14))))event.renderer.box(blockPos14, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos15)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos15))))event.renderer.box(blockPos15, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos16)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos16))))event.renderer.box(blockPos16, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos17)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos17))))event.renderer.box(blockPos17, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))event.renderer.box(blockPos19, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))event.renderer.box(blockPos20, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))event.renderer.box(blockPos21, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))event.renderer.box(blockPos22, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos23)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos23))))event.renderer.box(blockPos23, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos24)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos24))))event.renderer.box(blockPos24, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos25)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos25))))event.renderer.box(blockPos25, sideColor.get(), lineColor.get(), shapeMode.get(), 0); - if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof ToolItem)) && BlockUtils.canBreak(blockPos26)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos26))))event.renderer.box(blockPos26, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos1).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos1)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos1))))event.renderer.box(blockPos1, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos2).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos2)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos2))))event.renderer.box(blockPos2, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos3).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos3)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos3))))event.renderer.box(blockPos3, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos4).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos4)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos4))))event.renderer.box(blockPos4, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos5).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos5)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos5))))event.renderer.box(blockPos5, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos6).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos6)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos6))))event.renderer.box(blockPos6, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos7).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos7)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos7))))event.renderer.box(blockPos7, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos8).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos8)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos8))))event.renderer.box(blockPos8, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos9).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos9)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos9))))event.renderer.box(blockPos9, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos10).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos10)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos10))))event.renderer.box(blockPos10, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos11).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos11)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos11))))event.renderer.box(blockPos11, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos12).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos12)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos12))))event.renderer.box(blockPos12, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos13).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos13)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos13))))event.renderer.box(blockPos13, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos14).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos14)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos14))))event.renderer.box(blockPos14, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos15).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos15)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos15))))event.renderer.box(blockPos15, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos16).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos16)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos16))))event.renderer.box(blockPos16, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos17).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos17)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos17))))event.renderer.box(blockPos17, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos18).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos18)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos18))))event.renderer.box(blockPos18, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos19).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos19)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos19))))event.renderer.box(blockPos19, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos20).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos20)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos20))))event.renderer.box(blockPos20, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos21).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos21)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos21))))event.renderer.box(blockPos21, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos22).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos22)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos22))))event.renderer.box(blockPos22, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos23).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos23)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos23))))event.renderer.box(blockPos23, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos24).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos24)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos24))))event.renderer.box(blockPos24, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos25).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos25)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos25))))event.renderer.box(blockPos25, sideColor.get(), lineColor.get(), shapeMode.get(), 0); + if (((listmode.get()==listModes.whitelist && nonskippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock())) || (listmode.get()==listModes.blacklist && !skippableBlox.get().contains(mc.world.getBlockState(blockPos26).getBlock()))) && (((mc.player.getAbilities().creativeMode | !(mc.player.getMainHandStack().getItem() instanceof MiningToolItem)) && BlockUtils.canBreak(blockPos26)) || mc.player.getMainHandStack().isSuitableFor(mc.world.getBlockState(blockPos26))))event.renderer.box(blockPos26, sideColor.get(), lineColor.get(), shapeMode.get(), 0); } } public enum Modes { diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/TrouserBuild.java b/src/main/java/pwn/noobs/trouserstreak/modules/TrouserBuild.java index d8ec88df..828ddf11 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/TrouserBuild.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/TrouserBuild.java @@ -1599,7 +1599,10 @@ private boolean isInvalidBlock(ItemStack stack) { || ((BlockItem) stack.getItem()).getBlock() instanceof BellBlock || ((BlockItem) stack.getItem()).getBlock() instanceof CarpetBlock || ((BlockItem) stack.getItem()).getBlock() instanceof ConduitBlock - || ((BlockItem) stack.getItem()).getBlock() instanceof CoralParentBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof CoralFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof CoralWallFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof DeadCoralFanBlock + || ((BlockItem) stack.getItem()).getBlock() instanceof DeadCoralWallFanBlock || ((BlockItem) stack.getItem()).getBlock() instanceof TripwireHookBlock || ((BlockItem) stack.getItem()).getBlock() instanceof PointedDripstoneBlock || ((BlockItem) stack.getItem()).getBlock() instanceof TripwireBlock diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 5ed180d4..11db668d 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "id": "streak-addon", - "version": "1.2.7", + "version": "1.2.8", "name": "TrouserStreak", "description": "Trouser-Streak is a compilation of modules, updated to the latest version and optimized for maximum grief. I did not make all of these.", "authors": [ diff --git a/src/main/resources/streak-addon.accesswidener b/src/main/resources/streak-addon.accesswidener index e0919b48..74038057 100644 --- a/src/main/resources/streak-addon.accesswidener +++ b/src/main/resources/streak-addon.accesswidener @@ -3,4 +3,7 @@ accessWidener v2 named accessible class net/minecraft/world/chunk/PalettedContainer$Data accessible field net/minecraft/world/chunk/PalettedContainer data Lnet/minecraft/world/chunk/PalettedContainer$Data; accessible method net/minecraft/world/chunk/PalettedContainer$Data palette ()Lnet/minecraft/world/chunk/Palette; -accessible method net/minecraft/client/network/ClientPlayerEntity getPermissionLevel ()I \ No newline at end of file +accessible method net/minecraft/client/network/ClientPlayerEntity getPermissionLevel ()I +accessible class net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType +accessible class net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractAtHandler +accessible class net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractTypeHandler \ No newline at end of file