From 1b78157fb876c24c8ae63a6779cd590b2e43518e Mon Sep 17 00:00:00 2001 From: Fyoncle Date: Tue, 26 Nov 2024 20:24:38 +0300 Subject: [PATCH] Optimize Imports --- .../java/net/fyoncle/elysiumdaystweaks/ElysiumDaysTweaks.java | 4 ---- .../fyoncle/elysiumdaystweaks/custommenus/RamWarningMenu.java | 2 -- .../fyoncle/elysiumdaystweaks/mixin/PanoramaOverlayMixin.java | 1 - .../net/fyoncle/elysiumdaystweaks/mixin/ResourcePackLock.java | 1 - 4 files changed, 8 deletions(-) diff --git a/src/main/java/net/fyoncle/elysiumdaystweaks/ElysiumDaysTweaks.java b/src/main/java/net/fyoncle/elysiumdaystweaks/ElysiumDaysTweaks.java index f177b41..71ef494 100644 --- a/src/main/java/net/fyoncle/elysiumdaystweaks/ElysiumDaysTweaks.java +++ b/src/main/java/net/fyoncle/elysiumdaystweaks/ElysiumDaysTweaks.java @@ -1,8 +1,6 @@ package net.fyoncle.elysiumdaystweaks; import net.fabricmc.api.ClientModInitializer; -import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents; -import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents; import net.fabricmc.fabric.api.client.screen.v1.ScreenEvents; import net.fabricmc.fabric.api.resource.ResourceManagerHelper; import net.fabricmc.fabric.api.resource.ResourcePackActivationType; @@ -14,8 +12,6 @@ import net.fyoncle.elysiumdaystweaks.utility.other.Ram; import net.fyoncle.elysiumdaystweaks.utility.other.ServiceLoaders; import net.fyoncle.elysiumdaystweaks.utility.other.VersionChecking; -import net.minecraft.client.MinecraftClient; -import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.screen.TitleScreen; import net.minecraft.text.Text; import net.minecraft.util.Identifier; diff --git a/src/main/java/net/fyoncle/elysiumdaystweaks/custommenus/RamWarningMenu.java b/src/main/java/net/fyoncle/elysiumdaystweaks/custommenus/RamWarningMenu.java index 523f3ca..624f73c 100644 --- a/src/main/java/net/fyoncle/elysiumdaystweaks/custommenus/RamWarningMenu.java +++ b/src/main/java/net/fyoncle/elysiumdaystweaks/custommenus/RamWarningMenu.java @@ -1,7 +1,6 @@ package net.fyoncle.elysiumdaystweaks.custommenus; import net.fyoncle.elysiumdaystweaks.ElysiumDaysTweaks; -import net.fyoncle.elysiumdaystweaks.customwidgets.HoverableButton; import net.fyoncle.elysiumdaystweaks.customwidgets.HoverableTextButton; import net.fyoncle.elysiumdaystweaks.utility.constants.Constants; import net.fyoncle.elysiumdaystweaks.utility.constants.Textures; @@ -9,7 +8,6 @@ import net.minecraft.client.font.MultilineText; import net.minecraft.client.gui.DrawContext; import net.minecraft.client.gui.screen.Screen; -import net.minecraft.client.gui.screen.TitleScreen; import net.minecraft.text.Text; import net.minecraft.util.Colors; import net.minecraft.util.Util; diff --git a/src/main/java/net/fyoncle/elysiumdaystweaks/mixin/PanoramaOverlayMixin.java b/src/main/java/net/fyoncle/elysiumdaystweaks/mixin/PanoramaOverlayMixin.java index 35db407..ff46ba8 100644 --- a/src/main/java/net/fyoncle/elysiumdaystweaks/mixin/PanoramaOverlayMixin.java +++ b/src/main/java/net/fyoncle/elysiumdaystweaks/mixin/PanoramaOverlayMixin.java @@ -2,7 +2,6 @@ import net.fyoncle.elysiumdaystweaks.utility.constants.Textures; import net.fyoncle.elysiumdaystweaks.utility.other.HolidayChecker; -import net.minecraft.client.gui.CubeMapRenderer; import net.minecraft.client.gui.RotatingCubeMapRenderer; import net.minecraft.util.Identifier; import org.spongepowered.asm.mixin.Final; diff --git a/src/main/java/net/fyoncle/elysiumdaystweaks/mixin/ResourcePackLock.java b/src/main/java/net/fyoncle/elysiumdaystweaks/mixin/ResourcePackLock.java index 844f56f..50a1195 100644 --- a/src/main/java/net/fyoncle/elysiumdaystweaks/mixin/ResourcePackLock.java +++ b/src/main/java/net/fyoncle/elysiumdaystweaks/mixin/ResourcePackLock.java @@ -1,7 +1,6 @@ package net.fyoncle.elysiumdaystweaks.mixin; import net.minecraft.resource.ResourcePackInfo; -import net.minecraft.resource.ResourcePackPosition; import net.minecraft.resource.ResourcePackProfile; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin;