Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Tool Text Replacer Mod | 1.12.2 Only

Discussion in 'Your Work' started by TheLMiffy1111, Aug 4, 2018.

Tags:
Thread Status:
Not open for further replies.
  1. TheLMiffy1111

    TheLMiffy1111 Previous Leader Of A Revived Wynn Community

    Messages:
    627
    Likes Received:
    826
    Trophy Points:
    146
    Guild:
    Minecraft:
    [Insert Header Art]
    An all-new addition to TheLMiffy1111's ever-growing Minecraft mod creations, I present to you,
    Text Replacer.
    (was that cliche)
    Text Replacer is a mod created to enable server text localization to be client-sided.
    The mod utilizes ASM to add hooks where text from servers would be received or rendered, and reads JSON files in resource packs for instructions to replace what text with which.

    The mod can currently replace:
    Chat
    Item Tooltip
    Book Text
    Entity Names
    Sign Text
    Titles
    Boss Bars
    Item Names
    Player List Entries

    To simplify the process of writing the JSON files, the mod also adds the feature of logging text-related info in, well, the output logs.

    Using the Chinese (Taiwan) quest translations for King's Recruit in the wiki and myself:
    Before:
    [​IMG]
    After:
    [​IMG]
    The Preview Resource Pack

    Note that the mod is currently in the alpha state.

    Planned features:
    Inventory Names
    Using a TextComponent JSON as match pattern

    No documentation yet because I wanted to get this mod out first and I am lazy. (it will come or this mod would be useless)

    Source code for TextEvents (the coremod part)
    Source code for TextReplacer
     
    Last edited: Aug 5, 2018
  2. Zelefant

    Zelefant wizard fortress will return one day HERO

    Messages:
    4,926
    Likes Received:
    7,929
    Trophy Points:
    215
    Guild:
    Minecraft:
    This could be very useful to people in other countries who do not speak English that well. Thank you!
     
  3. euouae

    euouae euouae VIP Item Team

    Messages:
    1,327
    Likes Received:
    2,431
    Trophy Points:
    151
    Guild:
    Minecraft:
    This is some good stuff, right here.
     
  4. (Meric)

    (Meric) No longer edgy

    Messages:
    3,194
    Likes Received:
    2,753
    Trophy Points:
    147
    Guild:
    Minecraft:
    Dang this is cool

    Great work!
     
  5. Jbip

    Jbip yea QA GM

    Messages:
    2,886
    Likes Received:
    8,839
    Trophy Points:
    207
    Creator Karma:
    Guild:
    Minecraft:
    So basically resource pack lang files into a mod
    This could be extremely useful, especially for Wynncraft, that's pretty cool.

    Nice job! Maybe we should copy the already made wiki translations on this. That'd be really cool.
     
    coolname2034 likes this.
  6. TheLMiffy1111

    TheLMiffy1111 Previous Leader Of A Revived Wynn Community

    Messages:
    627
    Likes Received:
    826
    Trophy Points:
    146
    Guild:
    Minecraft:
    The preview resource pack is now Chinese because I speak it
    Also source code is uploaded
     
  7. Nukewarmachine

    Nukewarmachine emerald tier above LE when VIP

    Messages:
    1,531
    Likes Received:
    3,984
    Trophy Points:
    162
    Guild:
    Minecraft:
    What would the boss bars look like?
     
  8. TheLMiffy1111

    TheLMiffy1111 Previous Leader Of A Revived Wynn Community

    Messages:
    627
    Likes Received:
    826
    Trophy Points:
    146
    Guild:
    Minecraft:
    hello bump
     
  9. aws404

    aws404 Wynn CMD VIP+

    Messages:
    296
    Likes Received:
    621
    Trophy Points:
    89
    Minecraft:
    Very Nice Idea!
     
  10. TheLMiffy1111

    TheLMiffy1111 Previous Leader Of A Revived Wynn Community

    Messages:
    627
    Likes Received:
    826
    Trophy Points:
    146
    Guild:
    Minecraft:
    just wanted to keep this visible so i have motivation to do docs
     
Thread Status:
Not open for further replies.