-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emotes are implemented as unicode characters from the Private Use Area, limited to 2048 unique emotes. Some of the FontRenderer's methods have been hooked into to implement custom rendering of those characters. Currently, twitch global, BetterTTV global & channel and FrankerFaceZ global & channel emotes are supported - both static & animated. (twitch channel emotes coming soon™) Emotes are downloaded when the game is loading, in the postInit phase and when the twitch client is started or a channel is joined. Emotes are cached in the `streamchatmod/emotes` directories in your minecraft directory. It is preferred to download emotes at load-time, since loading emotes while playing will make the game freeze for a couple seconds, as dynamic textures cannot be loaded in a non-main thread. Hovering over an emote in chat will show extended information about that emote. Rendering of each emote type can be toggled using `/twitch emote`. The amount of used emote slots is also shown there. Note that disabling emote rendering does NOT disable downloading & indexing of emotes!
- Loading branch information
1 parent
055a8fa
commit 25b13d4
Showing
22 changed files
with
1,627 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.