cleanup java imports 2

This commit is contained in:
mcrcortex
2025-07-31 16:10:14 +10:00
parent e9fba367c0
commit 16952e13e4
6 changed files with 3 additions and 23 deletions

View File

@@ -1,11 +1,5 @@
package me.cortex.voxy.commonImpl;
import me.cortex.voxy.common.world.WorldEngine;
import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable;
import java.lang.ref.WeakReference;
public interface IWorldGetIdentifier {
WorldIdentifier voxy$getIdentifier();
}

View File

@@ -1,17 +1,10 @@
package me.cortex.voxy.commonImpl;
import me.cortex.voxy.client.taskbar.Taskbar;
import me.cortex.voxy.common.thread.ServiceThreadPool;
import me.cortex.voxy.common.world.WorldEngine;
import me.cortex.voxy.commonImpl.importers.IDataImporter;
import me.cortex.voxy.commonImpl.importers.WorldImporter;
import net.minecraft.world.World;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.function.BooleanSupplier;
import java.util.function.IntConsumer;
import java.util.function.Supplier;
public class ImportManager {

View File

@@ -7,8 +7,6 @@ import net.fabricmc.api.ModInitializer;
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.ModContainer;
import java.lang.invoke.VarHandle;
public class VoxyCommon implements ModInitializer {
public static final String MOD_VERSION;
public static final boolean IS_DEDICATED_SERVER;

View File

@@ -9,7 +9,9 @@ import me.cortex.voxy.common.world.service.SectionSavingService;
import me.cortex.voxy.common.world.service.VoxelIngestService;
import java.lang.ref.WeakReference;
import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.locks.StampedLock;
import java.util.function.BooleanSupplier;
import java.util.stream.Collectors;

View File

@@ -1,8 +1,6 @@
package me.cortex.voxy.commonImpl;
import me.cortex.voxy.common.world.WorldEngine;
import net.minecraft.client.world.ClientWorld;
import net.minecraft.registry.Registries;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.util.Identifier;
@@ -11,7 +9,6 @@ import net.minecraft.world.dimension.DimensionType;
import org.jetbrains.annotations.Nullable;
import java.lang.ref.WeakReference;
import java.util.Objects;
public class WorldIdentifier {
private static final RegistryKey<DimensionType> NULL_DIM_KEY = RegistryKey.of(RegistryKeys.DIMENSION_TYPE, Identifier.of("voxy:null_dimension_id"));

View File

@@ -4,14 +4,10 @@ import com.google.gson.*;
import com.google.gson.reflect.TypeToken;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import me.cortex.voxy.client.config.VoxyConfig;
import me.cortex.voxy.common.Logger;
import me.cortex.voxy.common.util.MultiGson;
import me.cortex.voxy.common.util.cpu.CpuLayout;
import me.cortex.voxy.commonImpl.VoxyCommon;
import net.fabricmc.loader.api.FabricLoader;
import java.io.FileReader;
import java.io.IOException;
import java.lang.reflect.Modifier;
import java.nio.file.Files;