aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/woverflow/chattils/mixin/GuiNewChatAccessor.java
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-01-01 22:11:34 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-01-01 22:11:34 +0700
commitcc4a11c7943d9036dc71679eaa531832cd2a2f0c (patch)
treeda242580d43fa6f26f0b0b04deab82c200a5bb16 /src/main/java/cc/woverflow/chattils/mixin/GuiNewChatAccessor.java
parent856df4d08d3c392b35f256966f6263da86fdb7ab (diff)
downloadChatting-cc4a11c7943d9036dc71679eaa531832cd2a2f0c.tar.gz
Chatting-cc4a11c7943d9036dc71679eaa531832cd2a2f0c.tar.bz2
Chatting-cc4a11c7943d9036dc71679eaa531832cd2a2f0c.zip
Chattils 1.0.0
Diffstat (limited to 'src/main/java/cc/woverflow/chattils/mixin/GuiNewChatAccessor.java')
-rw-r--r--src/main/java/cc/woverflow/chattils/mixin/GuiNewChatAccessor.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/cc/woverflow/chattils/mixin/GuiNewChatAccessor.java b/src/main/java/cc/woverflow/chattils/mixin/GuiNewChatAccessor.java
new file mode 100644
index 0000000..1bce77a
--- /dev/null
+++ b/src/main/java/cc/woverflow/chattils/mixin/GuiNewChatAccessor.java
@@ -0,0 +1,17 @@
+package cc.woverflow.chattils.mixin;
+
+import net.minecraft.client.gui.ChatLine;
+import net.minecraft.client.gui.GuiNewChat;
+import org.spongepowered.asm.mixin.Mixin;
+import org.spongepowered.asm.mixin.gen.Accessor;
+
+import java.util.List;
+
+@Mixin(GuiNewChat.class)
+public interface GuiNewChatAccessor {
+ @Accessor
+ List<ChatLine> getDrawnChatLines();
+
+ @Accessor
+ int getScrollPos();
+}