TwelveIterationMods / ChatTweaks

Minecraft Mod. Emoticons, Image Preview, Tabs and Filters. Client-side only.
https://mods.twelveiterations.com/mc/chat-tweaks/
MIT License
18 stars 10 forks source link

Twitch Emotes API is unavailable #82

Open nicklly opened 3 years ago

nicklly commented 3 years ago

at net.blay09.mods.chattweaks.chat.emotes.twitch public static void loadEmoteSets() throws Exception { JsonObject sets = CachedAPI.loadCachedAPI("https://twitchemotes.com/api_cache/v3/sets.json", "twitch_emotesets_v3.json", null); if (sets != null) for (Map.Entry<String, JsonElement> entry : (Iterable<Map.Entry<String, JsonElement>>)sets.entrySet()) emoteSets.func_76038_a(Integer.parseInt(entry.getKey()), ((JsonElement)entry.getValue()).getAsJsonObject().get("channel_name").getAsString()); }

Twitch Emotes API versions is v4, not v3.... hope can fix for all version

BlayTheNinth commented 3 years ago

I know, I can't keep updating all versions whenever a third party API changes. For 1.16+ I will put a stable proxy API in between (like I should have done from the beginning anyways) which will hopefully make releases more long-lived. #67

nicklly commented 3 years ago

I know, I can't keep updating all versions whenever a third party API changes. For 1.16+ I will put a stable proxy API in between (like I should have done from the beginning anyways) which will hopefully make releases more long-lived. #67

uh.. I need use this mod for 1.1.2.2 .... no 1.16+, how can I fix the problem?

BlayTheNinth commented 3 years ago

You can't, 1.12 is no longer supported

nicklly commented 3 years ago

You can't, 1.12 is no longer supported

okok thank you