diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/OneConfig.java (renamed from src/main/java/io/polyfrost/oneconfig/OneConfig.java) | 24 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/command/OneConfigCommand.java (renamed from src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java) | 10 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/OneConfigConfig.java (renamed from src/main/java/io/polyfrost/oneconfig/config/OneConfigConfig.java) | 6 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/annotations/ConfigPage.java (renamed from src/main/java/io/polyfrost/oneconfig/config/annotations/ConfigPage.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/annotations/Option.java (renamed from src/main/java/io/polyfrost/oneconfig/config/annotations/Option.java) | 6 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/core/ConfigCore.java (renamed from src/main/java/io/polyfrost/oneconfig/config/core/ConfigCore.java) | 6 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/data/InfoType.java (renamed from src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/data/Mod.java (renamed from src/main/java/io/polyfrost/oneconfig/config/data/Mod.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/data/ModType.java (renamed from src/main/java/io/polyfrost/oneconfig/config/data/ModType.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/data/OptionCategory.java (renamed from src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java) | 6 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/data/OptionPage.java (renamed from src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/data/OptionType.java (renamed from src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/data/PageLocation.java (renamed from src/main/java/io/polyfrost/oneconfig/config/data/PageLocation.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/interfaces/BasicOption.java (renamed from src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java (renamed from src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java) | 22 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapter.java (renamed from src/main/java/io/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapter.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapterFactory.java (renamed from src/main/java/io/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapterFactory.java) | 6 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/interfaces/Size.java (renamed from src/main/java/io/polyfrost/oneconfig/config/interfaces/Size.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/profiles/Profiles.java (renamed from src/main/java/io/polyfrost/oneconfig/config/profiles/Profiles.java) | 8 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/HudGui.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/HudGui.java) | 8 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/OneConfigGui.java) | 33 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/SideBar.java) | 18 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/BasicButton.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/BasicButton.java) | 20 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/BasicElement.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/BasicElement.java) | 8 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/ColorSelector.java) | 8 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java) | 24 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/SearchField.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/SearchField.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/TextInputField.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/TextInputField.java) | 16 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigCheckbox.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigCheckbox.java) | 18 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigColorElement.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigColorElement.java) | 24 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigDropdown.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigDropdown.java) | 18 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigDualOption.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigDualOption.java) | 16 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java) | 24 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java) | 22 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSwitch.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigSwitch.java) | 18 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigTextBox.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigTextBox.java) | 18 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigUniSelector.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigUniSelector.java) | 20 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/pages/HomePage.java) | 12 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/pages/ModConfigPage.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java) | 16 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/pages/ModsPage.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java) | 18 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/pages/Page.java (renamed from src/main/java/io/polyfrost/oneconfig/gui/pages/Page.java) | 5 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/hud/HudCore.java (renamed from src/main/java/io/polyfrost/oneconfig/hud/HudCore.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/hud/interfaces/BasicHud.java (renamed from src/main/java/io/polyfrost/oneconfig/hud/interfaces/BasicHud.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/hud/interfaces/TextHud.java (renamed from src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/BlurHandler.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/BlurHandler.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/IOUtil.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/IOUtil.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/RenderManager.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/RenderManager.java) | 18 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/Scissor.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/ScissorManager.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/ScissorManager.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Font.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/font/Font.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/font/FontManager.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/font/FontManager.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/font/Fonts.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Image.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/image/Image.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/image/ImageLoader.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/image/Images.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/plugin/ClassTransformer.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/plugin/ClassTransformer.java) | 6 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/plugin/LoadingPlugin.java (renamed from src/main/java/io/polyfrost/oneconfig/lwjgl/plugin/LoadingPlugin.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java (renamed from src/main/java/io/polyfrost/oneconfig/test/TestConfig.java) | 18 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestHud.java (renamed from src/main/java/io/polyfrost/oneconfig/test/TestHud.java) | 6 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestNanoVGGui.java (renamed from src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestPage.java (renamed from src/main/java/io/polyfrost/oneconfig/test/TestPage.java) | 6 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/utils/ColorUtils.java (renamed from src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/utils/InputUtils.java (renamed from src/main/java/io/polyfrost/oneconfig/utils/InputUtils.java) | 4 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/utils/MathUtils.java (renamed from src/main/java/io/polyfrost/oneconfig/utils/MathUtils.java) | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/utils/TickDelay.java (renamed from src/main/java/io/polyfrost/oneconfig/utils/TickDelay.java) | 2 |
66 files changed, 295 insertions, 303 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/OneConfig.java b/src/main/java/cc/polyfrost/oneconfig/OneConfig.java index dedf6b8..2dcb8fe 100644 --- a/src/main/java/io/polyfrost/oneconfig/OneConfig.java +++ b/src/main/java/cc/polyfrost/oneconfig/OneConfig.java @@ -1,16 +1,16 @@ -package io.polyfrost.oneconfig; +package cc.polyfrost.oneconfig; -import io.polyfrost.oneconfig.command.OneConfigCommand; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.core.ConfigCore; -import io.polyfrost.oneconfig.config.data.Mod; -import io.polyfrost.oneconfig.config.data.ModType; -import io.polyfrost.oneconfig.hud.HudCore; -import io.polyfrost.oneconfig.lwjgl.BlurHandler; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.test.TestConfig; +import cc.polyfrost.oneconfig.command.OneConfigCommand; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.core.ConfigCore; +import cc.polyfrost.oneconfig.config.data.Mod; +import cc.polyfrost.oneconfig.config.data.ModType; +import cc.polyfrost.oneconfig.lwjgl.BlurHandler; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.hud.HudCore; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.test.TestConfig; import net.minecraft.client.Minecraft; import net.minecraftforge.client.ClientCommandHandler; import net.minecraftforge.common.MinecraftForge; diff --git a/src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java b/src/main/java/cc/polyfrost/oneconfig/command/OneConfigCommand.java index f792ee7..35d099c 100644 --- a/src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java +++ b/src/main/java/cc/polyfrost/oneconfig/command/OneConfigCommand.java @@ -1,9 +1,9 @@ -package io.polyfrost.oneconfig.command; +package cc.polyfrost.oneconfig.command; -import io.polyfrost.oneconfig.gui.HudGui; -import io.polyfrost.oneconfig.gui.OneConfigGui; -import io.polyfrost.oneconfig.test.TestNanoVGGui; -import io.polyfrost.oneconfig.utils.TickDelay; +import cc.polyfrost.oneconfig.gui.OneConfigGui; +import cc.polyfrost.oneconfig.gui.HudGui; +import cc.polyfrost.oneconfig.test.TestNanoVGGui; +import cc.polyfrost.oneconfig.utils.TickDelay; import net.minecraft.client.Minecraft; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; diff --git a/src/main/java/io/polyfrost/oneconfig/config/OneConfigConfig.java b/src/main/java/cc/polyfrost/oneconfig/config/OneConfigConfig.java index a772a23..73f5821 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/OneConfigConfig.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/OneConfigConfig.java @@ -1,8 +1,8 @@ -package io.polyfrost.oneconfig.config; +package cc.polyfrost.oneconfig.config; +import cc.polyfrost.oneconfig.config.interfaces.Config; import com.google.gson.JsonParser; -import io.polyfrost.oneconfig.config.data.Mod; -import io.polyfrost.oneconfig.config.interfaces.Config; +import cc.polyfrost.oneconfig.config.data.Mod; import java.awt.*; import java.io.*; diff --git a/src/main/java/io/polyfrost/oneconfig/config/annotations/ConfigPage.java b/src/main/java/cc/polyfrost/oneconfig/config/annotations/ConfigPage.java index c0a4169..f9d7c19 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/annotations/ConfigPage.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/annotations/ConfigPage.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.config.annotations; +package cc.polyfrost.oneconfig.config.annotations; -import io.polyfrost.oneconfig.config.data.PageLocation; +import cc.polyfrost.oneconfig.config.data.PageLocation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/main/java/io/polyfrost/oneconfig/config/annotations/Option.java b/src/main/java/cc/polyfrost/oneconfig/config/annotations/Option.java index 9955c17..d5e9fc7 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/annotations/Option.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/annotations/Option.java @@ -1,7 +1,7 @@ -package io.polyfrost.oneconfig.config.annotations; +package cc.polyfrost.oneconfig.config.annotations; -import io.polyfrost.oneconfig.config.data.InfoType; -import io.polyfrost.oneconfig.config.data.OptionType; +import cc.polyfrost.oneconfig.config.data.InfoType; +import cc.polyfrost.oneconfig.config.data.OptionType; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/main/java/io/polyfrost/oneconfig/config/core/ConfigCore.java b/src/main/java/cc/polyfrost/oneconfig/config/core/ConfigCore.java index 6cce197..a000f7c 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/core/ConfigCore.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/core/ConfigCore.java @@ -1,7 +1,7 @@ -package io.polyfrost.oneconfig.config.core; +package cc.polyfrost.oneconfig.config.core; -import io.polyfrost.oneconfig.config.data.Mod; -import io.polyfrost.oneconfig.hud.HudCore; +import cc.polyfrost.oneconfig.config.data.Mod; +import cc.polyfrost.oneconfig.hud.HudCore; import java.util.ArrayList; diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java b/src/main/java/cc/polyfrost/oneconfig/config/data/InfoType.java index 1b96161..1c436d6 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/data/InfoType.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.data; +package cc.polyfrost.oneconfig.config.data; public enum InfoType { INFO, diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java b/src/main/java/cc/polyfrost/oneconfig/config/data/Mod.java index 095dded..3ddb68b 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/data/Mod.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.config.data; +package cc.polyfrost.oneconfig.config.data; -import io.polyfrost.oneconfig.config.interfaces.Config; +import cc.polyfrost.oneconfig.config.interfaces.Config; public class Mod { public final String name; diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/ModType.java b/src/main/java/cc/polyfrost/oneconfig/config/data/ModType.java index 9769584..cbb4568 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/data/ModType.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/data/ModType.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.data; +package cc.polyfrost.oneconfig.config.data; public enum ModType { PVP, diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java b/src/main/java/cc/polyfrost/oneconfig/config/data/OptionCategory.java index a3752bb..14111f4 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/data/OptionCategory.java @@ -1,7 +1,7 @@ -package io.polyfrost.oneconfig.config.data; +package cc.polyfrost.oneconfig.config.data; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.gui.elements.config.ConfigPageButton; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.gui.elements.config.ConfigPageButton; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java b/src/main/java/cc/polyfrost/oneconfig/config/data/OptionPage.java index 8103404..32a07b9 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/data/OptionPage.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.data; +package cc.polyfrost.oneconfig.config.data; import java.util.LinkedHashMap; diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java b/src/main/java/cc/polyfrost/oneconfig/config/data/OptionType.java index 2a6fce4..99dfb8b 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/data/OptionType.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.data; +package cc.polyfrost.oneconfig.config.data; public enum OptionType { /** diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/PageLocation.java b/src/main/java/cc/polyfrost/oneconfig/config/data/PageLocation.java index 9fe0c91..c66151d 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/data/PageLocation.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/data/PageLocation.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.data; +package cc.polyfrost.oneconfig.config.data; public enum PageLocation { TOP, diff --git a/src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/BasicOption.java index 7b9a807..2bf2d13 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/BasicOption.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.interfaces; +package cc.polyfrost.oneconfig.config.interfaces; import java.lang.reflect.Field; diff --git a/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java index cbba2e0..bad3f14 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java @@ -1,16 +1,16 @@ -package io.polyfrost.oneconfig.config.interfaces; +package cc.polyfrost.oneconfig.config.interfaces; +import cc.polyfrost.oneconfig.gui.elements.config.*; import com.google.gson.*; -import io.polyfrost.oneconfig.config.annotations.ConfigPage; -import io.polyfrost.oneconfig.config.annotations.Option; -import io.polyfrost.oneconfig.config.core.ConfigCore; -import io.polyfrost.oneconfig.config.data.Mod; -import io.polyfrost.oneconfig.config.data.OptionCategory; -import io.polyfrost.oneconfig.config.data.OptionPage; -import io.polyfrost.oneconfig.config.profiles.Profiles; -import io.polyfrost.oneconfig.gui.OneConfigGui; -import io.polyfrost.oneconfig.gui.elements.config.*; -import io.polyfrost.oneconfig.gui.pages.ModConfigPage; +import cc.polyfrost.oneconfig.config.annotations.ConfigPage; +import cc.polyfrost.oneconfig.config.annotations.Option; +import cc.polyfrost.oneconfig.config.core.ConfigCore; +import cc.polyfrost.oneconfig.config.data.Mod; +import cc.polyfrost.oneconfig.config.data.OptionCategory; +import cc.polyfrost.oneconfig.config.data.OptionPage; +import cc.polyfrost.oneconfig.config.profiles.Profiles; +import cc.polyfrost.oneconfig.gui.OneConfigGui; +import cc.polyfrost.oneconfig.gui.pages.ModConfigPage; import net.minecraft.client.Minecraft; import java.io.*; diff --git a/src/main/java/io/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapter.java b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapter.java index 7754820..3368a7f 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapter.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapter.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.interfaces; +package cc.polyfrost.oneconfig.config.interfaces; import com.google.gson.Gson; import com.google.gson.JsonElement; diff --git a/src/main/java/io/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapterFactory.java b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapterFactory.java index af57163..d310f2c 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapterFactory.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/OneConfigTypeAdapterFactory.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.interfaces; +package cc.polyfrost.oneconfig.config.interfaces; import com.google.gson.Gson; import com.google.gson.TypeAdapter; @@ -7,8 +7,6 @@ import com.google.gson.reflect.TypeToken; import java.lang.reflect.Type; -import static io.polyfrost.oneconfig.config.interfaces.OneConfigTypeAdapter.getStaticTypeAdapter; - public class OneConfigTypeAdapterFactory implements TypeAdapterFactory { private static final TypeAdapterFactory staticTypeAdapterFactory = new OneConfigTypeAdapterFactory(); @@ -21,7 +19,7 @@ public class OneConfigTypeAdapterFactory implements TypeAdapterFactory { public <T> TypeAdapter<T> create(final Gson gson, final TypeToken<T> typeToken) { final Type type = typeToken.getType(); if (type.equals(Class.class)) { - @SuppressWarnings("unchecked") final TypeAdapter<T> castStaticTypeAdapter = (TypeAdapter<T>) getStaticTypeAdapter(gson); + @SuppressWarnings("unchecked") final TypeAdapter<T> castStaticTypeAdapter = (TypeAdapter<T>) OneConfigTypeAdapter.getStaticTypeAdapter(gson); return castStaticTypeAdapter; } return null; diff --git a/src/main/java/io/polyfrost/oneconfig/config/interfaces/Size.java b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Size.java index 4802ec5..137e3fd 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/Size.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Size.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.config.interfaces; +package cc.polyfrost.oneconfig.config.interfaces; public enum Size { SINGLE_COLUMN, // A single column, 480x32 diff --git a/src/main/java/io/polyfrost/oneconfig/config/profiles/Profiles.java b/src/main/java/cc/polyfrost/oneconfig/config/profiles/Profiles.java index 45d448d..4eafd6d 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/profiles/Profiles.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/profiles/Profiles.java @@ -1,8 +1,8 @@ -package io.polyfrost.oneconfig.config.profiles; +package cc.polyfrost.oneconfig.config.profiles; -import io.polyfrost.oneconfig.OneConfig; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.core.ConfigCore; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.OneConfig; +import cc.polyfrost.oneconfig.config.core.ConfigCore; import org.apache.commons.io.FileUtils; import java.io.File; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/HudGui.java b/src/main/java/cc/polyfrost/oneconfig/gui/HudGui.java index 32e401b..c3437fa 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/HudGui.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/HudGui.java @@ -1,8 +1,8 @@ -package io.polyfrost.oneconfig.gui; +package cc.polyfrost.oneconfig.gui; -import io.polyfrost.oneconfig.hud.HudCore; -import io.polyfrost.oneconfig.hud.interfaces.BasicHud; -import io.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.hud.HudCore; +import cc.polyfrost.oneconfig.hud.interfaces.BasicHud; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiScreen; import org.lwjgl.input.Keyboard; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/OneConfigGui.java b/src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java index 3377f19..72cd8c0 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/OneConfigGui.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/OneConfigGui.java @@ -1,18 +1,18 @@ -package io.polyfrost.oneconfig.gui; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.gui.elements.BasicElement; -import io.polyfrost.oneconfig.gui.elements.ColorSelector; -import io.polyfrost.oneconfig.gui.elements.TextInputField; -import io.polyfrost.oneconfig.gui.pages.HomePage; -import io.polyfrost.oneconfig.gui.pages.Page; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.Scissor; -import io.polyfrost.oneconfig.lwjgl.ScissorManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.InputUtils; -import io.polyfrost.oneconfig.utils.MathUtils; +package cc.polyfrost.oneconfig.gui; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.gui.elements.BasicElement; +import cc.polyfrost.oneconfig.gui.elements.ColorSelector; +import cc.polyfrost.oneconfig.gui.elements.TextInputField; +import cc.polyfrost.oneconfig.gui.pages.HomePage; +import cc.polyfrost.oneconfig.gui.pages.Page; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.Scissor; +import cc.polyfrost.oneconfig.lwjgl.ScissorManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.utils.MathUtils; import net.minecraft.client.gui.GuiScreen; import org.jetbrains.annotations.NotNull; import org.lwjgl.input.Keyboard; @@ -22,9 +22,6 @@ import org.lwjgl.nanovg.NanoVG; import java.awt.*; import java.util.ArrayList; -import static org.lwjgl.nanovg.NanoVG.nvgResetScissor; -import static org.lwjgl.nanovg.NanoVG.nvgScissor; - public class OneConfigGui extends GuiScreen { public static OneConfigGui INSTANCE; public final int x = 320; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/SideBar.java b/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java index 195e398..73f46f7 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/SideBar.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/SideBar.java @@ -1,13 +1,13 @@ -package io.polyfrost.oneconfig.gui; +package cc.polyfrost.oneconfig.gui; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.gui.elements.BasicButton; -import io.polyfrost.oneconfig.gui.pages.HomePage; -import io.polyfrost.oneconfig.gui.pages.ModsPage; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.MathUtils; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.gui.elements.BasicButton; +import cc.polyfrost.oneconfig.gui.pages.HomePage; +import cc.polyfrost.oneconfig.gui.pages.ModsPage; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.MathUtils; import net.minecraft.client.Minecraft; import java.util.ArrayList; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/BasicButton.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/BasicButton.java index 716ef1e..faf0b07 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/BasicButton.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/BasicButton.java @@ -1,12 +1,12 @@ -package io.polyfrost.oneconfig.gui.elements; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.gui.OneConfigGui; -import io.polyfrost.oneconfig.gui.pages.Page; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.ColorUtils; +package cc.polyfrost.oneconfig.gui.elements; + +import cc.polyfrost.oneconfig.gui.OneConfigGui; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.gui.pages.Page; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.ColorUtils; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -31,7 +31,7 @@ public class BasicButton extends BasicElement { * @param text Text to display on the button. Has to be there. * @param fileNameLeftIco file path of the icon to display on the left. Can be null if you don't want to display an icon on the left. * @param fileNameRightIco file path of the icon to display on the right. Can be null if you don't want to display an icon on the right. - * @param colorPalette color palette to use. see {@link io.polyfrost.oneconfig.utils.ColorUtils} for more info. Can support color palette of -2, which is larger font and icons. Also supports -3, which is just the text changing color. + * @param colorPalette color palette to use. see {@link ColorUtils} for more info. Can support color palette of -2, which is larger font and icons. Also supports -3, which is just the text changing color. * @param alignment alignment of the button. ALIGNMENT_LEFT or ALIGNMENT_CENTER. */ public BasicButton(int width, int height, @NotNull String text, @Nullable Images fileNameLeftIco, @Nullable Images fileNameRightIco, int colorPalette, int alignment) { diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/BasicElement.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/BasicElement.java index dd3956c..80eec9b 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/BasicElement.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/BasicElement.java @@ -1,8 +1,8 @@ -package io.polyfrost.oneconfig.gui.elements; +package cc.polyfrost.oneconfig.gui.elements; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.utils.ColorUtils; -import io.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.utils.ColorUtils; +import cc.polyfrost.oneconfig.utils.InputUtils; public class BasicElement { protected int width, height; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/ColorSelector.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java index bcf4754..83d0f7c 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/ColorSelector.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ColorSelector.java @@ -1,8 +1,8 @@ -package io.polyfrost.oneconfig.gui.elements; +package cc.polyfrost.oneconfig.gui.elements; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.utils.InputUtils; import org.lwjgl.input.Mouse; import java.awt.*; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java index 90a3910..4fe1524 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java @@ -1,16 +1,16 @@ -package io.polyfrost.oneconfig.gui.elements; +package cc.polyfrost.oneconfig.gui.elements; -import io.polyfrost.oneconfig.OneConfig; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.data.Mod; -import io.polyfrost.oneconfig.config.data.ModType; -import io.polyfrost.oneconfig.gui.OneConfigGui; -import io.polyfrost.oneconfig.gui.pages.ModConfigPage; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.ColorUtils; -import io.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.OneConfig; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.data.Mod; +import cc.polyfrost.oneconfig.config.data.ModType; +import cc.polyfrost.oneconfig.gui.OneConfigGui; +import cc.polyfrost.oneconfig.gui.pages.ModConfigPage; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.ColorUtils; +import cc.polyfrost.oneconfig.utils.InputUtils; import net.minecraft.client.Minecraft; import net.minecraft.command.CommandException; import net.minecraftforge.client.ClientCommandHandler; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/SearchField.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/SearchField.java index 641f5fd..6f460d6 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/SearchField.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/SearchField.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.gui.elements; +package cc.polyfrost.oneconfig.gui.elements; public class SearchField extends TextInputField { diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/TextInputField.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/TextInputField.java index 1e33008..3058643 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/TextInputField.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/TextInputField.java @@ -1,11 +1,11 @@ -package io.polyfrost.oneconfig.gui.elements; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.Scissor; -import io.polyfrost.oneconfig.lwjgl.ScissorManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.utils.InputUtils; +package cc.polyfrost.oneconfig.gui.elements; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.Scissor; +import cc.polyfrost.oneconfig.lwjgl.ScissorManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.utils.InputUtils; import net.minecraft.client.gui.GuiScreen; import net.minecraft.util.ChatAllowedCharacters; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigCheckbox.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigCheckbox.java index bd268cb..990ce07 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigCheckbox.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigCheckbox.java @@ -1,13 +1,13 @@ -package io.polyfrost.oneconfig.gui.elements.config; +package cc.polyfrost.oneconfig.gui.elements.config; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.ColorUtils; -import io.polyfrost.oneconfig.utils.InputUtils; -import io.polyfrost.oneconfig.utils.MathUtils; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.ColorUtils; +import cc.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.utils.MathUtils; import java.awt.*; import java.lang.reflect.Field; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigColorElement.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigColorElement.java index 3525ab6..2c89133 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigColorElement.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigColorElement.java @@ -1,15 +1,15 @@ -package io.polyfrost.oneconfig.gui.elements.config; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.gui.OneConfigGui; -import io.polyfrost.oneconfig.gui.elements.BasicElement; -import io.polyfrost.oneconfig.gui.elements.ColorSelector; -import io.polyfrost.oneconfig.gui.elements.TextInputField; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.InputUtils; +package cc.polyfrost.oneconfig.gui.elements.config; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.gui.OneConfigGui; +import cc.polyfrost.oneconfig.gui.elements.BasicElement; +import cc.polyfrost.oneconfig.gui.elements.ColorSelector; +import cc.polyfrost.oneconfig.gui.elements.TextInputField; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.InputUtils; import java.awt.*; import java.lang.reflect.Field; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigDropdown.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigDropdown.java index c3d1369..c867409 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigDropdown.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigDropdown.java @@ -1,12 +1,12 @@ -package io.polyfrost.oneconfig.gui.elements.config; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.ColorUtils; -import io.polyfrost.oneconfig.utils.InputUtils; +package cc.polyfrost.oneconfig.gui.elements.config; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.ColorUtils; +import cc.polyfrost.oneconfig.utils.InputUtils; import org.lwjgl.input.Mouse; import org.lwjgl.nanovg.NanoVG; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigDualOption.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigDualOption.java index 46f86e9..ed908b6 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigDualOption.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigDualOption.java @@ -1,11 +1,11 @@ -package io.polyfrost.oneconfig.gui.elements.config; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.utils.InputUtils; -import io.polyfrost.oneconfig.utils.MathUtils; +package cc.polyfrost.oneconfig.gui.elements.config; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.utils.MathUtils; import java.lang.reflect.Field; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java index fd46bc8..81e1dd0 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigPageButton.java @@ -1,15 +1,15 @@ -package io.polyfrost.oneconfig.gui.elements.config; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.data.OptionPage; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.gui.OneConfigGui; -import io.polyfrost.oneconfig.gui.pages.ModConfigPage; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.ColorUtils; -import io.polyfrost.oneconfig.utils.InputUtils; +package cc.polyfrost.oneconfig.gui.elements.config; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.data.OptionPage; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.gui.OneConfigGui; +import cc.polyfrost.oneconfig.gui.pages.ModConfigPage; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.ColorUtils; +import cc.polyfrost.oneconfig.utils.InputUtils; import org.lwjgl.input.Mouse; import org.lwjgl.nanovg.NanoVG; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java index ded546a..69cb887 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSlider.java @@ -1,15 +1,15 @@ -package io.polyfrost.oneconfig.gui.elements.config; +package cc.polyfrost.oneconfig.gui.elements.config; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.gui.elements.BasicElement; -import io.polyfrost.oneconfig.gui.elements.TextInputField; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.ColorUtils; -import io.polyfrost.oneconfig.utils.InputUtils; -import io.polyfrost.oneconfig.utils.MathUtils; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.ColorUtils; +import cc.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.utils.MathUtils; +import cc.polyfrost.oneconfig.gui.elements.BasicElement; +import cc.polyfrost.oneconfig.gui.elements.TextInputField; import org.lwjgl.input.Mouse; import org.lwjgl.nanovg.NanoVG; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigSwitch.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSwitch.java index daf3de3..01e2f14 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigSwitch.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigSwitch.java @@ -1,12 +1,12 @@ -package io.polyfrost.oneconfig.gui.elements.config; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.utils.ColorUtils; -import io.polyfrost.oneconfig.utils.InputUtils; -import io.polyfrost.oneconfig.utils.MathUtils; +package cc.polyfrost.oneconfig.gui.elements.config; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.utils.ColorUtils; +import cc.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.utils.MathUtils; import java.lang.reflect.Field; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigTextBox.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigTextBox.java index 8cd7565..94ed127 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigTextBox.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigTextBox.java @@ -1,12 +1,12 @@ -package io.polyfrost.oneconfig.gui.elements.config; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.gui.elements.TextInputField; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.InputUtils; +package cc.polyfrost.oneconfig.gui.elements.config; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.gui.elements.TextInputField; import java.awt.*; import java.lang.reflect.Field; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigUniSelector.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigUniSelector.java index ff7616e..0623f1e 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/elements/config/ConfigUniSelector.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/config/ConfigUniSelector.java @@ -1,14 +1,14 @@ -package io.polyfrost.oneconfig.gui.elements.config; +package cc.polyfrost.oneconfig.gui.elements.config; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.Scissor; -import io.polyfrost.oneconfig.lwjgl.ScissorManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; -import io.polyfrost.oneconfig.utils.InputUtils; -import io.polyfrost.oneconfig.utils.MathUtils; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.Scissor; +import cc.polyfrost.oneconfig.lwjgl.ScissorManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.utils.InputUtils; +import cc.polyfrost.oneconfig.utils.MathUtils; import org.lwjgl.nanovg.NanoVG; import java.lang.reflect.Field; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/pages/HomePage.java b/src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java index 9d71527..83e095c 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/pages/HomePage.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java @@ -1,10 +1,10 @@ -package io.polyfrost.oneconfig.gui.pages; +package cc.polyfrost.oneconfig.gui.pages; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.gui.elements.BasicButton; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Images; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.gui.elements.BasicButton; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Images; public class HomePage extends Page { private final BasicButton btn = new BasicButton(184, 36, "Socials", Images.SHARE, Images.LAUNCH, 1, BasicButton.ALIGNMENT_CENTER); diff --git a/src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java b/src/main/java/cc/polyfrost/oneconfig/gui/pages/ModConfigPage.java index 1287f67..f335e4d 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/pages/ModConfigPage.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/pages/ModConfigPage.java @@ -1,12 +1,12 @@ -package io.polyfrost.oneconfig.gui.pages; +package cc.polyfrost.oneconfig.gui.pages; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.data.OptionPage; -import io.polyfrost.oneconfig.config.interfaces.BasicOption; -import io.polyfrost.oneconfig.gui.elements.BasicButton; -import io.polyfrost.oneconfig.gui.elements.config.ConfigPageButton; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.data.OptionPage; +import cc.polyfrost.oneconfig.config.interfaces.BasicOption; +import cc.polyfrost.oneconfig.gui.elements.BasicButton; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.gui.elements.config.ConfigPageButton; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; import java.util.ArrayList; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java b/src/main/java/cc/polyfrost/oneconfig/gui/pages/ModsPage.java index 2db82cc..bb9cbd6 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/pages/ModsPage.java @@ -1,13 +1,13 @@ -package io.polyfrost.oneconfig.gui.pages; +package cc.polyfrost.oneconfig.gui.pages; -import io.polyfrost.oneconfig.OneConfig; -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.config.data.Mod; -import io.polyfrost.oneconfig.config.data.ModType; -import io.polyfrost.oneconfig.gui.elements.BasicButton; -import io.polyfrost.oneconfig.gui.elements.ModCard; -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.OneConfig; +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.data.Mod; +import cc.polyfrost.oneconfig.config.data.ModType; +import cc.polyfrost.oneconfig.gui.elements.BasicButton; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.gui.elements.ModCard; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/io/polyfrost/oneconfig/gui/pages/Page.java b/src/main/java/cc/polyfrost/oneconfig/gui/pages/Page.java index 91d0efd..ba31fa8 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/pages/Page.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/pages/Page.java @@ -1,7 +1,4 @@ -package io.polyfrost.oneconfig.gui.pages; - -import io.polyfrost.oneconfig.lwjgl.RenderManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; +package cc.polyfrost.oneconfig.gui.pages; /** * A page is a 1056x728 rectangle of the GUI. It is the main content of the gui, and can be switched back and forwards easily. All the content of OneConfig is in a page. diff --git a/src/main/java/io/polyfrost/oneconfig/hud/HudCore.java b/src/main/java/cc/polyfrost/oneconfig/hud/HudCore.java index a4172a2..072ba70 100644 --- a/src/main/java/io/polyfrost/oneconfig/hud/HudCore.java +++ b/src/main/java/cc/polyfrost/oneconfig/hud/HudCore.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.hud; +package cc.polyfrost.oneconfig.hud; -import io.polyfrost.oneconfig.hud.interfaces.BasicHud; +import cc.polyfrost.oneconfig.hud.interfaces.BasicHud; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; import net.minecraftforge.client.event.RenderGameOverlayEvent; diff --git a/src/main/java/io/polyfrost/oneconfig/hud/interfaces/BasicHud.java b/src/main/java/cc/polyfrost/oneconfig/hud/interfaces/BasicHud.java index e9e3a59..e87b33d 100644 --- a/src/main/java/io/polyfrost/oneconfig/hud/interfaces/BasicHud.java +++ b/src/main/java/cc/polyfrost/oneconfig/hud/interfaces/BasicHud.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.hud.interfaces; +package cc.polyfrost.oneconfig.hud.interfaces; -import io.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; import java.awt.*; diff --git a/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java b/src/main/java/cc/polyfrost/oneconfig/hud/interfaces/TextHud.java index 299e7b8..0027786 100644 --- a/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java +++ b/src/main/java/cc/polyfrost/oneconfig/hud/interfaces/TextHud.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.hud.interfaces; +package cc.polyfrost.oneconfig.hud.interfaces; -import io.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/BlurHandler.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/BlurHandler.java index 86e4e20..914c483 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/BlurHandler.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/BlurHandler.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.lwjgl; +package cc.polyfrost.oneconfig.lwjgl; -import io.polyfrost.oneconfig.gui.OneConfigGui; +import cc.polyfrost.oneconfig.gui.OneConfigGui; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.renderer.EntityRenderer; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/IOUtil.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/IOUtil.java index 63026e6..1394239 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/IOUtil.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/IOUtil.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl; +package cc.polyfrost.oneconfig.lwjgl; import org.apache.commons.io.IOUtils; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider.java index 6c77108..e00570e 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl; +package cc.polyfrost.oneconfig.lwjgl; import org.lwjgl.opengl.GLContext; import org.lwjgl.system.FunctionProvider; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/RenderManager.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/RenderManager.java index 2bc09df..0ad1748 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/RenderManager.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/RenderManager.java @@ -1,11 +1,11 @@ -package io.polyfrost.oneconfig.lwjgl; - -import io.polyfrost.oneconfig.config.OneConfigConfig; -import io.polyfrost.oneconfig.lwjgl.font.FontManager; -import io.polyfrost.oneconfig.lwjgl.font.Fonts; -import io.polyfrost.oneconfig.lwjgl.image.Image; -import io.polyfrost.oneconfig.lwjgl.image.ImageLoader; -import io.polyfrost.oneconfig.lwjgl.image.Images; +package cc.polyfrost.oneconfig.lwjgl; + +import cc.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.lwjgl.font.FontManager; +import cc.polyfrost.oneconfig.lwjgl.font.Fonts; +import cc.polyfrost.oneconfig.lwjgl.image.Image; +import cc.polyfrost.oneconfig.lwjgl.image.ImageLoader; +import cc.polyfrost.oneconfig.lwjgl.image.Images; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.client.renderer.GlStateManager; @@ -183,7 +183,7 @@ public final class RenderManager { public static void drawImage(long vg, String filePath, float x, float y, float width, float height) { if (ImageLoader.INSTANCE.loadImage(vg, filePath)) { NVGPaint imagePaint = NVGPaint.calloc(); - Image image = ImageLoader.INSTANCE.getImage(filePath); + cc.polyfrost.oneconfig.lwjgl.image.Image image = ImageLoader.INSTANCE.getImage(filePath); nvgBeginPath(vg); nvgImagePattern(vg, x, y, width, height, 0, image.getReference(), 1, imagePaint); nvgRect(vg, x, y, width, height); diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/Scissor.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java index dcd570a..93e104e 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/Scissor.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl; +package cc.polyfrost.oneconfig.lwjgl; public class Scissor { public int x; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/ScissorManager.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/ScissorManager.java index 46d84b6..ee78eca 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/ScissorManager.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/ScissorManager.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl; +package cc.polyfrost.oneconfig.lwjgl; import org.lwjgl.nanovg.NanoVG; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/font/Font.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Font.java index f250a46..970c073 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/font/Font.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Font.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl.font; +package cc.polyfrost.oneconfig.lwjgl.font; import java.nio.ByteBuffer; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/font/FontManager.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/FontManager.java index 0ec2b87..0974019 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/font/FontManager.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/FontManager.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.lwjgl.font; +package cc.polyfrost.oneconfig.lwjgl.font; -import io.polyfrost.oneconfig.lwjgl.IOUtil; +import cc.polyfrost.oneconfig.lwjgl.IOUtil; import java.io.IOException; import java.nio.ByteBuffer; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/font/Fonts.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java index c60742a..aef639c 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/font/Fonts.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl.font; +package cc.polyfrost.oneconfig.lwjgl.font; public enum Fonts { INTER_BOLD(new Font("inter-bold", "/assets/oneconfig/font/Inter-Bold.otf")), diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/Image.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Image.java index b304624..2e63154 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/Image.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Image.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl.image; +package cc.polyfrost.oneconfig.lwjgl.image; import java.nio.ByteBuffer; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/ImageLoader.java index 1ccafaf..8e72828 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/ImageLoader.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.lwjgl.image; +package cc.polyfrost.oneconfig.lwjgl.image; -import io.polyfrost.oneconfig.lwjgl.IOUtil; +import cc.polyfrost.oneconfig.lwjgl.IOUtil; import org.lwjgl.nanovg.NanoVG; import org.lwjgl.stb.STBImage; diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/Images.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java index 58492bc..f5e4213 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/Images.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl.image; +package cc.polyfrost.oneconfig.lwjgl.image; public enum Images { CHEVRON_ARROW("/assets/oneconfig/textures/gui/general/arrows/chevron.png"), diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/plugin/ClassTransformer.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/plugin/ClassTransformer.java index 7dc0d49..c34f3b8 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/plugin/ClassTransformer.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/plugin/ClassTransformer.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl.plugin; +package cc.polyfrost.oneconfig.lwjgl.plugin; import net.minecraft.launchwrapper.IClassTransformer; import org.objectweb.asm.ClassReader; @@ -23,11 +23,11 @@ public class ClassTransformer implements IClassTransformer { InsnList list = new InsnList(); list.add(new VarInsnNode(Opcodes.LLOAD, 0)); - list.add(new TypeInsnNode(Opcodes.NEW, "io/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider")); + list.add(new TypeInsnNode(Opcodes.NEW, "cc/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider")); list.add(new InsnNode(Opcodes.DUP)); list.add(new MethodInsnNode( Opcodes.INVOKESPECIAL, - "io/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider", + "cc/polyfrost/oneconfig/lwjgl/Lwjgl2FunctionProvider", "<init>", "()V", false diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/plugin/LoadingPlugin.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/plugin/LoadingPlugin.java index b269a2a..b2ae799 100644 --- a/src/main/java/io/polyfrost/oneconfig/lwjgl/plugin/LoadingPlugin.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/plugin/LoadingPlugin.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.lwjgl.plugin; +package cc.polyfrost.oneconfig.lwjgl.plugin; import net.minecraft.launchwrapper.Launch; import net.minecraft.launchwrapper.LaunchClassLoader; @@ -27,7 +27,7 @@ public class LoadingPlugin implements IFMLLoadingPlugin { @Override public String[] getASMTransformerClass() { - return new String[]{"io.polyfrost.oneconfig.lwjgl.plugin.ClassTransformer"}; + return new String[]{"cc.polyfrost.oneconfig.lwjgl.plugin.ClassTransformer"}; } @Override diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java index 93043e9..b072f4c 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java +++ b/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java @@ -1,12 +1,12 @@ -package io.polyfrost.oneconfig.test; - -import io.polyfrost.oneconfig.config.annotations.ConfigPage; -import io.polyfrost.oneconfig.config.annotations.Option; -import io.polyfrost.oneconfig.config.data.Mod; -import io.polyfrost.oneconfig.config.data.ModType; -import io.polyfrost.oneconfig.config.data.OptionType; -import io.polyfrost.oneconfig.config.data.PageLocation; -import io.polyfrost.oneconfig.config.interfaces.Config; +package cc.polyfrost.oneconfig.test; + +import cc.polyfrost.oneconfig.config.annotations.ConfigPage; +import cc.polyfrost.oneconfig.config.annotations.Option; +import cc.polyfrost.oneconfig.config.data.Mod; +import cc.polyfrost.oneconfig.config.data.ModType; +import cc.polyfrost.oneconfig.config.data.OptionType; +import cc.polyfrost.oneconfig.config.data.PageLocation; +import cc.polyfrost.oneconfig.config.interfaces.Config; public class TestConfig extends Config { diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestHud.java b/src/main/java/cc/polyfrost/oneconfig/test/TestHud.java index 9008e3d..ccb7c6b 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestHud.java +++ b/src/main/java/cc/polyfrost/oneconfig/test/TestHud.java @@ -1,7 +1,7 @@ -package io.polyfrost.oneconfig.test; +package cc.polyfrost.oneconfig.test; -import io.polyfrost.oneconfig.hud.interfaces.BasicHud; -import io.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.hud.interfaces.BasicHud; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; import net.minecraft.client.Minecraft; public class TestHud extends BasicHud { diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java b/src/main/java/cc/polyfrost/oneconfig/test/TestNanoVGGui.java index bd77fb0..60cfe2f 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java +++ b/src/main/java/cc/polyfrost/oneconfig/test/TestNanoVGGui.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.test; +package cc.polyfrost.oneconfig.test; -import io.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; import net.minecraft.client.gui.GuiScreen; import java.awt.*; diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestPage.java b/src/main/java/cc/polyfrost/oneconfig/test/TestPage.java index 66deed8..c70610a 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestPage.java +++ b/src/main/java/cc/polyfrost/oneconfig/test/TestPage.java @@ -1,7 +1,7 @@ -package io.polyfrost.oneconfig.test; +package cc.polyfrost.oneconfig.test; -import io.polyfrost.oneconfig.config.annotations.Option; -import io.polyfrost.oneconfig.config.data.OptionType; +import cc.polyfrost.oneconfig.config.annotations.Option; +import cc.polyfrost.oneconfig.config.data.OptionType; public class TestPage { @Option( diff --git a/src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java b/src/main/java/cc/polyfrost/oneconfig/utils/ColorUtils.java index 499e59b..30f393e 100644 --- a/src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java +++ b/src/main/java/cc/polyfrost/oneconfig/utils/ColorUtils.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.utils; +package cc.polyfrost.oneconfig.utils; -import io.polyfrost.oneconfig.config.OneConfigConfig; +import cc.polyfrost.oneconfig.config.OneConfigConfig; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/io/polyfrost/oneconfig/utils/InputUtils.java b/src/main/java/cc/polyfrost/oneconfig/utils/InputUtils.java index 054da16..806f6de 100644 --- a/src/main/java/io/polyfrost/oneconfig/utils/InputUtils.java +++ b/src/main/java/cc/polyfrost/oneconfig/utils/InputUtils.java @@ -1,6 +1,6 @@ -package io.polyfrost.oneconfig.utils; +package cc.polyfrost.oneconfig.utils; -import io.polyfrost.oneconfig.gui.OneConfigGui; +import cc.polyfrost.oneconfig.gui.OneConfigGui; import net.minecraft.client.Minecraft; import org.lwjgl.input.Mouse; diff --git a/src/main/java/io/polyfrost/oneconfig/utils/MathUtils.java b/src/main/java/cc/polyfrost/oneconfig/utils/MathUtils.java index 1e4857f..2faec69 100644 --- a/src/main/java/io/polyfrost/oneconfig/utils/MathUtils.java +++ b/src/main/java/cc/polyfrost/oneconfig/utils/MathUtils.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.utils; +package cc.polyfrost.oneconfig.utils; public class MathUtils { public static float clamp(float number) { diff --git a/src/main/java/io/polyfrost/oneconfig/utils/TickDelay.java b/src/main/java/cc/polyfrost/oneconfig/utils/TickDelay.java index 0babff1..f467976 100644 --- a/src/main/java/io/polyfrost/oneconfig/utils/TickDelay.java +++ b/src/main/java/cc/polyfrost/oneconfig/utils/TickDelay.java @@ -1,4 +1,4 @@ -package io.polyfrost.oneconfig.utils; +package cc.polyfrost.oneconfig.utils; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; |