From 577079c61af5d6c94fe5db5bbe959887de245042 Mon Sep 17 00:00:00 2001 From: Walker Selby Date: Thu, 5 Oct 2023 23:53:59 +0100 Subject: Code Cleanup: Remove unused imports (#858) --- src/main/java/io/github/moulberry/notenoughupdates/NEUApi.java | 1 - .../github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java | 1 - .../moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt | 3 --- .../moulberry/notenoughupdates/util/brigadier/NEUBrigadierHook.kt | 1 - 4 files changed, 6 deletions(-) (limited to 'src/main/java/io') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUApi.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUApi.java index 6cdeb474..52e360eb 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUApi.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUApi.java @@ -18,7 +18,6 @@ */ package io.github.moulberry.notenoughupdates; -import net.minecraftforge.fml.relauncher.ReflectionHelper; public class NEUApi { public static boolean disableInventoryButtons = false; diff --git a/src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java b/src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java index 720dd540..2647fe34 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java @@ -24,7 +24,6 @@ import net.minecraft.launchwrapper.Launch; import net.minecraft.launchwrapper.LaunchClassLoader; import java.io.File; -import java.io.IOException; import java.lang.reflect.Method; import java.net.URI; import java.net.URL; diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt index 65e23f3d..ea01eb2e 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/WardrobeMouseButtons.kt @@ -22,11 +22,8 @@ import io.github.moulberry.notenoughupdates.NotEnoughUpdates import io.github.moulberry.notenoughupdates.autosubscribe.NEUAutoSubscribe import io.github.moulberry.notenoughupdates.core.config.KeybindHelper import io.github.moulberry.notenoughupdates.util.Utils -import net.minecraft.client.Minecraft import net.minecraft.client.gui.inventory.GuiChest import net.minecraft.inventory.ContainerChest -import net.minecraft.inventory.Slot -import net.minecraft.item.ItemStack import net.minecraftforge.client.event.GuiScreenEvent import net.minecraftforge.fml.common.eventhandler.SubscribeEvent diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/brigadier/NEUBrigadierHook.kt b/src/main/java/io/github/moulberry/notenoughupdates/util/brigadier/NEUBrigadierHook.kt index 668c412a..fc4fd39c 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/brigadier/NEUBrigadierHook.kt +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/brigadier/NEUBrigadierHook.kt @@ -27,7 +27,6 @@ import net.minecraft.command.CommandBase import net.minecraft.command.ICommandSender import net.minecraft.util.BlockPos import net.minecraft.util.ChatComponentText -import net.minecraft.util.EnumChatFormatting.RED import net.minecraft.util.EnumChatFormatting.YELLOW import java.util.concurrent.CompletableFuture import java.util.function.Predicate -- cgit