From 5b6b00511b80f7b93f3fd96c2661675e1d251e12 Mon Sep 17 00:00:00 2001 From: NK Date: Wed, 8 Mar 2023 12:08:12 +0000 Subject: [PATCH] better file locations --- .../java/me/night0721/lilase/features/flipper/Flipper.java | 1 + src/main/java/me/night0721/lilase/features/sniper/Sniper.java | 1 + .../me/night0721/lilase/{utils => player}/EffectState.java | 2 +- .../java/me/night0721/lilase/{utils => player}/Rotation.java | 3 ++- src/main/java/me/night0721/lilase/utils/Utils.java | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) rename src/main/java/me/night0721/lilase/{utils => player}/EffectState.java (61%) rename src/main/java/me/night0721/lilase/{utils => player}/Rotation.java (97%) diff --git a/src/main/java/me/night0721/lilase/features/flipper/Flipper.java b/src/main/java/me/night0721/lilase/features/flipper/Flipper.java index 4396cb0..6cca096 100644 --- a/src/main/java/me/night0721/lilase/features/flipper/Flipper.java +++ b/src/main/java/me/night0721/lilase/features/flipper/Flipper.java @@ -4,6 +4,7 @@ import com.google.gson.JsonObject; import com.google.gson.JsonParser; import me.night0721.lilase.Lilase; import me.night0721.lilase.events.SniperFlipperEvents; +import me.night0721.lilase.player.Rotation; import me.night0721.lilase.utils.*; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityArmorStand; diff --git a/src/main/java/me/night0721/lilase/features/sniper/Sniper.java b/src/main/java/me/night0721/lilase/features/sniper/Sniper.java index 8d81fb6..a76e521 100644 --- a/src/main/java/me/night0721/lilase/features/sniper/Sniper.java +++ b/src/main/java/me/night0721/lilase/features/sniper/Sniper.java @@ -7,6 +7,7 @@ import me.night0721.lilase.Lilase; import me.night0721.lilase.config.ConfigUtils; import me.night0721.lilase.features.flipper.Flipper; import me.night0721.lilase.features.flipper.FlipperState; +import me.night0721.lilase.player.EffectState; import me.night0721.lilase.utils.*; import javax.net.ssl.HttpsURLConnection; diff --git a/src/main/java/me/night0721/lilase/utils/EffectState.java b/src/main/java/me/night0721/lilase/player/EffectState.java similarity index 61% rename from src/main/java/me/night0721/lilase/utils/EffectState.java rename to src/main/java/me/night0721/lilase/player/EffectState.java index 2e493eb..b7ffcf8 100644 --- a/src/main/java/me/night0721/lilase/utils/EffectState.java +++ b/src/main/java/me/night0721/lilase/player/EffectState.java @@ -1,4 +1,4 @@ -package me.night0721.lilase.utils; +package me.night0721.lilase.player; public enum EffectState { ON, OFF, INDETERMINABLE diff --git a/src/main/java/me/night0721/lilase/utils/Rotation.java b/src/main/java/me/night0721/lilase/player/Rotation.java similarity index 97% rename from src/main/java/me/night0721/lilase/utils/Rotation.java rename to src/main/java/me/night0721/lilase/player/Rotation.java index 073ad3d..a8a04ad 100644 --- a/src/main/java/me/night0721/lilase/utils/Rotation.java +++ b/src/main/java/me/night0721/lilase/player/Rotation.java @@ -1,5 +1,6 @@ -package me.night0721.lilase.utils; +package me.night0721.lilase.player; +import me.night0721.lilase.utils.AngleUtils; import net.minecraft.client.Minecraft; import org.apache.commons.lang3.tuple.MutablePair; diff --git a/src/main/java/me/night0721/lilase/utils/Utils.java b/src/main/java/me/night0721/lilase/utils/Utils.java index c3c71dd..1b7d03f 100644 --- a/src/main/java/me/night0721/lilase/utils/Utils.java +++ b/src/main/java/me/night0721/lilase/utils/Utils.java @@ -1,6 +1,7 @@ package me.night0721.lilase.utils; import me.night0721.lilase.Lilase; +import me.night0721.lilase.player.EffectState; import net.minecraft.network.play.server.S45PacketTitle; import net.minecraft.util.ChatComponentText; import net.minecraft.util.EnumChatFormatting;