diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2023-09-23 21:36:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-23 13:36:29 +0200 |
commit | f617d59f1c52ad77f23ce28fb14bf44986e38ed1 (patch) | |
tree | 46d622e473a60ffe6d457cc426765f4213fbcb57 /src/main/java/at/hannibal2/skyhanni/mixins | |
parent | 9ff6418d5fc3c4c866cb98e31a9ff38d788d9f77 (diff) | |
download | skyhanni-f617d59f1c52ad77f23ce28fb14bf44986e38ed1.tar.gz skyhanni-f617d59f1c52ad77f23ce28fb14bf44986e38ed1.tar.bz2 skyhanni-f617d59f1c52ad77f23ce28fb14bf44986e38ed1.zip |
chat message changes #482
* add chat component functions
* reword + remove empty text
* remove type
* isPlayerMessage
* include the other stuff in the translator pr plus format
* Merge branch 'hannibal002:beta' into chat_component_stuff
* Merge remote-tracking branch 'origin/chat_component_stuff' into chat_…
* allow to work with priv messages + get ready for future
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/mixins')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/mixins/transformers/AccessorChatComponentText.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/transformers/AccessorChatComponentText.java b/src/main/java/at/hannibal2/skyhanni/mixins/transformers/AccessorChatComponentText.java new file mode 100644 index 000000000..70ce499d2 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/mixins/transformers/AccessorChatComponentText.java @@ -0,0 +1,14 @@ +package at.hannibal2.skyhanni.mixins.transformers; + +import net.minecraft.util.ChatComponentText; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.gen.Accessor; + +@Mixin(ChatComponentText.class) +public interface AccessorChatComponentText { + @Accessor("text") + void setText_skyhanni(String text); + + @Accessor("text") + String text_skyhanni(); +}
\ No newline at end of file |