diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java (renamed from src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/hook/GuiNewChatHook.java (renamed from src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/ChatLineMixin.java (renamed from src/main/java/cc/woverflow/chatting/mixin/ChatLineMixin.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/ClientCommandHandlerMixin.java (renamed from src/main/java/cc/woverflow/chatting/mixin/ClientCommandHandlerMixin.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/EntityPlayerSPMixin.java (renamed from src/main/java/cc/woverflow/chatting/mixin/EntityPlayerSPMixin.java) | 8 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiChatMixin.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java) | 20 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatAccessor.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatAccessor.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMapMixin.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMapMixin.java) | 4 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java) | 16 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatHeight.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatHeight.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatSearching.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatSearching.java) | 4 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatTabs.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatTabs.java) | 8 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_Scrolling.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java) | 8 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_SmoothMessages.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_SmoothMessages.java) | 14 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_TextRendering.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_TextRendering.java) | 4 | ||||
-rw-r--r-- | src/main/java/org/polyfrost/chatting/mixin/GuiUtilsMixin.java (renamed from src/main/java/cc/woverflow/chatting/mixin/GuiUtilsMixin.java) | 4 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/Chatting.kt (renamed from src/main/kotlin/cc/woverflow/chatting/Chatting.kt) | 26 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/chat/ChatRegexes.kt (renamed from src/main/kotlin/cc/woverflow/chatting/chat/ChatRegexes.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/chat/ChatScrollingHook.kt (renamed from src/main/kotlin/cc/woverflow/chatting/chat/ChatScrollingHook.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/chat/ChatSearchingManager.kt (renamed from src/main/kotlin/cc/woverflow/chatting/chat/ChatSearchingManager.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/chat/ChatShortcuts.kt (renamed from src/main/kotlin/cc/woverflow/chatting/chat/ChatShortcuts.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/chat/ChatSpamBlock.kt (renamed from src/main/kotlin/cc/woverflow/chatting/chat/ChatSpamBlock.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/chat/ChatTab.kt (renamed from src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/chat/ChatTabs.kt (renamed from src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt) | 6 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/chat/ChatTabsJson.kt (renamed from src/main/kotlin/cc/woverflow/chatting/chat/ChatTabsJson.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt (renamed from src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt) | 6 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt (renamed from src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt) | 16 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/gui/components/CleanButton.kt (renamed from src/main/kotlin/cc/woverflow/chatting/gui/components/CleanButton.kt) | 8 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/gui/components/ClearButton.kt (renamed from src/main/kotlin/cc/woverflow/chatting/gui/components/ClearButton.kt) | 4 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/gui/components/RenderType.kt (renamed from src/main/kotlin/cc/woverflow/chatting/gui/components/RenderType.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/gui/components/ScreenshotButton.kt (renamed from src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt) | 6 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/gui/components/SearchButton.kt (renamed from src/main/kotlin/cc/woverflow/chatting/gui/components/SearchButton.kt) | 6 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/gui/components/TabButton.kt (renamed from src/main/kotlin/cc/woverflow/chatting/gui/components/TabButton.kt) | 8 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/utils/EaseOutQuart.kt (renamed from src/main/kotlin/cc/woverflow/chatting/utils/EaseOutQuart.kt) | 2 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt (renamed from src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt) | 16 | ||||
-rw-r--r-- | src/main/kotlin/org/polyfrost/chatting/utils/RenderUtils.kt (renamed from src/main/kotlin/cc/woverflow/chatting/utils/RenderUtils.kt) | 4 | ||||
-rw-r--r-- | src/main/resources/mixins.chatting.json | 30 |
37 files changed, 137 insertions, 137 deletions
diff --git a/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java b/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java index 9460e0c..50b9ce3 100644 --- a/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java +++ b/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.hook; +package org.polyfrost.chatting.hook; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.network.NetworkPlayerInfo; diff --git a/src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java b/src/main/java/org/polyfrost/chatting/hook/GuiNewChatHook.java index 19da778..84097bd 100644 --- a/src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java +++ b/src/main/java/org/polyfrost/chatting/hook/GuiNewChatHook.java @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.hook; +package org.polyfrost.chatting.hook; import net.minecraft.client.gui.ChatLine; diff --git a/src/main/java/cc/woverflow/chatting/mixin/ChatLineMixin.java b/src/main/java/org/polyfrost/chatting/mixin/ChatLineMixin.java index beef37b..2e5f21c 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/ChatLineMixin.java +++ b/src/main/java/org/polyfrost/chatting/mixin/ChatLineMixin.java @@ -3,10 +3,10 @@ * See: https://github.com/dzwdz/chat_heads/blob/fabric-1.16.x/LICENSE */ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.config.ChattingConfig; -import cc.woverflow.chatting.hook.ChatLineHook; +import org.polyfrost.chatting.config.ChattingConfig; +import org.polyfrost.chatting.hook.ChatLineHook; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.network.NetHandlerPlayClient; diff --git a/src/main/java/cc/woverflow/chatting/mixin/ClientCommandHandlerMixin.java b/src/main/java/org/polyfrost/chatting/mixin/ClientCommandHandlerMixin.java index f771c87..ee63ed3 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/ClientCommandHandlerMixin.java +++ b/src/main/java/org/polyfrost/chatting/mixin/ClientCommandHandlerMixin.java @@ -1,7 +1,5 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.chat.ChatShortcuts; -import cc.woverflow.chatting.config.ChattingConfig; import kotlin.Pair; import net.minecraft.client.Minecraft; import net.minecraft.command.CommandHandler; @@ -9,6 +7,8 @@ import net.minecraft.command.ICommandSender; import net.minecraft.util.BlockPos; import net.minecraftforge.client.ClientCommandHandler; import net.minecraftforge.fml.client.FMLClientHandler; +import org.polyfrost.chatting.chat.ChatShortcuts; +import org.polyfrost.chatting.config.ChattingConfig; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Redirect; diff --git a/src/main/java/cc/woverflow/chatting/mixin/EntityPlayerSPMixin.java b/src/main/java/org/polyfrost/chatting/mixin/EntityPlayerSPMixin.java index fa125cb..d59d7f2 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/EntityPlayerSPMixin.java +++ b/src/main/java/org/polyfrost/chatting/mixin/EntityPlayerSPMixin.java @@ -1,12 +1,12 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.chat.ChatTab; -import cc.woverflow.chatting.chat.ChatTabs; -import cc.woverflow.chatting.config.ChattingConfig; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.client.network.NetHandlerPlayClient; import net.minecraft.network.Packet; import net.minecraft.network.play.client.C01PacketChatMessage; +import org.polyfrost.chatting.chat.ChatTab; +import org.polyfrost.chatting.chat.ChatTabs; +import org.polyfrost.chatting.config.ChattingConfig; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java b/src/main/java/org/polyfrost/chatting/mixin/GuiChatMixin.java index a12aea1..303326f 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiChatMixin.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiChatMixin.java @@ -1,13 +1,12 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.chat.*; -import cc.woverflow.chatting.config.ChattingConfig; -import cc.woverflow.chatting.gui.components.ClearButton; -import cc.woverflow.chatting.gui.components.ScreenshotButton; -import cc.woverflow.chatting.gui.components.SearchButton; -import cc.woverflow.chatting.hook.ChatLineHook; -import cc.woverflow.chatting.hook.GuiNewChatHook; -import cc.woverflow.chatting.utils.ModCompatHooks; +import org.polyfrost.chatting.chat.*; +import org.polyfrost.chatting.config.ChattingConfig; +import org.polyfrost.chatting.gui.components.ClearButton; +import org.polyfrost.chatting.gui.components.ScreenshotButton; +import org.polyfrost.chatting.gui.components.SearchButton; +import org.polyfrost.chatting.hook.ChatLineHook; +import org.polyfrost.chatting.hook.GuiNewChatHook; import com.google.common.collect.Lists; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ChatLine; @@ -18,6 +17,9 @@ import net.minecraft.util.MathHelper; import net.minecraftforge.fml.client.config.GuiUtils; import org.apache.commons.lang3.StringUtils; import org.lwjgl.input.Mouse; +import org.polyfrost.chatting.chat.ChatSearchingManager; +import org.polyfrost.chatting.chat.ChatShortcuts; +import org.polyfrost.chatting.utils.ModCompatHooks; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Unique; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatAccessor.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatAccessor.java index d4fd524..d0630ca 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatAccessor.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatAccessor.java @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.gui.GuiNewChat; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMapMixin.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMapMixin.java index 5b38bda..ca1c0df 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMapMixin.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMapMixin.java @@ -1,9 +1,9 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.hook.GuiNewChatHook; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.gui.GuiNewChat; import net.minecraft.util.IChatComponent; +import org.polyfrost.chatting.hook.GuiNewChatHook; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin.java index e0a3b56..bc90730 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin.java @@ -1,15 +1,13 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.polyfrost.oneconfig.config.core.OneColor; import cc.polyfrost.oneconfig.libs.universal.UMouse; import cc.polyfrost.oneconfig.utils.Notifications; -import cc.woverflow.chatting.Chatting; -import cc.woverflow.chatting.chat.ChatSearchingManager; -import cc.woverflow.chatting.config.ChattingConfig; -import cc.woverflow.chatting.gui.components.CleanButton; -import cc.woverflow.chatting.hook.GuiNewChatHook; -import cc.woverflow.chatting.utils.ModCompatHooks; -import cc.woverflow.chatting.utils.RenderUtils; +import org.polyfrost.chatting.Chatting; +import org.polyfrost.chatting.chat.ChatSearchingManager; +import org.polyfrost.chatting.config.ChattingConfig; +import org.polyfrost.chatting.hook.GuiNewChatHook; +import org.polyfrost.chatting.utils.ModCompatHooks; +import org.polyfrost.chatting.utils.RenderUtils; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.*; import net.minecraft.client.renderer.GlStateManager; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatHeight.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatHeight.java index d0b4db1..3b6d8b6 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatHeight.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatHeight.java @@ -1,8 +1,8 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.Chatting; -import cc.woverflow.chatting.config.ChattingConfig; import net.minecraft.client.gui.GuiNewChat; +import org.polyfrost.chatting.Chatting; +import org.polyfrost.chatting.config.ChattingConfig; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatSearching.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatSearching.java index b40ba52..f1ad3a4 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatSearching.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatSearching.java @@ -1,10 +1,10 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.chat.ChatSearchingManager; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.gui.GuiNewChat; import net.minecraft.util.IChatComponent; import org.objectweb.asm.Opcodes; +import org.polyfrost.chatting.chat.ChatSearchingManager; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatTabs.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatTabs.java index d21097d..c101e6d 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_ChatTabs.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_ChatTabs.java @@ -1,8 +1,8 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.chat.ChatTabs; -import cc.woverflow.chatting.config.ChattingConfig; -import cc.woverflow.chatting.utils.ModCompatHooks; +import org.polyfrost.chatting.chat.ChatTabs; +import org.polyfrost.chatting.config.ChattingConfig; +import org.polyfrost.chatting.utils.ModCompatHooks; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.gui.GuiNewChat; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_Scrolling.java index 448ba6e..9a5a871 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_Scrolling.java @@ -1,13 +1,13 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; import cc.polyfrost.oneconfig.gui.animations.EaseOutQuad; import cc.polyfrost.oneconfig.utils.MathUtils; -import cc.woverflow.chatting.Chatting; -import cc.woverflow.chatting.chat.ChatScrollingHook; -import cc.woverflow.chatting.config.ChattingConfig; +import org.polyfrost.chatting.chat.ChatScrollingHook; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiNewChat; +import org.polyfrost.chatting.Chatting; +import org.polyfrost.chatting.config.ChattingConfig; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_SmoothMessages.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_SmoothMessages.java index fa88145..28f2aa8 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_SmoothMessages.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_SmoothMessages.java @@ -1,11 +1,11 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.Chatting; -import cc.woverflow.chatting.chat.ChatSearchingManager; -import cc.woverflow.chatting.chat.ChatTabs; -import cc.woverflow.chatting.config.ChattingConfig; -import cc.woverflow.chatting.utils.EaseOutQuart; -import cc.woverflow.chatting.utils.ModCompatHooks; +import org.polyfrost.chatting.Chatting; +import org.polyfrost.chatting.chat.ChatSearchingManager; +import org.polyfrost.chatting.chat.ChatTabs; +import org.polyfrost.chatting.config.ChattingConfig; +import org.polyfrost.chatting.utils.EaseOutQuart; +import org.polyfrost.chatting.utils.ModCompatHooks; import net.minecraft.client.gui.GuiNewChat; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.util.EnumChatFormatting; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_TextRendering.java b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_TextRendering.java index f19db6f..aff102c 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_TextRendering.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin_TextRendering.java @@ -1,9 +1,9 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; -import cc.woverflow.chatting.utils.ModCompatHooks; import net.minecraft.client.gui.ChatLine; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.GuiNewChat; +import org.polyfrost.chatting.utils.ModCompatHooks; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Unique; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiUtilsMixin.java b/src/main/java/org/polyfrost/chatting/mixin/GuiUtilsMixin.java index d939d6b..1e2d0e6 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiUtilsMixin.java +++ b/src/main/java/org/polyfrost/chatting/mixin/GuiUtilsMixin.java @@ -1,9 +1,9 @@ -package cc.woverflow.chatting.mixin; +package org.polyfrost.chatting.mixin; import cc.polyfrost.oneconfig.renderer.TextRenderer; -import cc.woverflow.chatting.config.ChattingConfig; import net.minecraft.client.gui.FontRenderer; import net.minecraftforge.fml.client.config.GuiUtils; +import org.polyfrost.chatting.config.ChattingConfig; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt b/src/main/kotlin/org/polyfrost/chatting/Chatting.kt index 9452dcf..0e8745c 100644 --- a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt +++ b/src/main/kotlin/org/polyfrost/chatting/Chatting.kt @@ -1,4 +1,4 @@ -package cc.woverflow.chatting +package org.polyfrost.chatting import cc.polyfrost.oneconfig.libs.universal.UDesktop import cc.polyfrost.oneconfig.libs.universal.UMinecraft @@ -6,18 +6,16 @@ import cc.polyfrost.oneconfig.libs.universal.UResolution import cc.polyfrost.oneconfig.utils.Notifications import cc.polyfrost.oneconfig.utils.commands.CommandManager import cc.polyfrost.oneconfig.utils.dsl.browseLink -import cc.woverflow.chatting.chat.ChatSearchingManager -import cc.woverflow.chatting.chat.ChatShortcuts -import cc.woverflow.chatting.chat.ChatSpamBlock -import cc.woverflow.chatting.chat.ChatTabs -import cc.woverflow.chatting.command.ChattingCommand -import cc.woverflow.chatting.config.ChattingConfig -import cc.woverflow.chatting.hook.ChatLineHook -import cc.woverflow.chatting.mixin.GuiNewChatAccessor -import cc.woverflow.chatting.utils.ModCompatHooks -import cc.woverflow.chatting.utils.copyToClipboard -import cc.woverflow.chatting.utils.createBindFramebuffer -import cc.woverflow.chatting.utils.screenshot +import org.polyfrost.chatting.chat.ChatSearchingManager +import org.polyfrost.chatting.chat.ChatShortcuts +import org.polyfrost.chatting.chat.ChatSpamBlock +import org.polyfrost.chatting.chat.ChatTabs +import org.polyfrost.chatting.command.ChattingCommand +import org.polyfrost.chatting.config.ChattingConfig +import org.polyfrost.chatting.utils.ModCompatHooks +import org.polyfrost.chatting.utils.copyToClipboard +import org.polyfrost.chatting.utils.createBindFramebuffer +import org.polyfrost.chatting.utils.screenshot import net.minecraft.client.Minecraft import net.minecraft.client.gui.* import net.minecraft.client.renderer.GlStateManager @@ -36,6 +34,8 @@ import net.minecraftforge.fml.common.event.FMLPostInitializationEvent import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import net.minecraftforge.fml.common.gameevent.TickEvent import org.lwjgl.input.Keyboard +import org.polyfrost.chatting.hook.ChatLineHook +import org.polyfrost.chatting.mixin.GuiNewChatAccessor import java.awt.image.BufferedImage import java.io.File import java.text.SimpleDateFormat diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatRegexes.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatRegexes.kt index a0a8e86..0d6909e 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatRegexes.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatRegexes.kt @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.chat +package org.polyfrost.chatting.chat data class ChatRegexes(val regexList: List<String>?) { val compiledRegexList: MutableList<Regex> = arrayListOf() diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatScrollingHook.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatScrollingHook.kt index b81de94..982329a 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatScrollingHook.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatScrollingHook.kt @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.chat +package org.polyfrost.chatting.chat object ChatScrollingHook { var shouldSmooth = false diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatSearchingManager.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatSearchingManager.kt index 33a2642..d20a358 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatSearchingManager.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatSearchingManager.kt @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.chat +package org.polyfrost.chatting.chat import cc.polyfrost.oneconfig.libs.caffeine.cache.Cache import cc.polyfrost.oneconfig.libs.caffeine.cache.Caffeine diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatShortcuts.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatShortcuts.kt index ef1881d..0c85553 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatShortcuts.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatShortcuts.kt @@ -1,7 +1,7 @@ -package cc.woverflow.chatting.chat +package org.polyfrost.chatting.chat import cc.polyfrost.oneconfig.config.core.ConfigUtils -import cc.woverflow.chatting.Chatting +import org.polyfrost.chatting.Chatting import com.google.gson.JsonObject import com.google.gson.JsonParser import java.io.File diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatSpamBlock.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatSpamBlock.kt index 471eec8..da5dde8 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatSpamBlock.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatSpamBlock.kt @@ -1,6 +1,6 @@ -package cc.woverflow.chatting.chat +package org.polyfrost.chatting.chat -import cc.woverflow.chatting.config.ChattingConfig +import org.polyfrost.chatting.config.ChattingConfig import com.google.gson.JsonObject import com.google.gson.JsonParser import java.text.Normalizer diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatTab.kt index 50de1f4..bd65f11 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTab.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatTab.kt @@ -1,6 +1,6 @@ -package cc.woverflow.chatting.chat +package org.polyfrost.chatting.chat -import cc.woverflow.chatting.gui.components.TabButton +import org.polyfrost.chatting.gui.components.TabButton import com.google.gson.annotations.SerializedName import net.minecraft.client.Minecraft import net.minecraft.util.EnumChatFormatting diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatTabs.kt index 08423e5..b46f55d 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatTabs.kt @@ -1,8 +1,8 @@ -package cc.woverflow.chatting.chat +package org.polyfrost.chatting.chat import cc.polyfrost.oneconfig.config.core.ConfigUtils -import cc.woverflow.chatting.Chatting -import cc.woverflow.chatting.gui.components.TabButton +import org.polyfrost.chatting.Chatting +import org.polyfrost.chatting.gui.components.TabButton import com.google.gson.GsonBuilder import com.google.gson.JsonArray import com.google.gson.JsonObject diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabsJson.kt b/src/main/kotlin/org/polyfrost/chatting/chat/ChatTabsJson.kt index c632561..c5939c3 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabsJson.kt +++ b/src/main/kotlin/org/polyfrost/chatting/chat/ChatTabsJson.kt @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.chat +package org.polyfrost.chatting.chat import com.google.gson.JsonArray import com.google.gson.annotations.SerializedName diff --git a/src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt b/src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt index 7fcd4a8..86aff72 100644 --- a/src/main/kotlin/cc/woverflow/chatting/command/ChattingCommand.kt +++ b/src/main/kotlin/org/polyfrost/chatting/command/ChattingCommand.kt @@ -1,9 +1,9 @@ -package cc.woverflow.chatting.command +package org.polyfrost.chatting.command import cc.polyfrost.oneconfig.utils.commands.annotations.Command import cc.polyfrost.oneconfig.utils.commands.annotations.Main -import cc.woverflow.chatting.Chatting -import cc.woverflow.chatting.config.ChattingConfig +import org.polyfrost.chatting.Chatting +import org.polyfrost.chatting.config.ChattingConfig @Command(value = Chatting.ID, description = "Access the " + Chatting.NAME + " GUI.") class ChattingCommand { diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt index 711250f..0701471 100644 --- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt +++ b/src/main/kotlin/org/polyfrost/chatting/config/ChattingConfig.kt @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.config +package org.polyfrost.chatting.config import cc.polyfrost.oneconfig.config.Config import cc.polyfrost.oneconfig.config.annotations.* @@ -8,13 +8,13 @@ import cc.polyfrost.oneconfig.config.data.Mod import cc.polyfrost.oneconfig.config.data.ModType import cc.polyfrost.oneconfig.config.migration.VigilanceMigrator import cc.polyfrost.oneconfig.utils.hypixel.HypixelUtils -import cc.woverflow.chatting.Chatting -import cc.woverflow.chatting.chat.ChatShortcuts -import cc.woverflow.chatting.chat.ChatTab -import cc.woverflow.chatting.chat.ChatTabs -import cc.woverflow.chatting.gui.components.TabButton -import cc.woverflow.chatting.hook.ChatLineHook -import cc.woverflow.chatting.utils.ModCompatHooks +import org.polyfrost.chatting.Chatting +import org.polyfrost.chatting.chat.ChatShortcuts +import org.polyfrost.chatting.chat.ChatTab +import org.polyfrost.chatting.chat.ChatTabs +import org.polyfrost.chatting.gui.components.TabButton +import org.polyfrost.chatting.hook.ChatLineHook +import org.polyfrost.chatting.utils.ModCompatHooks import java.io.File object ChattingConfig : Config( diff --git a/src/main/kotlin/cc/woverflow/chatting/gui/components/CleanButton.kt b/src/main/kotlin/org/polyfrost/chatting/gui/components/CleanButton.kt index de590e6..d4c4acd 100644 --- a/src/main/kotlin/cc/woverflow/chatting/gui/components/CleanButton.kt +++ b/src/main/kotlin/org/polyfrost/chatting/gui/components/CleanButton.kt @@ -1,13 +1,13 @@ -package cc.woverflow.chatting.gui.components +package org.polyfrost.chatting.gui.components import cc.polyfrost.oneconfig.renderer.TextRenderer -import cc.woverflow.chatting.Chatting -import cc.woverflow.chatting.config.ChattingConfig -import cc.woverflow.chatting.hook.GuiNewChatHook +import org.polyfrost.chatting.Chatting +import org.polyfrost.chatting.config.ChattingConfig import club.sk1er.patcher.config.PatcherConfig import net.minecraft.client.Minecraft import net.minecraft.client.gui.GuiButton import net.minecraft.client.renderer.GlStateManager +import org.polyfrost.chatting.hook.GuiNewChatHook /** * Taken from ChatShortcuts under MIT License diff --git a/src/main/kotlin/cc/woverflow/chatting/gui/components/ClearButton.kt b/src/main/kotlin/org/polyfrost/chatting/gui/components/ClearButton.kt index 6ac3d34..535cfca 100644 --- a/src/main/kotlin/cc/woverflow/chatting/gui/components/ClearButton.kt +++ b/src/main/kotlin/org/polyfrost/chatting/gui/components/ClearButton.kt @@ -1,10 +1,10 @@ -package cc.woverflow.chatting.gui.components +package org.polyfrost.chatting.gui.components import cc.polyfrost.oneconfig.libs.universal.ChatColor import cc.polyfrost.oneconfig.libs.universal.UChat import cc.polyfrost.oneconfig.libs.universal.UResolution import cc.polyfrost.oneconfig.utils.Multithreading -import cc.woverflow.chatting.Chatting +import org.polyfrost.chatting.Chatting import net.minecraft.client.Minecraft import net.minecraft.client.gui.Gui import net.minecraft.client.renderer.GlStateManager diff --git a/src/main/kotlin/cc/woverflow/chatting/gui/components/RenderType.kt b/src/main/kotlin/org/polyfrost/chatting/gui/components/RenderType.kt index 8a56d5b..a150d64 100644 --- a/src/main/kotlin/cc/woverflow/chatting/gui/components/RenderType.kt +++ b/src/main/kotlin/org/polyfrost/chatting/gui/components/RenderType.kt @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.gui.components +package org.polyfrost.chatting.gui.components enum class RenderType { NONE, diff --git a/src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt b/src/main/kotlin/org/polyfrost/chatting/gui/components/ScreenshotButton.kt index 4f65427..d8da4ad 100644 --- a/src/main/kotlin/cc/woverflow/chatting/gui/components/ScreenshotButton.kt +++ b/src/main/kotlin/org/polyfrost/chatting/gui/components/ScreenshotButton.kt @@ -1,9 +1,9 @@ -package cc.woverflow.chatting.gui.components +package org.polyfrost.chatting.gui.components import cc.polyfrost.oneconfig.libs.universal.UResolution import cc.polyfrost.oneconfig.libs.universal.UScreen -import cc.woverflow.chatting.Chatting -import cc.woverflow.chatting.mixin.GuiNewChatAccessor +import org.polyfrost.chatting.Chatting +import org.polyfrost.chatting.mixin.GuiNewChatAccessor import net.minecraft.client.Minecraft import net.minecraft.client.gui.Gui import net.minecraft.client.gui.GuiChat diff --git a/src/main/kotlin/cc/woverflow/chatting/gui/components/SearchButton.kt b/src/main/kotlin/org/polyfrost/chatting/gui/components/SearchButton.kt index 54e9041..7981945 100644 --- a/src/main/kotlin/cc/woverflow/chatting/gui/components/SearchButton.kt +++ b/src/main/kotlin/org/polyfrost/chatting/gui/components/SearchButton.kt @@ -1,8 +1,8 @@ -package cc.woverflow.chatting.gui.components +package org.polyfrost.chatting.gui.components import cc.polyfrost.oneconfig.libs.universal.UResolution -import cc.woverflow.chatting.Chatting -import cc.woverflow.chatting.chat.ChatSearchingManager +import org.polyfrost.chatting.Chatting +import org.polyfrost.chatting.chat.ChatSearchingManager import net.minecraft.client.Minecraft import net.minecraft.client.gui.Gui import net.minecraft.client.gui.GuiTextField diff --git a/src/main/kotlin/cc/woverflow/chatting/gui/components/TabButton.kt b/src/main/kotlin/org/polyfrost/chatting/gui/components/TabButton.kt index e3b96f1..d0743c3 100644 --- a/src/main/kotlin/cc/woverflow/chatting/gui/components/TabButton.kt +++ b/src/main/kotlin/org/polyfrost/chatting/gui/components/TabButton.kt @@ -1,10 +1,10 @@ -package cc.woverflow.chatting.gui.components +package org.polyfrost.chatting.gui.components import cc.polyfrost.oneconfig.libs.universal.UKeyboard import cc.polyfrost.oneconfig.libs.universal.UResolution -import cc.woverflow.chatting.chat.ChatTab -import cc.woverflow.chatting.chat.ChatTabs -import cc.woverflow.chatting.config.ChattingConfig +import org.polyfrost.chatting.chat.ChatTab +import org.polyfrost.chatting.chat.ChatTabs +import org.polyfrost.chatting.config.ChattingConfig class TabButton(buttonId: Int, x: Int, widthIn: Int, heightIn: Int, private val chatTab: ChatTab) : CleanButton(buttonId, { x }, { diff --git a/src/main/kotlin/cc/woverflow/chatting/utils/EaseOutQuart.kt b/src/main/kotlin/org/polyfrost/chatting/utils/EaseOutQuart.kt index 7943b4d..4b6b7a5 100644 --- a/src/main/kotlin/cc/woverflow/chatting/utils/EaseOutQuart.kt +++ b/src/main/kotlin/org/polyfrost/chatting/utils/EaseOutQuart.kt @@ -1,4 +1,4 @@ -package cc.woverflow.chatting.utils +package org.polyfrost.chatting.utils import cc.polyfrost.oneconfig.gui.animations.Animation diff --git a/src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt b/src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt index 3c60c72..ad7d329 100644 --- a/src/main/kotlin/cc/woverflow/chatting/utils/ModCompatHooks.kt +++ b/src/main/kotlin/org/polyfrost/chatting/utils/ModCompatHooks.kt @@ -1,15 +1,13 @@ -package cc.woverflow.chatting.utils +package org.polyfrost.chatting.utils import cc.polyfrost.oneconfig.renderer.TextRenderer import cc.polyfrost.oneconfig.utils.dsl.getAlpha import cc.polyfrost.oneconfig.utils.dsl.mc -import cc.woverflow.chatting.Chatting.isBetterChat -import cc.woverflow.chatting.Chatting.isPatcher -import cc.woverflow.chatting.config.ChattingConfig.offsetNonPlayerMessages -import cc.woverflow.chatting.config.ChattingConfig.showChatHeads -import cc.woverflow.chatting.config.ChattingConfig.textRenderType -import cc.woverflow.chatting.hook.ChatLineHook -import cc.woverflow.chatting.hook.GuiNewChatHook +import org.polyfrost.chatting.Chatting.isBetterChat +import org.polyfrost.chatting.Chatting.isPatcher +import org.polyfrost.chatting.config.ChattingConfig.offsetNonPlayerMessages +import org.polyfrost.chatting.config.ChattingConfig.showChatHeads +import org.polyfrost.chatting.config.ChattingConfig.textRenderType import club.sk1er.patcher.config.PatcherConfig import com.llamalad7.betterchat.BetterChat import net.minecraft.client.Minecraft @@ -17,6 +15,8 @@ import net.minecraft.client.gui.ChatLine import net.minecraft.client.gui.FontRenderer import net.minecraft.client.gui.Gui import net.minecraft.client.renderer.GlStateManager +import org.polyfrost.chatting.hook.ChatLineHook +import org.polyfrost.chatting.hook.GuiNewChatHook // This exists because mixin doesn't like dummy classes object ModCompatHooks { diff --git a/src/main/kotlin/cc/woverflow/chatting/utils/RenderUtils.kt b/src/main/kotlin/org/polyfrost/chatting/utils/RenderUtils.kt index 12051cf..6eaa78b 100644 --- a/src/main/kotlin/cc/woverflow/chatting/utils/RenderUtils.kt +++ b/src/main/kotlin/org/polyfrost/chatting/utils/RenderUtils.kt @@ -1,9 +1,9 @@ @file:JvmName("RenderUtils") -package cc.woverflow.chatting.utils +package org.polyfrost.chatting.utils import cc.polyfrost.oneconfig.utils.IOUtils -import cc.woverflow.chatting.config.ChattingConfig +import org.polyfrost.chatting.config.ChattingConfig import net.minecraft.client.renderer.GlStateManager import net.minecraft.client.renderer.texture.TextureUtil import net.minecraft.client.shader.Framebuffer diff --git a/src/main/resources/mixins.chatting.json b/src/main/resources/mixins.chatting.json index 0473261..ce96f59 100644 --- a/src/main/resources/mixins.chatting.json +++ b/src/main/resources/mixins.chatting.json @@ -1,23 +1,23 @@ { "compatibilityLevel": "JAVA_8", "minVersion": "0.7", - "package": "cc.woverflow.chatting.mixin", + "package": "org.polyfrost.chatting.mixin", "refmap": "mixins.${id}.refmap.json", "verbose": true, "client": [ - "ChatLineMixin", - "ClientCommandHandlerMixin", - "EntityPlayerSPMixin", - "GuiChatMixin", - "GuiNewChatAccessor", - "GuiNewChatMapMixin", - "GuiNewChatMixin", - "GuiNewChatMixin_ChatHeight", - "GuiNewChatMixin_ChatSearching", - "GuiNewChatMixin_ChatTabs", - "GuiNewChatMixin_Scrolling", - "GuiNewChatMixin_SmoothMessages", - "GuiNewChatMixin_TextRendering", - "GuiUtilsMixin" + "ChatLineMixin", + "ClientCommandHandlerMixin", + "EntityPlayerSPMixin", + "GuiChatMixin", + "GuiNewChatAccessor", + "GuiNewChatMapMixin", + "GuiNewChatMixin", + "GuiNewChatMixin_ChatHeight", + "GuiNewChatMixin_ChatSearching", + "GuiNewChatMixin_ChatTabs", + "GuiNewChatMixin_Scrolling", + "GuiNewChatMixin_SmoothMessages", + "GuiNewChatMixin_TextRendering", + "GuiUtilsMixin" ] }
\ No newline at end of file |